Skip to content

Commit fe5bd88

Browse files
committed
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.
1 parent eed808b commit fe5bd88

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/etc/install.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,6 @@ fi
234234
rm "${CFG_PREFIX}/lib/rust-install-probe"
235235
need_ok "failed to remove install probe"
236236

237-
# Sanity check: can we run these binaries?
238-
"${CFG_SRC_DIR}/bin/rustc" --version > /dev/null
239-
need_ok "can't run these binaries on this platform"
240-
241237

242238
# First, uninstall from the installation prefix.
243239
# Errors are warnings - try to rm everything in the manifest even if some fail.

0 commit comments

Comments
 (0)