mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Join test thread to make assertion effective in sym.rs test case
This commit is contained in:
@@ -76,5 +76,5 @@ fn main() {
|
||||
std::thread::spawn(|| {
|
||||
assert_eq!(static_addr!(S1), &S1 as *const u32);
|
||||
assert_eq!(static_tls_addr!(S2), &S2 as *const u32);
|
||||
});
|
||||
}).join().unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user