From 1d82f5c260b9836023994fb9adfff0f94221c297 Mon Sep 17 00:00:00 2001 From: skoupidi Date: Fri, 9 Feb 2024 16:30:54 +0200 Subject: [PATCH] README: development nightly notes improved --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9dcb4bdfc..0ab012280 100644 --- a/README.md +++ b/README.md @@ -101,14 +101,25 @@ nightly version, which was known to work: ```shell % rustup toolchain install nightly-2024-02-01 % rustup target add wasm32-unknown-unknown --toolchain nightly-2024-02-01 +``` + +Now we can use that toolchain in `make` directly: + +```shell +% make CARGO="cargo +nightly-2024-02-01" {target} +``` + +Or, if we are lazy, we can modify the `Makefile` to always use that: + +```shell % sed -i Makefile -e "s|nightly|nightly-2024-02-01|g" ``` -When using cargo directly, you have to add the `+nightly-2024-02-01` flag, -in order for it to use the older nightly version. - Under no circumstances commit or push the Makefile change. +When using `cargo` directly, you have to add the `+nightly-2024-02-01` flag, +in order for it to use the older nightly version. + ## Install This will install the binaries on your system (`/usr/local` by