Update README.md

pull/9/head
Vladislav Drozdov 2024-09-03 21:34:22 +03:00 committed by GitHub
parent dbc0e73cec
commit 1e515389da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 3 deletions

View File

@ -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.