diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2025-05-20 10:01:00 +0300 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2025-05-20 10:01:00 +0300 |
| commit | 50a6c5b78938c7cc8dd7cbe81d7364be9b3c5d00 (patch) | |
| tree | 066ddbaa4a972566dccccaeac7d689d1393cd8d5 /tests/incremental/thinlto | |
| parent | 1dafeea8cfe587aa55131709a46e21283faaeb20 (diff) | |
| parent | a8e4c68dcb4dc1e48a0db294c5323cab0227fcb9 (diff) | |
| download | rust-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.rs | 4 |
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 } |
