From 5d51c4aa89e563070aa244e0635139758d762f97 Mon Sep 17 00:00:00 2001 From: R Date: Sat, 14 Nov 2026 01:24:05 -0300 Subject: [PATCH] cobalt: drop the entry tests of the removed Asio name The tests legacy_entry and mixed_entry linked /webcpp/asio//cobalt, which Asio no longer declares. canonical_entry and custom_main still cover the runner and a custom main, and the superproject's cobalt_ownership_test checks that b2 finds none of the old names. --- AGENTS.md | 5 +++-- test/Jamfile | 4 ---- test/entry_test.cpp | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 43744ed..b48eda1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,8 +12,9 @@ commit `8b1cecba91d0e868ee0947b40fb04e3594680297`. Native identity, full compiled-core/runner selection and unpacked-source direct/CMake consumers have separate regression witnesses. Keep all of them: a header-only identity witness does not establish source-distribution support. -- Cobalt depends on Asio. Asio's core must never depend on Cobalt. The old Asio - and root Cobalt target names are compatibility aliases to this library. +- Cobalt depends on Asio. Asio's core must never depend on Cobalt. Cobalt's + targets have one name each, under `/webcpp/cobalt`: neither Asio nor the + superproject's root declares an alias to them. - Preserve correction provenance and regression witnesses while moving existing Wasm corrections into shipped sources. The former overlays are historical migration evidence, not a consumer build path. Native builds must not silently diff --git a/test/Jamfile b/test/Jamfile index f9020bf..cbb40f3 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -37,10 +37,6 @@ project : requirements @native-upstream-diagnostic ; webcpp.targets native wasip2 wasip3 emscripten ; webcpp.run canonical_entry : entry_test.cpp : /webcpp/cobalt//cobalt ; -webcpp.run legacy_entry : entry_test.cpp : /webcpp/asio//cobalt - ../include ; -webcpp.run mixed_entry : entry_test.cpp : /webcpp/asio//cobalt - /webcpp/cobalt//cobalt ; webcpp.run custom_main : custom_main_test.cpp : /webcpp/cobalt//core ; webcpp.original node : . ; diff --git a/test/entry_test.cpp b/test/entry_test.cpp index 7c3a951..ad2ca38 100644 --- a/test/entry_test.cpp +++ b/test/entry_test.cpp @@ -20,6 +20,6 @@ webcpp::cobalt::main co_main([[maybe_unused]] int argc, [[maybe_unused]] char** const auto [error] = co_await webcpp::cobalt::as_tuple(timer.async_wait(webcpp::cobalt::use_op)); BOOST_TEST(!error); - std::puts("cobalt: canonical and compatibility entry points agree"); + std::puts("cobalt: the runner enters co_main"); co_return webcpp::test::exit_status(boost::report_errors()); }