Skip to content

Commit 8cf55ea

Browse files
Rename bypass_backends into bypass_ignore_backends
1 parent 36ac107 commit 8cf55ea

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/tools/compiletest/src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ pub struct Config {
711711
/// Name/path of the backend to use instead of `default_codegen_backend`.
712712
pub override_codegen_backend: Option<String>,
713713
/// Whether to ignore `//@ ignore-backends`.
714-
pub bypass_backends: bool,
714+
pub bypass_ignore_backends: bool,
715715
}
716716

717717
impl Config {

src/tools/compiletest/src/directives.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ fn ignore_backends(config: &Config, line: &DirectiveLine<'_>) -> IgnoreDecision
14931493
}
14941494
}
14951495
}) {
1496-
if !config.bypass_backends && config.default_codegen_backend == backend {
1496+
if !config.bypass_ignore_backends && config.default_codegen_backend == backend {
14971497
return IgnoreDecision::Ignore {
14981498
reason: format!("{} backend is marked as ignore", backend.as_str()),
14991499
};

src/tools/compiletest/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ fn parse_config(args: Vec<String>) -> Config {
485485

486486
default_codegen_backend,
487487
override_codegen_backend,
488-
bypass_backends: matches.opt_present("bypass-ignore-backends"),
488+
bypass_ignore_backends: matches.opt_present("bypass-ignore-backends"),
489489
}
490490
}
491491

src/tools/compiletest/src/rustdoc_gui_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,6 @@ fn incomplete_config_for_rustdoc_gui_test() -> Config {
138138
minicore_path: Default::default(),
139139
default_codegen_backend: CodegenBackend::Llvm,
140140
override_codegen_backend: None,
141-
bypass_backends: Default::default(),
141+
bypass_ignore_backends: Default::default(),
142142
}
143143
}

0 commit comments

Comments
 (0)