diff options
| author | Thalia Archibald <thalia@archibald.dev> | 2025-09-19 18:57:49 -0600 |
|---|---|---|
| committer | Thalia Archibald <thalia@archibald.dev> | 2025-09-19 19:18:10 -0600 |
| commit | db4d4eff56a38c7c1096e0cf76ee3bd523bade05 (patch) | |
| tree | 687ce3fda7c87442178ca60e34f83e888b3942bf | |
| parent | 776c199c7bb7a26f2578087c28ee7be4d8941097 (diff) | |
| download | rust-db4d4eff56a38c7c1096e0cf76ee3bd523bade05.tar.gz rust-db4d4eff56a38c7c1096e0cf76ee3bd523bade05.zip | |
Update cfg_if! to cfg_select!
The macro is now builtin.
| -rw-r--r-- | library/std/src/sys/env_consts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/env_consts.rs b/library/std/src/sys/env_consts.rs index 9683fd47cf9..711ba0a5f8a 100644 --- a/library/std/src/sys/env_consts.rs +++ b/library/std/src/sys/env_consts.rs @@ -2,7 +2,7 @@ // Replaces the #[else] gate with #[cfg(not(any(…)))] of all the other gates. // This ensures that they must be mutually exclusive and do not have precedence -// like cfg_if!. +// like cfg_select!. macro cfg_unordered( $(#[cfg($cfg:meta)] $os:item)* #[else] $fallback:item |
