Skip to content

Commit 4c14383

Browse files
committed
Add build compiler/rustc_codegen_gcc as an alias for CodegenBackend
These paths (`_cranelift` and `_gcc`) are somewhat misleading, since they actually tell bootstrap to build *all* codegen backends. But this seems like a useful improvement in the meantime.
1 parent 986c168 commit 4c14383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/compile.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ impl Step for CodegenBackend {
795795
const DEFAULT: bool = true;
796796

797797
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
798-
run.path("compiler/rustc_codegen_cranelift")
798+
run.paths(&["compiler/rustc_codegen_cranelift", "compiler/rustc_codegen_gcc"])
799799
}
800800

801801
fn make_run(run: RunConfig<'_>) {

0 commit comments

Comments
 (0)