diff options
| author | tyler <tyler@brainiumstudios.com> | 2019-04-30 18:24:38 -0700 |
|---|---|---|
| committer | tyler <tyler@brainiumstudios.com> | 2019-05-15 07:30:33 -0700 |
| commit | 7acfb99adc013d4b77c611cfc51bade551205f5a (patch) | |
| tree | 59461cea814349005ab153ae4ebb218f0b9441eb /src/libstd/sys/windows | |
| parent | 430a091cd80c0e4b6bf44f6a19463a832e566f97 (diff) | |
| download | rust-7acfb99adc013d4b77c611cfc51bade551205f5a.tar.gz rust-7acfb99adc013d4b77c611cfc51bade551205f5a.zip | |
Revert "ensure fast thread local lookups occur once per access on macos"
This reverts commit d252f3b77f3b7d4cd59620588f9d026633c05816.
Diffstat (limited to 'src/libstd/sys/windows')
| -rw-r--r-- | src/libstd/sys/windows/fast_thread_local.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstd/sys/windows/fast_thread_local.rs b/src/libstd/sys/windows/fast_thread_local.rs index 566d5524fd7..31d0bd1e72e 100644 --- a/src/libstd/sys/windows/fast_thread_local.rs +++ b/src/libstd/sys/windows/fast_thread_local.rs @@ -2,7 +2,3 @@ #![cfg(target_thread_local)] pub use crate::sys_common::thread_local::register_dtor_fallback as register_dtor; - -pub unsafe fn lookup_once<T>(ptr: *const &T) -> &T { - *ptr -} |
