alexcrichton opened PR #11875 from alexcrichton:slight-refactor to bytecodealliance:main:
Model the
#[cfg(has_custom_sync)]distinction with modules rather than#[cfg]throughout the code. No fundamental change to the implementations here, just shuffling things around.Also refactor the
wasmtime-platform.cfile to deduplicate the lazy init of pthread primitives notably for the rwlock implementation.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested dicej for a review on PR #11875.
alexcrichton requested wasmtime-core-reviewers for a review on PR #11875.
dicej submitted PR review.
alexcrichton updated PR #11875.
alexcrichton has enabled auto merge for PR #11875.
alexcrichton merged PR #11875.
Last updated: Dec 06 2025 at 06:05 UTC