Join test thread to make assertion effective in sym.rs test case
This commit is contained in:
parent
addf680cbd
commit
3d64f8d475
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue