Skip to content

Commit

Permalink
Add build compiler/rustc_codegen_gcc as an alias for CodegenBackend
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jyn514 committed Apr 10, 2022
1 parent 986c168 commit 4c14383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ impl Step for CodegenBackend {
const DEFAULT: bool = true;

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

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

0 comments on commit 4c14383

Please sign in to comment.