1
Fork 0
rust/compiler
Matthias Krüger 12a539f484
Rollup merge of #110668 - ehuss:fix-native-cpu-list, r=cuviper
Fix printing native CPU on cross-compiled compiler.

If `rustc` is cross-compiled from a different host, then the "native" entry in `rustc --print=target-cpus` would not appear. There is a check in the printing code that will avoid printing the "native" entry if the user has passed `--target`. However, that check was comparing the `--target` value with the `LLVM_TARGET_TRIPLE` which is the triple of the host that `rustc` was built on (the "build" target in Rust lingo), not the target it was being built for (the "host" in Rust lingo). This fixes it to use the target that LLVM was built for (which I'm pretty sure this is the correct function to determine that).

This fixes the cpu listing for aarch64-apple-darwin which is built on CI using the x86_64-apple-darwin host.
2023-04-23 20:06:32 +02:00
..
rustc fix link 2023-03-11 10:53:47 -06:00
rustc_abi Store hashes in special types so they aren't accidentally encoded as numbers 2023-04-18 10:52:47 -04:00
rustc_apfloat
rustc_arena Allow clippy::from_mut_ref 2023-04-09 22:29:56 +02:00
rustc_ast use P<[Ident]> instead of Vec<Ident> 2023-04-21 02:14:03 -07:00
rustc_ast_lowering offset_of 2023-04-21 02:14:02 -07:00
rustc_ast_passes Auto merge of #110407 - Nilstrieb:fluent-macro, r=davidtwco 2023-04-19 08:26:47 +00:00
rustc_ast_pretty minor tweaks 2023-04-21 02:14:04 -07:00
rustc_attr Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00
rustc_baked_icu_data update ICU4X to 1.1.0 2023-02-04 22:28:59 +01:00
rustc_borrowck Auto merge of #108118 - oli-obk:lazy_typeck, r=cjgillot 2023-04-23 13:34:31 +00:00
rustc_builtin_macros Auto merge of #109507 - Amanieu:panic-oom-payload, r=davidtwco 2023-04-22 12:27:45 +00:00
rustc_codegen_cranelift Auto merge of #109507 - Amanieu:panic-oom-payload, r=davidtwco 2023-04-22 12:27:45 +00:00
rustc_codegen_gcc Auto merge of #109507 - Amanieu:panic-oom-payload, r=davidtwco 2023-04-22 12:27:45 +00:00
rustc_codegen_llvm Auto merge of #109507 - Amanieu:panic-oom-payload, r=davidtwco 2023-04-22 12:27:45 +00:00
rustc_codegen_ssa Set debug location to debug operand spill. 2023-04-22 23:41:48 +02:00
rustc_const_eval Auto merge of #104844 - cjgillot:mention-eval-place, r=jackh726,RalfJung 2023-04-22 09:54:21 +00:00
rustc_data_structures deny(unsafe_op_in_unsafe_fn) in rustc_data_structures 2023-04-19 18:00:48 +00:00
rustc_driver
rustc_driver_impl Remove WithOptconstParam. 2023-04-20 17:48:32 +00:00
rustc_error_codes Spelling - compiler 2023-04-17 16:09:18 -04:00
rustc_error_messages Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00
rustc_errors Rollup merge of #110578 - bvanjoi:fix-issue-110547, r=jackh726 2023-04-21 06:44:30 +02:00
rustc_expand Auto merge of #109002 - michaelvanstraten:master, r=petrochenkov 2023-04-21 10:47:27 +00:00
rustc_feature Auto merge of #109507 - Amanieu:panic-oom-payload, r=davidtwco 2023-04-22 12:27:45 +00:00
rustc_fluent_macro Remove unused synstructure dep 2023-04-22 22:03:33 +01:00
rustc_fs_util Add try_canonicalize to rustc_fs_util and use it over fs::canonicalize 2023-03-16 21:50:23 +01:00
rustc_graphviz
rustc_hir offset_of 2023-04-21 02:14:02 -07:00
rustc_hir_analysis Allow LocalDefId as the argument to def_path_str 2023-04-21 22:27:20 +00:00
rustc_hir_pretty minor tweaks 2023-04-21 02:14:04 -07:00
rustc_hir_typeck Auto merge of #108118 - oli-obk:lazy_typeck, r=cjgillot 2023-04-23 13:34:31 +00:00
rustc_incremental Auto merge of #110407 - Nilstrieb:fluent-macro, r=davidtwco 2023-04-19 08:26:47 +00:00
rustc_index Don't allocate it IndexVec::remove 2023-04-18 12:55:54 +00:00
rustc_infer Auto merge of #109753 - compiler-errors:replenish-region-constraints, r=aliemjay 2023-04-22 15:15:51 +00:00
rustc_interface Auto merge of #108118 - oli-obk:lazy_typeck, r=cjgillot 2023-04-23 13:34:31 +00:00
rustc_lexer Revert "Don't recover lifetimes/labels containing emojis as character literals" 2023-04-10 06:52:41 +00:00
rustc_lint Rollup merge of #110545 - WaffleLapkin:generic_arg_as_x, r=cjgillot 2023-04-20 14:36:54 +02:00
rustc_lint_defs Spelling - compiler 2023-04-17 16:09:18 -04:00
rustc_llvm Rollup merge of #110668 - ehuss:fix-native-cpu-list, r=cuviper 2023-04-23 20:06:32 +02:00
rustc_log Stabilize IsTerminal 2023-04-10 17:24:23 +09:00
rustc_macros Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00
rustc_metadata Auto merge of #109507 - Amanieu:panic-oom-payload, r=davidtwco 2023-04-22 12:27:45 +00:00
rustc_middle Auto merge of #108118 - oli-obk:lazy_typeck, r=cjgillot 2023-04-23 13:34:31 +00:00
rustc_mir_build Auto merge of #108118 - oli-obk:lazy_typeck, r=cjgillot 2023-04-23 13:34:31 +00:00
rustc_mir_dataflow offset_of 2023-04-21 02:14:02 -07:00
rustc_mir_transform Auto merge of #110705 - saethlin:ignore-locals-cost, r=cjgillot 2023-04-23 15:41:45 +00:00
rustc_monomorphize Auto merge of #108118 - oli-obk:lazy_typeck, r=cjgillot 2023-04-23 13:34:31 +00:00
rustc_parse Auto merge of #110407 - Nilstrieb:fluent-macro, r=davidtwco 2023-04-19 08:26:47 +00:00
rustc_parse_format Fix typos in compiler 2023-04-10 22:02:52 +02:00
rustc_passes Auto merge of #108118 - oli-obk:lazy_typeck, r=cjgillot 2023-04-23 13:34:31 +00:00
rustc_plugin_impl Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00
rustc_privacy Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00
rustc_query_impl Rollup merge of #110632 - saethlin:panic-if-dep-graph-too-big, r=lcnr 2023-04-21 20:35:29 +05:30
rustc_query_system Add info for no_hash panic. 2023-04-20 18:56:12 +00:00
rustc_resolve Auto merge of #110648 - Dylan-DPC:rollup-em3ovcq, r=Dylan-DPC 2023-04-21 19:43:11 +00:00
rustc_serialize Remove f32 & f64 from MemDecoder/MemEncoder 2023-04-06 00:54:07 -07:00
rustc_session Auto merge of #109507 - Amanieu:panic-oom-payload, r=davidtwco 2023-04-22 12:27:45 +00:00
rustc_smir Add Call terminator to SMIR 2023-04-20 12:00:41 -03:00
rustc_span Auto merge of #110497 - cjgillot:span-ctxt, r=b-naber 2023-04-23 09:13:33 +00:00
rustc_symbol_mangling Allow LocalDefId as the argument to def_path_str 2023-04-21 22:27:20 +00:00
rustc_target Auto merge of #110666 - JohnTitor:rollup-3pwilte, r=JohnTitor 2023-04-22 05:35:08 +00:00
rustc_trait_selection Expect that equating a projection term always succeeds in new solver 2023-04-22 06:07:18 +00:00
rustc_traits Don't transmute &List<GenericArg> <-> &List<Ty> 2023-04-18 17:42:30 +00:00
rustc_transmute Erase regions when confirming transmutability candidate 2023-04-16 19:12:34 +00:00
rustc_ty_utils Auto merge of #106934 - DrMeepster:offset_of, r=WaffleLapkin 2023-04-22 00:10:44 +00:00
rustc_type_ir Print ty placeholders pretty 2023-04-22 01:19:28 +00:00