forked from slonk/bingus-blog
update docs to recommend nightly
This commit is contained in:
parent
6a92c1713d
commit
4ac5223149
1 changed files with 5 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue