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:
Mark Simulacrum 2017-05-24 19:50:03 -06:00 committed by GitHub
commit 81b8e093fe

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
}