about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-28 04:16:05 +0000
committerbors <bors@rust-lang.org>2024-04-28 04:16:05 +0000
commit6c90ac8d8f4489472720fce03c338cd5d0977f33 (patch)
treed8fe94de80bc2fde7359e11cf8106b902bf8b86f /compiler/rustc_codegen_gcc/example/example.rs
parent2207179a591f5f252885a94ab014dafeb6e8e9e8 (diff)
parent09c076810cb7649e5817f316215010d49e78e8d7 (diff)
downloadrust-6c90ac8d8f4489472720fce03c338cd5d0977f33.tar.gz
rust-6c90ac8d8f4489472720fce03c338cd5d0977f33.zip
Auto merge of #123546 - Rajveer100:branch-for-issue-122128, r=onur-ozkan
Bootstrap: Check validity of `--target` and `--host` triples before starting a build

Resolves #122128

As described in the issue, validating the `target` and `host` triples would save a lot of time before actually starting a build. This would also check for custom targets by looking for a valid JSON spec if the specified target does not exist in the [supported](https://github.com/rust-lang/rust/blob/42825768b103c28b10ce0407749acb21d32abeec/compiler/rustc_target/src/spec/mod.rs#L1401-L1689) list of targets.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions