Bug fixes

This commit is contained in:
Nick Cameron
2015-03-24 13:50:14 +13:00
parent e7122a5a09
commit 7e3ee02006
4 changed files with 3 additions and 25 deletions

View File

@@ -176,6 +176,7 @@ macro_rules! __thread_local_inner {
}
};
#[allow(trivial_casts)]
#[cfg(any(not(any(target_os = "macos", target_os = "linux")), target_arch = "aarch64"))]
const _INIT: ::std::thread::__local::__impl::KeyInner<$t> = {
::std::thread::__local::__impl::KeyInner {