From ae0aae04f8fe257fdbb1efe9588690379035d7bb Mon Sep 17 00:00:00 2001 From: Changyuan Lyu Date: Wed, 24 Apr 2024 21:35:21 -0700 Subject: [PATCH] build: use stable rust as default Signed-off-by: Changyuan Lyu --- README.md | 4 ++-- rust-toolchain.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 34e155d..64505d3 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ detailed steps for building a type-2 hypervisor and booting a Linux guest kernel * Build Alioth from source, ```sh - cargo +nightly build --release --target x86_64-unknown-linux-gnu + cargo build --release --target x86_64-unknown-linux-gnu ``` * Make an initramfs with [u-root](https://github.com/u-root/u-root?tab=readme-ov-file#examples), @@ -17,7 +17,7 @@ detailed steps for building a type-2 hypervisor and booting a Linux guest kernel * Boot a Linux kernel with 2 CPUs and 4 GiB memory: ```sh - cargo +nightly run --release --target x86_64-unknown-linux-gnu -- \ + cargo run --release --target x86_64-unknown-linux-gnu -- \ -l info \ --log-to-file \ run \ diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 271800c..31578d3 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly" \ No newline at end of file +channel = "stable" \ No newline at end of file