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
9 changes: 0 additions & 9 deletions build.jam
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@ alias asio : : : : <include>include <library>/boost//headers
<toolset>emscripten:<tag>@webcpp%suspend-tag ;
# end::asio[]

# Compatibility names retain the independent Cobalt integration.
# tag::cobalt[]
alias cobalt : : : : <library>/webcpp/cobalt//cobalt ;
# end::cobalt[]

# tag::openssl[]
rule openssl-linked ( properties * )
{
Expand Down Expand Up @@ -135,7 +130,3 @@ explicit openssl-tests ;
alias tls : : : : <library>asio <library>openssl
<library>/webcpp/third_party//ca_certificates ;
# end::tls[]

# tag::cobalt-ssl[]
alias cobalt_ssl : : : : <library>/webcpp/cobalt//cobalt_ssl ;
# end::cobalt-ssl[]
2 changes: 1 addition & 1 deletion doc/capabilities.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ suspend through wasi-libc and the host's Component Model implementation.
The public Cobalt target builds its static archive with checked compatibility
headers and sources on WASIp3. Timers, TCP/UDP and cancellation are exercised
through both Asio completion tokens and Cobalt's own wrappers. The optional
`/webcpp/asio//cobalt_ssl` target adds Cobalt's SSL wrapper with verified TLS
`/webcpp/cobalt//cobalt_ssl` target adds Cobalt's SSL wrapper with verified TLS
and handshake/transfer cancellation, including partial composed operations.
Truncated and cancelled shutdown are also tested; see <<asio-cobalt-ssl>>. See
<<asio-feature-cobalt-build-block>> for integration details and
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Changes prepared for the first WebCPP release.
=== Unreleased

// tag::unreleased[]
* *Breaking change:* Removed `/webcpp/asio//cobalt` and `cobalt_ssl`; link `/webcpp/cobalt//cobalt` or `cobalt_ssl`.
* Fixed browser turn budgets across timer waits so worker proxy messages can run.
* Fixed browser and WASIp2 timer test dependencies and the unbounded backend control.
* Improved exception analysis of system executor initialization without changing fatal behavior.
Expand Down
7 changes: 3 additions & 4 deletions doc/cobalt.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ application still writes `co_main`; the runner owns `main`.

Select `/webcpp/cobalt//cobalt` for an application defining `co_main`, or
`/webcpp/cobalt//core` when the application supplies `main` and drives its own
context. The old `/webcpp/asio//cobalt` name is a compatibility alias. Do not
also link a system Cobalt archive or another runner.
context. Asio declares no Cobalt target of its own. Do not also link a system
Cobalt archive or another runner.

The link:{webcpp-libs}/cobalt/{webcpp-page}#cobalt-building-external[external build recipe]
lists the shipped sources and dependencies for another build system. Apply
Expand All @@ -41,8 +41,7 @@ error handling does not repair that pending-coroutine move path.
=== Use the corrected SSL stream

Include `webcpp/cobalt/io/ssl.hpp`. Select `/webcpp/cobalt//cobalt_ssl` with the
runner or `/webcpp/cobalt//io_ssl` with a custom main. The old
`/webcpp/asio//cobalt_ssl` name is a compatibility alias. These optional targets
runner or `/webcpp/cobalt//io_ssl` with a custom main. These optional targets
share Asio's source-built OpenSSL and CA provider; plain Cobalt does not link TLS.
Browser HTTPS/WSS instead uses host TLS and its certificate policy.

Expand Down
10 changes: 5 additions & 5 deletions doc/feature-matrix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The 2026-11-06 distribution migration changes type selection and source ownershi
The cells below retain their original evidence date; they do not certify the
current unsubmitted candidate. Use <<asio-distribution>> for current build rules
and link:{webcpp-libs}/cobalt/{webcpp-page}#cobalt-testing[Cobalt's current validation status].
The old `/webcpp/asio//cobalt` target is now a compatibility alias for
`/webcpp/cobalt//cobalt`. Portable consumers use `webcpp::cobalt` names.
Cobalt is linked through `/webcpp/cobalt//cobalt`; Asio declares no Cobalt
target. Portable consumers use `webcpp::cobalt` names.
Do not infer that an Asio feature has also been tested through a Cobalt wrapper
or completion token.

Expand Down Expand Up @@ -312,7 +312,7 @@ EH-off APIs does not establish universal exception-free safety. The thread
coroutine also has internal exception-handling paths that require a dedicated
failure-path audit without EH. Native I/O rows are subject to the OS and Boost
feature macros. Cobalt's SSL wrapper is supplied by the optional
`/webcpp/asio//cobalt_ssl` target; plain Cobalt remains independent of OpenSSL.
`/webcpp/cobalt//cobalt_ssl` target; plain Cobalt remains independent of OpenSSL.

The M thread test creates a Cobalt thread coroutine and awaits its completion.
It does not establish correctness of arbitrary concurrent coroutine composition.
Expand Down Expand Up @@ -389,7 +389,7 @@ policy remain application/runtime requirements.
[#asio-feature-cobalt-wasip3]
==== Cobalt: WASIp3

The public dependency `/webcpp/asio//cobalt` builds and runs in all three
The public dependency `/webcpp/cobalt//cobalt` builds and runs in all three
available profiles. M/EH on remains X because SDK 34.0 lacks that runtime.
EH-off tests do not remove the pending-task move restriction in issue 287.

Expand Down Expand Up @@ -526,7 +526,7 @@ Result adapters do not repair this internal path. Other coroutine families
still need their own success, error and cancellation tests.
| Cobalt `io::ssl::stream`
| Available through an optional target with a checked Boost 1.92 patch
| `/webcpp/asio//cobalt_ssl` adds the wrapper, state/callback corrections and
| `/webcpp/cobalt//cobalt_ssl` adds the wrapper, state/callback corrections and
`native_ssl_handle()` extension. Native, P2 S and supported P3 profiles are
available; browser TLS remains host-owned. See
<<asio-cobalt-ssl>> for trust configuration and the STARTTLS contract.
Expand Down
Loading