about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStefan Lankes <slankes@eonerc.rwth-aachen.de>2019-11-19 20:43:06 +0100
committerStefan Lankes <slankes@eonerc.rwth-aachen.de>2019-11-19 20:43:06 +0100
commitab6cb0197188f0c842d7dd2e378777f0bc0f6240 (patch)
tree4fd3521252dbdde3399654e1fee8a625a59cc0da
parent88717319142e162ae2f48124d94f33d2c21bc2ce (diff)
downloadrust-ab6cb0197188f0c842d7dd2e378777f0bc0f6240.tar.gz
rust-ab6cb0197188f0c842d7dd2e378777f0bc0f6240.zip
HermitCore support is moved to sys/hermit, remove obsolete statement in sys/unix
-rw-r--r--src/libstd/sys/unix/fast_thread_local.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/fast_thread_local.rs b/src/libstd/sys/unix/fast_thread_local.rs
index d7e733b7fa0..7d718032ef6 100644
--- a/src/libstd/sys/unix/fast_thread_local.rs
+++ b/src/libstd/sys/unix/fast_thread_local.rs
@@ -10,7 +10,7 @@
 // fallback implementation to use as well.
 //
 // Due to rust-lang/rust#18804, make sure this is not generic!
-#[cfg(any(target_os = "linux", target_os = "fuchsia", target_os = "hermit", target_os = "redox",
+#[cfg(any(target_os = "linux", target_os = "fuchsia", target_os = "redox",
           target_os = "emscripten"))]
 pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern fn(*mut u8)) {
     use crate::mem;