update docs to recommend nightly

This commit is contained in:
slonkazoid 2024-04-30 11:44:00 +03:00
parent 6a92c1713d
commit 4ac5223149
Signed by: slonk
SSH key fingerprint: SHA256:tbZfJX4IOvZ0LGWOWu5Ijo8jfMPi78TU7x1VoEeCIjM

View file

@ -63,10 +63,13 @@ you don't have to copy it from here, it's generated if it doesn't exist
## Usage ## Usage
this project uses nightly-only features.
make sure you have the nightly toolchain installed.
build the application with `cargo`: build the application with `cargo`:
```sh ```sh
cargo build --release cargo +nightly build --release
``` ```
the executable will be located at `target/release/bingus-blog`. the executable will be located at `target/release/bingus-blog`.
@ -82,7 +85,7 @@ building for `aarch64-unknown-linux-musl` (for example, a Redmi 5 Plus running p
sudo pacman -S aarch64-linux-gnu-gcc sudo pacman -S aarch64-linux-gnu-gcc
export CC=aarch64-linux-gnu-gcc export CC=aarch64-linux-gnu-gcc
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=$CC export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=$CC
cargo build --release --target=aarch64-unknown-linux-musl cargo +nightly build --release --target=aarch64-unknown-linux-musl
``` ```
your executable will be located at `target/<target>/release/bingus-blog` this time. your executable will be located at `target/<target>/release/bingus-blog` this time.