Skip to content

Commit

Permalink
Join test thread to make assertion effective in sym.rs test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiasko committed Mar 20, 2021
1 parent addf680 commit 3d64f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/asm/sym.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

0 comments on commit 3d64f8d

Please sign in to comment.