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:
parent
d14cccbad5
commit
c8dc4b6410
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue