Rollup merge of #146738 - beepster4096:widnows, r=jieyouxu
Fix tidy spellchecking on Windows Tidy should now check for executable with the right extension for the platform when installing tools
This commit is contained in:
commit
a2c7008e15
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ pub fn ensure_version_or_cargo_install(
|
|||
if !cargo_exit_code.success() {
|
||||
return Err(io::Error::other("cargo install failed"));
|
||||
}
|
||||
let bin_path = tool_bin_dir.join(bin_name);
|
||||
let bin_path = tool_bin_dir.join(bin_name).with_extension(env::consts::EXE_EXTENSION);
|
||||
assert!(
|
||||
matches!(bin_path.try_exists(), Ok(true)),
|
||||
"cargo install did not produce the expected binary"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue