mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Rollup merge of #83328 - tmiasko:asm-test, r=joshtriplett
Fixes to inline assmebly tests * Join test thread to make assertion effective in sym.rs test case * Use a single codegen unit to reduce non-determinism in srcloc.rs test #82886
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// min-llvm-version: 10.0.1
|
||||
// only-x86_64
|
||||
// build-fail
|
||||
|
||||
// compile-flags: -Ccodegen-units=1
|
||||
#![feature(asm)]
|
||||
|
||||
// Checks that inline asm errors are mapped to the correct line in the source code.
|
||||
|
||||
@@ -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