diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2021-07-19 19:08:08 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2021-08-12 21:56:23 -0400 |
| commit | 8841e9e632c0c8c815e8f3ab4c57feb22a99ceb5 (patch) | |
| tree | 88f874b395f6b9fe054142224c7b61676344edd4 | |
| parent | f7237f16ae1c94e35b1927f0e25aef4a3a6e3f22 (diff) | |
| download | rust-8841e9e632c0c8c815e8f3ab4c57feb22a99ceb5.tar.gz rust-8841e9e632c0c8c815e8f3ab4c57feb22a99ceb5.zip | |
Fix tidy
| -rw-r--r-- | rustfmt.toml | 1 | ||||
| -rw-r--r-- | src/bootstrap/check.rs | 9 | ||||
| -rw-r--r-- | src/tools/tidy/src/lib.rs | 1 |
3 files changed, 9 insertions, 2 deletions
diff --git a/rustfmt.toml b/rustfmt.toml index 480b19a5e93..053f3e3ee58 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -19,6 +19,7 @@ ignore = [ "library/backtrace", "library/stdarch", "compiler/rustc_codegen_cranelift", + "compiler/rustc_codegen_gcc", "src/doc/book", "src/doc/edition-guide", "src/doc/embedded-book", diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs index bc106746e57..03f57dbf301 100644 --- a/src/bootstrap/check.rs +++ b/src/bootstrap/check.rs @@ -237,11 +237,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 }); } } diff --git a/src/tools/tidy/src/lib.rs b/src/tools/tidy/src/lib.rs index a1c41eb9981..003c3a4fd36 100644 --- a/src/tools/tidy/src/lib.rs +++ b/src/tools/tidy/src/lib.rs @@ -56,6 +56,7 @@ fn filter_dirs(path: &Path) -> bool { let skip = [ "tidy-test-file", "compiler/rustc_codegen_cranelift", + "compiler/rustc_codegen_gcc", "src/llvm-project", "library/backtrace", "library/stdarch", |
