mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
Implement requires_synchronized_create() for Redox
This was breaking the libstd build for Redox.
This commit is contained in:
@@ -64,3 +64,8 @@ pub unsafe fn set(key: Key, value: *mut u8) {
|
||||
pub unsafe fn destroy(key: Key) {
|
||||
keys().remove(&key);
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn requires_synchronized_create() -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user