Stream: git-wasmtime

Topic: wasmtime / PR #11875 Refactor `sync_nostd.rs` silghtly


view this post on Zulip Wasmtime GitHub notifications bot (Oct 16 2025 at 19:51):

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.c file to deduplicate the lazy init of pthread primitives notably for the rwlock implementation.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Oct 16 2025 at 19:51):

alexcrichton requested dicej for a review on PR #11875.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 16 2025 at 19:51):

alexcrichton requested wasmtime-core-reviewers for a review on PR #11875.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 16 2025 at 20:23):

dicej submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 16 2025 at 21:38):

alexcrichton updated PR #11875.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 16 2025 at 21:38):

alexcrichton has enabled auto merge for PR #11875.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 16 2025 at 22:16):

alexcrichton merged PR #11875.


Last updated: Dec 06 2025 at 06:05 UTC