diff --git a/README.md b/README.md index b6095b9..6610365 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,12 @@ in-container integrating util to handle processes runtime ## Depends on - `rustup (>=1.27.1)` +## Setting up +Download and execute rustup.sh +~~~bash +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +~~~ + ## Building 1. Clone this repo `runner-rs` @@ -18,9 +24,7 @@ in-container integrating util to handle processes runtime 2. Enter project's dir and set up toolchain list to compile code for RISC-V and AMD64 ~~~bash - cd runner-rs/ - rustup target add riscv64gc-unknown-linux-gnu - rustup target add x86_64-unknown-linux-gnu + cd runner-rs/ && rustup target add riscv64gc-unknown-linux-gnu && rustup target add x86_64-unknown-linux-gnu ~~~ > [!NOTE] > Cargo is configured to build an app for amd64/linux defaultly. RISC-based compilation is optional.