38 async::Loop loop(&kAsyncLoopConfigAttachToCurrentThread);
41 fuchsia_logging::LogSettingsBuilder()
43 .WithDispatcher(loop.dispatcher())
44 .BuildAndInitialize();
47 auto context = sys::ComponentContext::Create();
52 dart::SetDartVmNode(std::make_unique<inspect::Node>(
55 std::unique_ptr<trace::TraceProviderWithFdio> provider;
59 trace::TraceProviderWithFdio::CreateSynchronously(
60 loop.dispatcher(),
"dart_runner", &provider, &already_started);
63#if !defined(DART_PRODUCT)
64#if defined(AOT_RUNTIME)
74 context->outgoing()->ServeFromStartupInfo();