rust/compiler/rustc_session/src
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
..
config Rollup merge of #137072 - Urgau:check-cfg-load-builtins-at-once, r=Noratrieb 2025-02-16 17:14:04 +01:00
code_stats.rs Remove print_vtable_sizes 2025-01-30 15:30:04 +00:00
config.rs Make -O mean -C opt-level=3 2025-02-13 19:47:55 +00:00
cstore.rs Update comments 2024-12-19 15:30:32 +00:00
errors.rs Reject macro calls inside of #![crate_name] 2025-02-15 16:47:30 +01:00
filesearch.rs bumpt compiler and tools to windows 0.59 2025-01-21 16:48:44 +03:00
lib.rs Rollup merge of #136152 - Urgau:stabilize-map_many_mut, r=joshtriplett 2025-02-06 21:56:26 +01:00
options.rs Contracts core intrinsics. 2025-02-03 12:53:57 -08:00
output.rs Reject macro calls inside of #![crate_name] 2025-02-15 16:47:30 +01:00
parse.rs Stop using span hack for contracts feature gating 2025-02-10 19:51:26 +00:00
search_paths.rs Rustfmt 2025-02-08 22:12:13 +00:00
session.rs Emit an error if -Zdwarf-version=1 is requested 2025-02-09 10:05:13 -06:00
utils.rs remove a couple of redundant String to String conversion 2024-10-12 22:07:46 +02:00