]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #95441 - AlecGoncharow:issue-95204-fix, r=Mark-Simulacrum
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Wed, 13 Apr 2022 03:54:11 +0000 (05:54 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Apr 2022 03:54:11 +0000 (05:54 +0200)
commitf6dfbfef01e316c1c374ea36c259963ab0c7f4b4
treea1f9e5833bb28ca4c43cd84390c9739c498bed69
parent1491e5cc148391f7679542b8e9b4e6d2430a7b69
parent03c5f0d2182cc36548b782599412408349b13cbb
Rollup merge of #95441 - AlecGoncharow:issue-95204-fix, r=Mark-Simulacrum

Always use system `python3` on MacOS

This PR includes 2 changes:

1. Always use the system Python found at `/usr/bin/python3` on MacOS
2. Removes the hard requirement on having `python` in your system path if you didn't specify alternatives. The proposed change will instead attempt to find and use in order: `python` -> `python3` -> `python2`. This change isn't strictly necessary but without any change to this check, the original issue inspiring this change will still exist.

Fixes #95204
r? ```@jyn514```
src/bootstrap/lib.rs
src/bootstrap/test.rs