Use a single codegen unit to reduce non-determinism in srcloc.rs test
When building with multiple codegen units the test case can fail with only a subset of all errors. Use a single codegen unit as a workaround.
This commit is contained in:
parent
61edfd591c
commit
addf680cbd
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// no-system-llvm
|
||||
// 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue