Closed
Description
I ran ./x dist --target mips64-openwrt-linux-musl --host x86_64-unknown-linux-gnu
twice with slight different typos in the --host
argument. Unfortunately, this takes about half an hour to detect (stage2, LLVM builds) and changing the host seems to invalidate some of the build.
Bootstrap can't actually query rustc
for the target list, but it would be great if it could verify the triple string exists somewhere in compiler/rustc_target/src/spec/mod.rs
as a sanity check before kicking off a multistage build.
@rustbot label +T-bootstrap +E-easy -needs-triage