about summary refs log tree commit diff
path: root/tests/incremental/thinlto
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2025-05-20 10:01:00 +0300
committerLaurențiu Nicola <lnicola@dend.ro>2025-05-20 10:01:00 +0300
commit50a6c5b78938c7cc8dd7cbe81d7364be9b3c5d00 (patch)
tree066ddbaa4a972566dccccaeac7d689d1393cd8d5 /tests/incremental/thinlto
parent1dafeea8cfe587aa55131709a46e21283faaeb20 (diff)
parenta8e4c68dcb4dc1e48a0db294c5323cab0227fcb9 (diff)
downloadrust-50a6c5b78938c7cc8dd7cbe81d7364be9b3c5d00.tar.gz
rust-50a6c5b78938c7cc8dd7cbe81d7364be9b3c5d00.zip
Merge from rust-lang/rust
Diffstat (limited to 'tests/incremental/thinlto')
-rw-r--r--tests/incremental/thinlto/cgu_keeps_identical_fn.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/incremental/thinlto/cgu_keeps_identical_fn.rs b/tests/incremental/thinlto/cgu_keeps_identical_fn.rs
index 5751759223b..d124a3498c4 100644
--- a/tests/incremental/thinlto/cgu_keeps_identical_fn.rs
+++ b/tests/incremental/thinlto/cgu_keeps_identical_fn.rs
@@ -33,12 +33,12 @@
 mod foo {
 
     // Trivial functions like this one are imported very reliably by ThinLTO.
-    #[cfg(any(cfail1, cfail4))]
+    #[cfg(cfail1)]
     pub fn inlined_fn() -> u32 {
         1234
     }
 
-    #[cfg(not(any(cfail1, cfail4)))]
+    #[cfg(not(cfail1))]
     pub fn inlined_fn() -> u32 {
         1234
     }