From c49f9e8a16997d7dc4cad691a249741146101be0 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 23 Jun 2025 12:00:03 +0200 Subject: ExecutionService: Use LocalApi directly --- src/buildtool/serve_api/serve_service/serve_server_implementation.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/buildtool/serve_api/serve_service') diff --git a/src/buildtool/serve_api/serve_service/serve_server_implementation.cpp b/src/buildtool/serve_api/serve_service/serve_server_implementation.cpp index f8c391b6..e9905a6e 100644 --- a/src/buildtool/serve_api/serve_service/serve_server_implementation.cpp +++ b/src/buildtool/serve_api/serve_service/serve_server_implementation.cpp @@ -184,7 +184,9 @@ auto ServeServerImpl::Run( // the user has not given any remote-execution endpoint // so we start a "just-execute instance" on the same process [[maybe_unused]] ExecutionServiceImpl es{ - local_context, &*apis.local, op_exponent}; + local_context, + dynamic_cast(&*apis.local), + op_exponent}; [[maybe_unused]] ActionCacheServiceImpl ac{local_context}; [[maybe_unused]] CASServiceImpl cas{local_context}; [[maybe_unused]] BytestreamServiceImpl b{local_context}; -- cgit v1.2.3