Open
Description
#![feature(thread_local)]
#[no_mangle]
#[thread_local]
pub static FOO: u32 = 3;
Does not compile on x86_64-pc-windows-msvc and x86_64-pc-windows-gnu, due to:
error: symbol `FOO` is already defined
--> lib.rs:5:1
|
5 | pub static FOO: u32 = 3;
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error
Found this while working on #134777