diff options
| author | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-24 18:16:10 -0500 |
|---|---|---|
| committer | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-25 14:17:45 -0500 |
| commit | b0921f8a0dc50f65ad561ca94da1c09dd5ee293b (patch) | |
| tree | 588d79e5aa684d3f5d0aea247134d2bc44d872c7 | |
| parent | 6e740ae9348508544f41076ea9c7f8b4c3848688 (diff) | |
| download | rust-b0921f8a0dc50f65ad561ca94da1c09dd5ee293b.tar.gz rust-b0921f8a0dc50f65ad561ca94da1c09dd5ee293b.zip | |
make tests work on noopt builder
| -rw-r--r-- | src/test/codegen/fastcall-inreg.rs | 2 | ||||
| -rw-r--r-- | src/test/codegen/repr-transparent-aggregates-1.rs | 2 | ||||
| -rw-r--r-- | src/test/codegen/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs | 2 | ||||
| -rw-r--r-- | src/test/codegen/union-abi.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/test/codegen/fastcall-inreg.rs b/src/test/codegen/fastcall-inreg.rs index ec7a6791592..f550ac11f64 100644 --- a/src/test/codegen/fastcall-inreg.rs +++ b/src/test/codegen/fastcall-inreg.rs @@ -2,7 +2,7 @@ // as "inreg" like the C/C++ compilers for the platforms. // x86 only. -// compile-flags: --target i686-unknown-linux-gnu -C no-prepopulate-passes +// compile-flags: --target i686-unknown-linux-gnu -O -C no-prepopulate-passes // needs-llvm-components: x86 #![crate_type = "lib"] diff --git a/src/test/codegen/repr-transparent-aggregates-1.rs b/src/test/codegen/repr-transparent-aggregates-1.rs index a61dad218cd..4ad3642c03d 100644 --- a/src/test/codegen/repr-transparent-aggregates-1.rs +++ b/src/test/codegen/repr-transparent-aggregates-1.rs @@ -1,4 +1,4 @@ -// compile-flags: -C no-prepopulate-passes +// compile-flags: -O -C no-prepopulate-passes // // ignore-arm diff --git a/src/test/codegen/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs b/src/test/codegen/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs index c67406ea693..faf81b5ae76 100644 --- a/src/test/codegen/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs +++ b/src/test/codegen/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs @@ -1,4 +1,4 @@ -// compile-flags: --target riscv64gc-unknown-linux-gnu -C no-prepopulate-passes +// compile-flags: --target riscv64gc-unknown-linux-gnu -O -C no-prepopulate-passes // needs-llvm-components: riscv #![crate_type = "lib"] diff --git a/src/test/codegen/union-abi.rs b/src/test/codegen/union-abi.rs index bb87d263bdf..99576a5f57e 100644 --- a/src/test/codegen/union-abi.rs +++ b/src/test/codegen/union-abi.rs @@ -1,5 +1,5 @@ // ignore-emscripten vectors passed directly -// compile-flags: -C no-prepopulate-passes +// compile-flags: -O -C no-prepopulate-passes // This test that using union forward the abi of the inner type, as // discussed in #54668 |
