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:
Alex Crichton 2018-10-28 08:26:01 -07:00
parent f6e9a6e41c
commit 49ec93586b

View File

@ -405,6 +405,7 @@ mod platform {
#[cfg(not(target_feature = "atomics"))]
mod lock {
#[inline]
pub fn lock() {} // no atomics, no threads, that's easy!
}
}