diff options
| author | bors <bors@rust-lang.org> | 2025-07-15 08:38:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-15 08:38:13 +0000 |
| commit | a9fb6103b05c6ad6eee6bed4c0bb5a2e8e1024c6 (patch) | |
| tree | 635bf7b454df9fe8fbb5d76d8f75102f59e33b6b /compiler/rustc_attr_parsing/src/lib.rs | |
| parent | 7f2065a4bae1faed5bab928c670964eafbf43b55 (diff) | |
| parent | 7a7c74ad89df9f87824fa17fbbe0448d9ab6f7cc (diff) | |
| download | rust-a9fb6103b05c6ad6eee6bed4c0bb5a2e8e1024c6.tar.gz rust-a9fb6103b05c6ad6eee6bed4c0bb5a2e8e1024c6.zip | |
Auto merge of #143460 - JonathanBrouwer:cfg_parser, r=jdonszelmann
Port `#[cfg]` to the new attribute parsing infrastructure Ports `#[cfg]` to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971353197 I've split this PR into commits for reviewability, and left some comments to clarify things
Diffstat (limited to 'compiler/rustc_attr_parsing/src/lib.rs')
| -rw-r--r-- | compiler/rustc_attr_parsing/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_attr_parsing/src/lib.rs b/compiler/rustc_attr_parsing/src/lib.rs index 47eeb63bad3..2102a26108b 100644 --- a/compiler/rustc_attr_parsing/src/lib.rs +++ b/compiler/rustc_attr_parsing/src/lib.rs @@ -90,7 +90,8 @@ mod lints; pub mod parser; mod session_diagnostics; -pub use attributes::cfg::*; +pub use attributes::cfg::{CFG_TEMPLATE, EvalConfigResult, eval_config_entry, parse_cfg_attr}; +pub use attributes::cfg_old::*; pub use attributes::util::{ find_crate_name, is_builtin_attr, is_doc_alias_attrs_contain_symbol, parse_version, }; |
