about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-03-05 21:46:36 +0800
committerGitHub <noreply@github.com>2025-03-05 21:46:36 +0800
commitf22b93964d482e1a333d682d28ec61381c310b7a (patch)
treedbc0360efec8365495412338e2c5dab77af1ba27 /library/std/src
parent9aaf46ea23367835229d0de8df953e59ec0e4be9 (diff)
parent1cac5fa5f9f371db4789ea928e1d2769d4cd921b (diff)
downloadrust-f22b93964d482e1a333d682d28ec61381c310b7a.tar.gz
rust-f22b93964d482e1a333d682d28ec61381c310b7a.zip
Rollup merge of #136975 - jyn514:macos-x, r=Mark-Simulacrum
Look for `python3` first on MacOS, not `py`

`py` is not installed by default *and* trying to run it results in a popup asking if you want to install it. `python3` is installed by default.

This hopefully should not be too disruptive to people on Windows, since they should be going through `x.ps1` instead anyway. Just in case, I've added a check for Cygwin and Msys (i'm not sure how else you'd get a bash shell on windows).

I've tested this on macOS, WSL, "git bash" (which appears to be MSYS), and MSVC with `bash -c ./x` (which runs in WSL, but differently than interactive bash 🙃). I haven't tested Cygwin, which is unsupported anyway, but the code tries to make it work.
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions