From acb5ee2f843789c4e8d903a894edcf01dbfd0c23 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 30 Jan 2026 13:01:22 +0100 Subject: [PATCH] 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. --- tests/codegen-llvm/lib-optimizations/append-elements.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/codegen-llvm/lib-optimizations/append-elements.rs b/tests/codegen-llvm/lib-optimizations/append-elements.rs index b8657104d6653..5d7d746dbb6c1 100644 --- a/tests/codegen-llvm/lib-optimizations/append-elements.rs +++ b/tests/codegen-llvm/lib-optimizations/append-elements.rs @@ -1,6 +1,7 @@ //@ compile-flags: -O -Zmerge-functions=disabled //@ needs-deterministic-layouts //@ min-llvm-version: 21 +//@ ignore-std-debug-assertions (causes different value naming) #![crate_type = "lib"] //! Check that a temporary intermediate allocations can eliminated and replaced