Implement requires_synchronized_create() for Redox
This was breaking the libstd build for Redox.
This commit is contained in:
parent
14f30da613
commit
f4147e587d
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue