Implement requires_synchronized_create() for Redox

This was breaking the libstd build for Redox.
This commit is contained in:
Ian Douglas Scott 2017-05-21 13:23:42 -07:00
parent 14f30da613
commit f4147e587d
No known key found for this signature in database
GPG key ID: 4924E10E199B5959

View file

@ -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
}