Skip to content

Commit

Permalink
Use -Ccodegen-units=1 to make issue-23458 test deterministic
Browse files Browse the repository at this point in the history
The test case fails with either one error or two errors.
Use a single code generation unit to avoid nondeterminism.
  • Loading branch information
tmiasko committed Feb 17, 2021
1 parent e190f0d commit 614b0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-23458.rs
@@ -1,5 +1,5 @@
#![feature(llvm_asm)]

// compile-flags: -Ccodegen-units=1
// build-fail
// only-x86_64

Expand Down

0 comments on commit 614b0cc

Please sign in to comment.