about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorCheng XU <git@xuc.me>2022-04-05 23:13:46 -0700
committerCheng XU <git@xuc.me>2022-04-11 12:02:40 -0700
commit365d4f4fd0caa3e4e1dd95eb42f7244e1424d37e (patch)
treeda75c17e1883459a86e71aebeb10b1cf0d92c2af /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent625e4dd13a3abd0cc59807af66c3c4cd63440852 (diff)
downloadrust-365d4f4fd0caa3e4e1dd95eb42f7244e1424d37e.tar.gz
rust-365d4f4fd0caa3e4e1dd95eb42f7244e1424d37e.zip
pre-push.sh: Use python3 if python is not found
Since Python 2 has reached EOL, `python` may not be available in certain
systems (e.g., recent macOS). We should use `python3` in this case to
avoid error like `python: No such file or directory`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions