Skip to content

Commit f4147e5

Browse files
committed
Implement requires_synchronized_create() for Redox
This was breaking the libstd build for Redox.
1 parent 14f30da commit f4147e5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libstd/sys/redox/thread_local.rs

+5
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,8 @@ pub unsafe fn set(key: Key, value: *mut u8) {
6464
pub unsafe fn destroy(key: Key) {
6565
keys().remove(&key);
6666
}
67+
68+
#[inline]
69+
pub fn requires_synchronized_create() -> bool {
70+
false
71+
}

0 commit comments

Comments
 (0)