badeend requested wasmtime-wasi-reviewers for a review on PR #12780.
badeend opened PR #12780 from badeend:merge-wasi-tls-crates to bytecodealliance:main:
This PR combines the wasi-tls crates back into a single crate with feature flags.
The current setup was never the desired state, but was a workaround to make CI work back when
nativetlssupport was first added:Hm ok so this is actually going to be kind of tricky. We test crates in CI with
--all-featuresbut we also test cross-compilations to various architectures, and native-tls on Linux wants OpenSSL which wants a system copy by default which isn't present for cross-compiled variants.
(..) we wouldn't test native-tls by default and we'd instead have a dedicated job for just testin native-tls, but with--all-featuresthat's not easy :(In this PR I work around the cross-compilation issue by simply not testing
wasi-tlsinrun-tests.pyat all. Testingwasi-tlsis now handled by a dedicated CI job.This change effectively abandons the
wasmtime-wasi-tls-nativetls&wasmtime-wasi-tls-opensslcrates on crates.io. Don't know if this need to be communicated somehow?
badeend requested alexcrichton for a review on PR #12780.
badeend requested wasmtime-default-reviewers for a review on PR #12780.
badeend edited PR #12780:
This PR combines the wasi-tls crates back into a single crate with feature flags.
The current setup was never the desired state, but was a workaround to make CI work back when
nativetlssupport was first added:Hm ok so this is actually going to be kind of tricky. We test crates in CI with
--all-featuresbut we also test cross-compilations to various architectures, and native-tls on Linux wants OpenSSL which wants a system copy by default which isn't present for cross-compiled variants.
(..) ideally we wouldn't test native-tls by default and we'd instead have a dedicated job for just testin native-tls, but with--all-featuresthat's not easy :(In this PR I work around the cross-compilation issue by simply not testing
wasi-tlsinrun-tests.pyat all. Testingwasi-tlsis now handled by a dedicated CI job.This change effectively abandons the
wasmtime-wasi-tls-nativetls&wasmtime-wasi-tls-opensslcrates on crates.io. Don't know if this need to be communicated somehow?
badeend updated PR #12780.
alexcrichton submitted PR review:
Thanks!
alexcrichton added PR #12780 Merge the wasi-tls crates into a single one with feature flags to the merge queue.
alexcrichton commented on PR #12780:
Don't know if this need to be communicated somehow?
Nah that's fine, these join a few other fringe crates of "in the wasmtime namespace and now abandoned"
alexcrichton merged PR #12780.
alexcrichton removed PR #12780 Merge the wasi-tls crates into a single one with feature flags from the merge queue.
Last updated: Mar 23 2026 at 16:19 UTC