mirror of https://github.com/rust-lang/rust.git
Fix tidy
This commit is contained in:
parent
f7237f16ae
commit
8841e9e632
|
@ -19,6 +19,7 @@ ignore = [
|
||||||
"library/backtrace",
|
"library/backtrace",
|
||||||
"library/stdarch",
|
"library/stdarch",
|
||||||
"compiler/rustc_codegen_cranelift",
|
"compiler/rustc_codegen_cranelift",
|
||||||
|
"compiler/rustc_codegen_gcc",
|
||||||
"src/doc/book",
|
"src/doc/book",
|
||||||
"src/doc/edition-guide",
|
"src/doc/edition-guide",
|
||||||
"src/doc/embedded-book",
|
"src/doc/embedded-book",
|
||||||
|
|
|
@ -237,11 +237,16 @@ impl Step for CodegenBackend {
|
||||||
const DEFAULT: bool = true;
|
const DEFAULT: bool = true;
|
||||||
|
|
||||||
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
|
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<'_>) {
|
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 });
|
run.builder.ensure(CodegenBackend { target: run.target, backend });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,7 @@ fn filter_dirs(path: &Path) -> bool {
|
||||||
let skip = [
|
let skip = [
|
||||||
"tidy-test-file",
|
"tidy-test-file",
|
||||||
"compiler/rustc_codegen_cranelift",
|
"compiler/rustc_codegen_cranelift",
|
||||||
|
"compiler/rustc_codegen_gcc",
|
||||||
"src/llvm-project",
|
"src/llvm-project",
|
||||||
"library/backtrace",
|
"library/backtrace",
|
||||||
"library/stdarch",
|
"library/stdarch",
|
||||||
|
|
Loading…
Reference in New Issue