Skip to content

Commit a93e9eb

Browse files
Rollup merge of #151859 - nikic:append-elements-test, r=the8472
Disable append-elements.rs test with debug assertions The IR is a bit different (in particular wrt naming) if debug-assertions-std is enabled. Peculiarly, the issue goes away if overflow-check-std is also enabled, which is why CI did not catch this. r? @the8472
2 parents b243d01 + acb5ee2 commit a93e9eb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/codegen-llvm/lib-optimizations/append-elements.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ compile-flags: -O -Zmerge-functions=disabled
22
//@ needs-deterministic-layouts
33
//@ min-llvm-version: 21
4+
//@ ignore-std-debug-assertions (causes different value naming)
45
#![crate_type = "lib"]
56

67
//! Check that a temporary intermediate allocations can eliminated and replaced

0 commit comments

Comments
 (0)