From 0957973ff6576f8616f31a6119bb4b392bc64be4 Mon Sep 17 00:00:00 2001 From: skoupidi Date: Fri, 9 Feb 2024 14:32:41 +0200 Subject: [PATCH] README: development nightly notes added --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 4218b024c..9dcb4bdfc 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,22 @@ If you want to hack on the source code, make sure to read some introductory advice in the [DarkFi book](https://darkrenaissance.github.io/darkfi/development/development.html). +### Living on the cutting edge + +Since the project uses the nightly toolchain, breaking changes are bound +to happen from time to time. As a workaround, we can configure an older +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 +% 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. ## Install