Modify executable checking to be more universal

This uses a dummy file to check if the filesystem being used supports the
executable bit in general.
This commit is contained in:
Mark Rousskov 2020-09-11 13:10:15 -04:00
parent 90b1f5ae59
commit 05c9c0ee5d
3 changed files with 51 additions and 12 deletions

View file

@ -737,6 +737,7 @@ impl Step for Tidy {
let mut cmd = builder.tool_cmd(Tool::Tidy);
cmd.arg(&builder.src);
cmd.arg(&builder.initial_cargo);
cmd.arg(&builder.out);
if builder.is_verbose() {
cmd.arg("--verbose");
}