diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-20 12:58:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-20 12:58:37 +0100 |
| commit | ebd0ef9a39cbec962ed246d523186a8b88ccb351 (patch) | |
| tree | f1f0292d0d26fc1a890820b1248ad9a7280775c4 /src/libstd/sys | |
| parent | fff8ae1aa80448c19b5b805355e55d95c6c86fb2 (diff) | |
| parent | ab6cb0197188f0c842d7dd2e378777f0bc0f6240 (diff) | |
| download | rust-ebd0ef9a39cbec962ed246d523186a8b88ccb351.tar.gz rust-ebd0ef9a39cbec962ed246d523186a8b88ccb351.zip | |
Rollup merge of #66553 - hermitcore:hermit, r=rkruppe
remove HermitCore leftovers from sys/unix HermitCore support is already moved to the directory "sys/hermit". => remove leftovers
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/fast_thread_local.rs | 2 |
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; |
