rust/compiler/rustc_session
Matthias Krüger fc094a1813
Rollup merge of #137072 - Urgau:check-cfg-load-builtins-at-once, r=Noratrieb
Load all builtin targets at once instead of one by one in check-cfg

This PR adds a method on `rustc_target::Target` to load all the builtin targets at once, and then uses that method when constructing the `target_*` values in check-cfg instead of load loading each target one by one by their name, which requires a lookup and was more of a hack anyway.

This may give us some performance improvements as we won't need to do the lookup for the _currently_ 287 targets we have.
2025-02-16 17:14:04 +01:00
..
src Rollup merge of #137072 - Urgau:check-cfg-load-builtins-at-once, r=Noratrieb 2025-02-16 17:14:04 +01:00
Cargo.toml bumpt compiler and tools to windows 0.59 2025-01-21 16:48:44 +03:00
messages.ftl Reject macro calls inside of #![crate_name] 2025-02-15 16:47:30 +01:00