README: development nightly notes added

This commit is contained in:
skoupidi
2024-02-09 14:32:41 +02:00
parent 6619350187
commit 0957973ff6

View File

@@ -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