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:
commit
14d0d51f6f
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue