We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44722bd commit 5610223Copy full SHA for 5610223
src/tools/compiletest/src/common.rs
@@ -395,6 +395,8 @@ pub struct Config {
395
/// True if the profiler runtime is enabled for this target.
396
/// Used by the "needs-profiler-support" header in test files.
397
pub profiler_support: bool,
398
+
399
+ pub diff_command: Option<String>,
400
}
401
402
impl Config {
src/tools/compiletest/src/lib.rs
@@ -360,6 +360,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
360
git_merge_commit_email: matches.opt_str("git-merge-commit-email").unwrap(),
361
362
profiler_support: matches.opt_present("profiler-support"),
363
+ diff_command: env::var("COMPILETEST_DIFF_TOOL").ok(),
364
365
366
0 commit comments