]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #104350 - SparkyPotato:fix-x-wrapper, r=jyn514
authorMatthias Krüger <matthias.krueger@famsik.de>
Mon, 14 Nov 2022 18:26:18 +0000 (19:26 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Nov 2022 18:26:18 +0000 (19:26 +0100)
commitaa29a8b4c71c18f736ddf0848ff388642861a419
treeb6e7df424610fe7c23af25b135f67be684c5cbdb
parent5763fa74f0bda2fe87003360f9059e67c1b8dcf5
parent56dfb70d8d1103e49dfe6feb337ef1f1bb20ff88
Rollup merge of #104350 - SparkyPotato:fix-x-wrapper, r=jyn514

Fix x finding Python on Windows

`x` searches through the path for `{dir}/python{2|3}?`, but this fails on Windows because the appropriate path is `{dir}/python.exe`.

This PR adds the expected `.exe` extension on Windows while searching.