about summary refs log tree commit diff
path: root/tests/incremental/thinlto
diff options
context:
space:
mode:
authorThe rustc-dev-guide Cronjob Bot <github-actions@github.com>2025-05-08 07:16:31 +0000
committerThe rustc-dev-guide Cronjob Bot <github-actions@github.com>2025-05-08 07:16:31 +0000
commit659f0b606d9a81e170ede192a5d6da5a66f30ce2 (patch)
tree19aff75dae78d83701cf7571aa9a65a6088154eb /tests/incremental/thinlto
parent046bfb3e8c7ff64ee4f9d1df515d39696dd999a1 (diff)
parent0de994a368e9225fab812a7295f9350285cd55d3 (diff)
downloadrust-659f0b606d9a81e170ede192a5d6da5a66f30ce2.tar.gz
rust-659f0b606d9a81e170ede192a5d6da5a66f30ce2.zip
Merge from rustc
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
     }