From fe840f0b4289f949cf08161e04f6ca29430338b8 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 26 Jul 2022 11:09:47 +1000 Subject: [PATCH] Fix stale toolchain docs We have docs that use an env var `BITCOIN_MSRV` that no longer exists. Point readers towards `RUSTUP_TOOLCHAIN`. (Note that we still use `TOOLCHAIN` in the script but it is being phased out, `RUSTUP_TOOLCHAIN` works today.) --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2c7be793..1c77d1fe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -128,9 +128,9 @@ PR authors may also find it useful to run the following script locally in order to check that each of the commits within the PR satisfies the requirements above, before submitting the PR to review: ```shell script -BITCOIN_MSRV=1.29.0 ./contrib/test.sh +RUSTUP_TOOLCHAIN=1.41.1 ./contrib/test.sh ``` -Please replace the value in `BITCOIN_MSRV=1.29.0` with the current MSRV from +Please replace the value in `RUSTUP_TOOLCHAIN=1.41.1` with the current MSRV from [README.md]. NB: Please keep in mind that the script above replaces `Cargo.lock` file, which