Skip to content

Commit

Permalink
update CONFIG_CHANGE_HISTORY
Browse files Browse the repository at this point in the history
  • Loading branch information
Orion Gonzalez committed Oct 3, 2024
1 parent 0f03576 commit cf54865
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/bootstrap/src/utils/change_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
severity: ChangeSeverity::Info,
summary: "If `llvm.download-ci-llvm` is not defined, it defaults to `true`.",
},
ChangeInfo {
change_id: 131181,
severity: ChangeSeverity::Info,
summary: "New option `build.display-diff-tool` that adds support for a custom differ for compiletests",
},
];
8 changes: 6 additions & 2 deletions src/tools/compiletest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,12 @@ pub fn parse_config(args: Vec<String>) -> Config {
"email address used for finding merge commits",
"EMAIL",
)
.optopt("", "display-diff-tool", "What custom diff tool to use for displaying compiletest tests.", "COMMAND")
;
.optopt(
"",
"display-diff-tool",
"What custom diff tool to use for displaying compiletest tests.",
"COMMAND",
);

let (argv0, args_) = args.split_first().unwrap();
if args.len() == 1 || args[1] == "-h" || args[1] == "--help" {
Expand Down

0 comments on commit cf54865

Please sign in to comment.