Closed
Description
I tried this code:
x build rustc_codegen_cranelift
I expected this to happen: Bootstrap builds cranelift, since I named it explicitly.
Instead, this happened: Nothing, since I didn't have cranelift configured in codegen-backends
:
Lines 998 to 1009 in ce6adcc
At a minimum, I would expect this to give an error or warning that I need to configure codegen-backends. It would be even nicer if we could treat codegen-backends
as only controlling the defaults, instead of as a hard-off switch, like how rust.compiler-docs
works. That should be possible to do by looking at the run.paths
we're passed.
cc @bjorn3