Skip to content

Commit

Permalink
Rollup merge of rust-lang#42142 - ids1024:redox, r=aturon
Browse files Browse the repository at this point in the history
Implement requires_synchronized_create() for Redox

This was breaking the libstd build for Redox.
  • Loading branch information
Mark-Simulacrum authored May 25, 2017
2 parents f60da49 + f4147e5 commit 096de2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libstd/sys/redox/thread_local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 096de2e

Please sign in to comment.