From fe5bd8857da5caebbb80aafddc4147dcb04018cc Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sat, 22 Mar 2014 01:44:10 -0700 Subject: [PATCH] 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. --- src/etc/install.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/etc/install.sh b/src/etc/install.sh index 63bb71558ab2..8dfc1903094e 100644 --- a/src/etc/install.sh +++ b/src/etc/install.sh @@ -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.