From 614b0cccfeb3f08aea0fdd90ca2d4b961f846a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mi=C4=85sko?= Date: Wed, 17 Feb 2021 00:00:00 +0000 Subject: [PATCH] Use -Ccodegen-units=1 to make issue-23458 test deterministic The test case fails with either one error or two errors. Use a single code generation unit to avoid nondeterminism. --- src/test/ui/issues/issue-23458.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/issues/issue-23458.rs b/src/test/ui/issues/issue-23458.rs index 423b19c3ebd..1762d218328 100644 --- a/src/test/ui/issues/issue-23458.rs +++ b/src/test/ui/issues/issue-23458.rs @@ -1,5 +1,5 @@ #![feature(llvm_asm)] - +// compile-flags: -Ccodegen-units=1 // build-fail // only-x86_64