From c8dc4b64105f5e4839012cc5b119d66fd97c9f6a Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 22 Jul 2022 11:32:51 +1000 Subject: [PATCH] Remove TOOLCHAIN We can use the already provided `RUSTUP_TOOLCHAIN` to control the Rust toolchain, no need for our own custom env variable. --- contrib/test.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/contrib/test.sh b/contrib/test.sh index 8eb7d3f..dad931a 100755 --- a/contrib/test.sh +++ b/contrib/test.sh @@ -7,12 +7,6 @@ FEATURES="bitcoin_hashes global-context lowmemory rand recovery serde std alloc" # them together with 'std'. STD_FEATURES="rand-std bitcoin-hashes-std" -# Use toolchain if explicitly specified -if [ -n "$TOOLCHAIN" ] -then - alias cargo="cargo +$TOOLCHAIN" -fi - cargo --version rustc --version