mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
512cc8d785
Port `#![crate_type]` to the attribute parser Tracking issue: https://github.com/rust-lang/rust/issues/131229 ~~Note that the actual parsing that is used in the compiler session is unchanged, as it must happen very early on; this just ports the validation logic.~~ Also added `// tidy-alphabetical-start` to `check_attr.rs` to make it a bit less conflict-prone
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.