We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c88645 commit 7f3f04aCopy full SHA for 7f3f04a
src/wasm.rs
@@ -59,14 +59,17 @@ unsafe impl Allocator for System {
59
#[cfg(feature = "global")]
60
pub fn acquire_global_lock() {
61
// single threaded, no need!
62
+ assert!(!cfg!(target_feature = "atomics"));
63
}
64
65
66
pub fn release_global_lock() {
67
68
69
70
71
72
pub unsafe fn enable_alloc_after_fork() {
73
74
75
0 commit comments