diff options
| author | Joshua Nelson <jnelson@cloudflare.com> | 2022-04-10 16:41:21 -0500 |
|---|---|---|
| committer | Joshua Nelson <jnelson@cloudflare.com> | 2022-04-10 17:15:31 -0500 |
| commit | 4c1438332be229ee1d1e1dbc02181a03678e04f9 (patch) | |
| tree | 00613bde5816d68165a66a3a9169b424de57c443 | |
| parent | 986c1687f868e7839f4e967bba32aeec6b2df5da (diff) | |
| download | rust-4c1438332be229ee1d1e1dbc02181a03678e04f9.tar.gz rust-4c1438332be229ee1d1e1dbc02181a03678e04f9.zip | |
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.
| -rw-r--r-- | src/bootstrap/compile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs index afc333b5048..45991381dc0 100644 --- a/src/bootstrap/compile.rs +++ b/src/bootstrap/compile.rs @@ -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<'_>) { |
