Procházet zdrojové kódy

README: development nightly notes added

skoupidi před 2 roky
rodič
revize
0957973ff6
1 změnil soubory, kde provedl 16 přidání a 0 odebrání
  1. 16 0
      README.md

+ 16 - 0
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