We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bca5fde commit 7323830Copy full SHA for 7323830
src/tools/compiletest/src/common.rs
@@ -387,6 +387,8 @@ pub struct Config {
387
/// True if the profiler runtime is enabled for this target.
388
/// Used by the "needs-profiler-runtime" directive in test files.
389
pub profiler_runtime: bool,
390
+
391
+ pub diff_command: Option<String>,
392
}
393
394
impl Config {
src/tools/compiletest/src/lib.rs
@@ -364,6 +364,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
364
git_merge_commit_email: matches.opt_str("git-merge-commit-email").unwrap(),
365
366
profiler_runtime: matches.opt_present("profiler-runtime"),
367
+ diff_command: env::var("COMPILETEST_DIFF_TOOL").ok(),
368
369
370
0 commit comments