From 4ac52231490bab41b2f87c4d16d100646a8111cb Mon Sep 17 00:00:00 2001 From: slonkazoid Date: Tue, 30 Apr 2024 11:44:00 +0300 Subject: [PATCH] update docs to recommend nightly --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ef4c07e..646e7b8 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,13 @@ you don't have to copy it from here, it's generated if it doesn't exist ## Usage +this project uses nightly-only features. +make sure you have the nightly toolchain installed. + build the application with `cargo`: ```sh -cargo build --release +cargo +nightly build --release ``` 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 export CC=aarch64-linux-gnu-gcc 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//release/bingus-blog` this time.