about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbeepster4096 <19316085+beepster4096@users.noreply.github.com>2025-09-18 13:17:39 -0700
committerbeepster4096 <19316085+beepster4096@users.noreply.github.com>2025-09-18 13:17:39 -0700
commit45e5c765c660463179128c5deaf6f56ff24f3578 (patch)
tree8443c0e561466e1705636bdbfeeed3850d0e00ad /src
parent0c0c58b8e453f552ebd7f3a1545acdd109de028c (diff)
downloadrust-45e5c765c660463179128c5deaf6f56ff24f3578.tar.gz
rust-45e5c765c660463179128c5deaf6f56ff24f3578.zip
fix tidy spellchecking on windows
Diffstat (limited to 'src')
-rw-r--r--src/tools/tidy/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tidy/src/lib.rs b/src/tools/tidy/src/lib.rs
index 2a9c3963d2d..f7920e3205a 100644
--- a/src/tools/tidy/src/lib.rs
+++ b/src/tools/tidy/src/lib.rs
@@ -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"