From ec379fc4ca311697aaea8e796a27c59441fbc26b Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 28 Apr 2019 20:21:25 +0200 Subject: [PATCH] rust: Use correct toolchain version in PATH --- packages/rust/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rust/build.sh b/packages/rust/build.sh index e85c62822..f5bcc891e 100644 --- a/packages/rust/build.sh +++ b/packages/rust/build.sh @@ -17,7 +17,7 @@ termux_step_configure() { # configuration is used otherwise it fails a long time into the build... # like 30 to 40 + minutes ... so lets get it right - export PATH=$HOME/.rustup/toolchains/1.34.0-x86_64-unknown-linux-gnu/bin:$PATH + export PATH=$HOME/.rustup/toolchains/$TERMUX_PKG_VERSION-x86_64-unknown-linux-gnu/bin:$PATH local RUSTC=$(which rustc) local CARGO=$(which cargo)