mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-07 22:04:03 -05:00
README: development nightly notes added
This commit is contained in:
16
README.md
16
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user