in-container integrating util to handle processes
 
 
 
Go to file
prplV 881b5aa1a2 static to const 2024-09-30 14:47:55 +03:00
.cargo alias for cross-building + readme update 2024-09-16 15:45:38 +03:00
src static to const 2024-09-30 14:47:55 +03:00
.gitignore sending signal to dead reader fixed 2024-09-23 11:06:53 +03:00
Cargo.lock rework signals handler. status OK 2024-09-09 14:40:50 +03:00
Cargo.toml refactor + getting out redis conf pulling mech 2024-09-16 12:41:01 +03:00
Dockerfile Update Dockerfile 2024-09-03 17:25:54 +03:00
README.md readme update 2024-09-16 15:47:32 +03:00
gdb_init setting up for cross-platform building 2024-08-23 11:57:41 +03:00
rust-toolchain rust-toolchain file added its needed (really needed) 2024-08-23 11:09:36 +03:00
settings.json sync service check exec fixed 2024-09-25 15:21:11 +03:00
temp-process added files for dummy ci 2024-09-03 15:29:25 +03:00

README.md

runner-rs ( with amd64 and riscv64 support )

Logo
in-container integrating util to handle processes runtime

Depends on

  • rustup (>=1.27.1)
  • gcc-riscv64-unknown-elf
  • build-essential

Setting up

Download and execute rustup.sh

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Building

  1. Clone this repo runner-rs
  git clone https://github.com/prplV/runner-rs
  1. Enter project's dir and set up toolchain list to compile code for RISC-V and AMD64
  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.

3.1. Release build of app for amd64/linux

cargo x86_64

3.2. Release build of app for riscv64/linux

cargo riscv64

3.3. Release build of app for both (riscv64 and amd64)

cargo unibuild

Execution for amd64/linux

./target/x86_64-unknown-linux-gnu/release/runner-rs

or

cargo run_x86

Execution for riscv64/linux

./target/riscv64gc-unknown-linux-gnu/release/runner-rs

or

[!CAUTION]
cargo run_risc command is a temp broken. Better use the first one

cargo run_risc