| 3c46362e | 16-Oct-2025 |
Alex Crichton <[email protected]> |
Refactor `sync_nostd.rs` silghtly (#11875)
* Refactor `sync_nostd.rs` silghtly
Model the `#[cfg(has_custom_sync)]` distinction with modules rather than `#[cfg]` throughout the code. No fundamental
Refactor `sync_nostd.rs` silghtly (#11875)
* Refactor `sync_nostd.rs` silghtly
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.
* Fix unused import
show more ...
|