Fix test case. Needs no_mangle and aux-build

This commit is contained in:
Michael Neumann 2016-02-20 13:38:30 +01:00
parent 91648e283e
commit c2c58a398d
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,8 @@
// except according to those terms.
#![feature(thread_local)]
#![crate_type = "lib"]
#[no_mangle]
#[thread_local]
pub static FOO: u32 = 3;

View file

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// aux-build:thread-local-extern-static.rs
#![feature(thread_local)]
extern crate thread_local_extern_static;