Rollup merge of #42142 - ids1024:redox, r=aturon
Implement requires_synchronized_create() for Redox This was breaking the libstd build for Redox.
This commit is contained in:
commit
81b8e093fe
@ -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…
Reference in New Issue
Block a user