提交 3d64f8d4 编写于 作者: T Tomasz Miąsko

Join test thread to make assertion effective in sym.rs test case

上级 addf680c
...@@ -76,5 +76,5 @@ fn main() { ...@@ -76,5 +76,5 @@ fn main() {
std::thread::spawn(|| { std::thread::spawn(|| {
assert_eq!(static_addr!(S1), &S1 as *const u32); assert_eq!(static_addr!(S1), &S1 as *const u32);
assert_eq!(static_tls_addr!(S2), &S2 as *const u32); assert_eq!(static_tls_addr!(S2), &S2 as *const u32);
}); }).join().unwrap();
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册