Remove TOOLCHAIN

We can use the already provided `RUSTUP_TOOLCHAIN` to control the Rust
toolchain, no need for our own custom env variable.
This commit is contained in:
Tobin C. Harding 2022-07-22 11:32:51 +10:00
parent d14cccbad5
commit c8dc4b6410
1 changed files with 0 additions and 6 deletions

View File

@ -7,12 +7,6 @@ FEATURES="bitcoin_hashes global-context lowmemory rand recovery serde std alloc"
# them together with 'std'. # them together with 'std'.
STD_FEATURES="rand-std bitcoin-hashes-std" STD_FEATURES="rand-std bitcoin-hashes-std"
# Use toolchain if explicitly specified
if [ -n "$TOOLCHAIN" ]
then
alias cargo="cargo +$TOOLCHAIN"
fi
cargo --version cargo --version
rustc --version rustc --version