about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/liballoc_system/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc_system/lib.rs b/src/liballoc_system/lib.rs
index 15283036bb4..0e6887a5082 100644
--- a/src/liballoc_system/lib.rs
+++ b/src/liballoc_system/lib.rs
@@ -405,6 +405,7 @@ mod platform {
 
     #[cfg(not(target_feature = "atomics"))]
     mod lock {
+        #[inline]
         pub fn lock() {} // no atomics, no threads, that's easy!
     }
 }