README: development nightly notes improved

This commit is contained in:
skoupidi
2024-02-09 16:30:54 +02:00
parent 2125cf7c98
commit 1d82f5c260

View File

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