Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ project : requirements <conditional>@native-upstream-diagnostic ;
webcpp.targets native wasip2 wasip3 emscripten ;

webcpp.run canonical_entry : entry_test.cpp : <library>/webcpp/cobalt//cobalt ;
webcpp.run legacy_entry : entry_test.cpp : <library>/webcpp/asio//cobalt
<include>../include ;
webcpp.run mixed_entry : entry_test.cpp : <library>/webcpp/asio//cobalt
<library>/webcpp/cobalt//cobalt ;
webcpp.run custom_main : custom_main_test.cpp : <library>/webcpp/cobalt//core ;

webcpp.original node : . ;
Expand Down
2 changes: 1 addition & 1 deletion test/entry_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Loading