Update README.md
parent
dbc0e73cec
commit
1e515389da
10
README.md
10
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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue