Skip to content

Commit

Permalink
Fix test case. Needs no_mangle and aux-build
Browse files Browse the repository at this point in the history
  • Loading branch information
mneumann committed Feb 20, 2016
1 parent 91648e2 commit c2c58a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/auxiliary/thread-local-extern-static.rs
Expand Up @@ -9,6 +9,8 @@
// except according to those terms.

#![feature(thread_local)]
#![crate_type = "lib"]

#[no_mangle]
#[thread_local]
pub static FOO: u32 = 3;
2 changes: 2 additions & 0 deletions src/test/run-pass/thread-local-extern-static.rs
Expand Up @@ -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;
Expand Down

0 comments on commit c2c58a3

Please sign in to comment.