You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(no_std)!: respect std feature when target is windows/unix (#11152)
* fix(no_std)!: respect `std` feature when target is windows/unix
BREAKING CHANGE: the fix disables standard features for dependents that use wasmtime with `default-features = false`.
* fix cargo check workflow
* Don't require `std` feature for invalid faults
Fill out the `compile_error!` to avoid failing a build.
* addressing review comments
* add `std` to `stack-switching` feature
* remove `rustix/mm` from `std` feature dependencies
* add `std` feature flag to `jit-icache-coherence`
- The `std` feature gates the use of standard library for icache coherence in Windows; otherwise, defaults to the `libc` implementation.
- The `std` feature of Wasmtime now depends on the `wasmtime-jit-icache-coherence/std`
* Only include jit-icache-coherence on `std` builds
prtest:full
* Fix some idiom issues
* More idiom issues
* Require `std` for loading native code
---------
Co-authored-by: Alex Crichton <[email protected]>
Copy file name to clipboardExpand all lines: crates/jit-icache-coherence/src/lib.rs
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -74,9 +74,7 @@
74
74
//!
75
75
//! [ARM Community - Caches and Self-Modifying Code]: https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/caches-and-self-modifying-code
0 commit comments