about summary refs log tree commit diff
path: root/tests/incremental/thinlto
diff options
context:
space:
mode:
authorOli Scherer <github35764891676564198441@oli-obk.de>2025-05-10 07:02:30 +0000
committerGitHub <noreply@github.com>2025-05-10 07:02:30 +0000
commitcbd4db0b7c680258e17517e31efc04b6afe22464 (patch)
treeb815913f2d6c42de19b550fd5f5941555789ab08 /tests/incremental/thinlto
parentc4cffcebbe36867241741143f1bfb5052d4d3271 (diff)
parenta4f765dcada7c37abfc3beda66b7823736b58ea6 (diff)
downloadrust-cbd4db0b7c680258e17517e31efc04b6afe22464.tar.gz
rust-cbd4db0b7c680258e17517e31efc04b6afe22464.zip
Merge pull request #4318 from rust-lang/rustup-2025-05-10
Automatic Rustup
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
     }