Enable tls test on MSVC Windows
This commit is contained in:
parent
7b83e16d5b
commit
51ac38190f
@ -698,7 +698,7 @@ struct PanicLocation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
#[cfg(not(windows))]
|
#[cfg(not(all(windows, target_env = "gnu")))]
|
||||||
pub fn get_tls() -> u8 {
|
pub fn get_tls() -> u8 {
|
||||||
#[thread_local]
|
#[thread_local]
|
||||||
static A: u8 = 42;
|
static A: u8 = 42;
|
||||||
|
@ -319,7 +319,7 @@ struct ExternTypeWrapper {
|
|||||||
|
|
||||||
from_decimal_string();
|
from_decimal_string();
|
||||||
|
|
||||||
#[cfg(not(any(jit, windows)))]
|
#[cfg(all(not(jit), not(all(windows, target_env = "gnu"))))]
|
||||||
test_tls();
|
test_tls();
|
||||||
|
|
||||||
#[cfg(all(not(jit), target_arch = "x86_64", any(target_os = "linux", target_os = "darwin")))]
|
#[cfg(all(not(jit), target_arch = "x86_64", any(target_os = "linux", target_os = "darwin")))]
|
||||||
|
Loading…
Reference in New Issue
Block a user