@@ -369,8 +369,8 @@ pub struct Config {
369
369
/// `paths=["foo", "bar"]`.
370
370
pub paths : Vec < PathBuf > ,
371
371
372
- /// What custom diff tool to use for displaying compiletest tests .
373
- pub display_diff_tool : Option < String > ,
372
+ /// Command for visual diff display, e.g. `diff-tool --color=always` .
373
+ pub compiletest_diff_tool : Option < String > ,
374
374
}
375
375
376
376
#[ derive( Clone , Debug , Default ) ]
@@ -895,7 +895,7 @@ define_config! {
895
895
android_ndk: Option <PathBuf > = "android-ndk" ,
896
896
optimized_compiler_builtins: Option <bool > = "optimized-compiler-builtins" ,
897
897
jobs: Option <u32 > = "jobs" ,
898
- display_diff_tool : Option <String > = "display -diff-tool" ,
898
+ compiletest_diff_tool : Option <String > = "compiletest -diff-tool" ,
899
899
}
900
900
}
901
901
@@ -1516,7 +1516,7 @@ impl Config {
1516
1516
android_ndk,
1517
1517
optimized_compiler_builtins,
1518
1518
jobs,
1519
- display_diff_tool ,
1519
+ compiletest_diff_tool ,
1520
1520
} = toml. build . unwrap_or_default ( ) ;
1521
1521
1522
1522
config. jobs = Some ( threads_from_config ( flags. jobs . unwrap_or ( jobs. unwrap_or ( 0 ) ) ) ) ;
@@ -2163,7 +2163,7 @@ impl Config {
2163
2163
config. rust_debuginfo_level_tests = debuginfo_level_tests. unwrap_or ( DebuginfoLevel :: None ) ;
2164
2164
config. optimized_compiler_builtins =
2165
2165
optimized_compiler_builtins. unwrap_or ( config. channel != "dev" ) ;
2166
- config. display_diff_tool = display_diff_tool ;
2166
+ config. compiletest_diff_tool = compiletest_diff_tool ;
2167
2167
2168
2168
let download_rustc = config. download_rustc_commit . is_some ( ) ;
2169
2169
// See https://github.com/rust-lang/compiler-team/issues/326
0 commit comments