diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-09-28 20:00:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-28 20:00:12 +0200 |
| commit | 864290472fcb1deee2a4fb09a9df2864ce3bd1a4 (patch) | |
| tree | 78514f270b1fe75739df1cc245e1dc70dc27c05b /src/bootstrap | |
| parent | 1d71ba862309d59df710078a845c8772ffb22aba (diff) | |
| parent | 90be409db0ef219bad25e38ec7b1902683389b07 (diff) | |
| download | rust-864290472fcb1deee2a4fb09a9df2864ce3bd1a4.tar.gz rust-864290472fcb1deee2a4fb09a9df2864ce3bd1a4.zip | |
Rollup merge of #87260 - antoyo:libgccjit-codegen, r=Mark-Simulacrum
Libgccjit codegen This PR introduces a subtree for a gcc-based codegen backend to the repository, per decision in https://github.com/rust-lang/compiler-team/issues/442. We do not yet expect to ship this backend on nightly or run tests in CI, but we do verify that the backend checks (i.e., `cargo check`) successfully. Work is expected to progress primarily in https://github.com/rust-lang/rustc_codegen_gcc, with semi-regular upstreaming, like with other subtrees.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/check.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs index f66f282bea9..28e7f1fdca7 100644 --- a/src/bootstrap/check.rs +++ b/src/bootstrap/check.rs @@ -243,11 +243,16 @@ impl Step for CodegenBackend { const DEFAULT: bool = true; fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { - run.paths(&["compiler/rustc_codegen_cranelift", "rustc_codegen_cranelift"]) + run.paths(&[ + "compiler/rustc_codegen_cranelift", + "rustc_codegen_cranelift", + "compiler/rustc_codegen_gcc", + "rustc_codegen_gcc", + ]) } fn make_run(run: RunConfig<'_>) { - for &backend in &[INTERNER.intern_str("cranelift")] { + for &backend in &[INTERNER.intern_str("cranelift"), INTERNER.intern_str("gcc")] { run.builder.ensure(CodegenBackend { target: run.target, backend }); } } |
