make cfg_select a builtin macro

This commit is contained in:
Folkert de Vries
2025-07-04 23:56:16 +02:00
parent 1b0bc594a7
commit 3689b80b75
14 changed files with 299 additions and 52 deletions

View File

@@ -1,4 +1,3 @@
pub mod asm;
pub mod attr;
mod attr_wrapper;
mod diagnostics;
@@ -12,6 +11,11 @@ mod stmt;
pub mod token_type;
mod ty;
// Parsers for non-functionlike builtin macros are defined in rustc_parse so they can be used by
// both rustc_builtin_macros and rustfmt.
pub mod asm;
pub mod cfg_select;
use std::assert_matches::debug_assert_matches;
use std::{fmt, mem, slice};