wasm32: Inline a trivial function in libstd
No need for this to actually show up in optimized non-LTO executables!
This commit is contained in:
parent
f6e9a6e41c
commit
49ec93586b
@ -405,6 +405,7 @@ mod platform {
|
||||
|
||||
#[cfg(not(target_feature = "atomics"))]
|
||||
mod lock {
|
||||
#[inline]
|
||||
pub fn lock() {} // no atomics, no threads, that's easy!
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user