mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
install: Don't try to run binaries on install
I think there are likely to be scenarios where this script is run to move files to the correct place during cross-compiles.
This commit is contained in:
@@ -234,10 +234,6 @@ fi
|
||||
rm "${CFG_PREFIX}/lib/rust-install-probe"
|
||||
need_ok "failed to remove install probe"
|
||||
|
||||
# Sanity check: can we run these binaries?
|
||||
"${CFG_SRC_DIR}/bin/rustc" --version > /dev/null
|
||||
need_ok "can't run these binaries on this platform"
|
||||
|
||||
|
||||
# First, uninstall from the installation prefix.
|
||||
# Errors are warnings - try to rm everything in the manifest even if some fail.
|
||||
|
||||
Reference in New Issue
Block a user