We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
First get Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
and switch to nightly build chain:
rustup toolchain install nightly
rustup default nightly
Then install PathMap and MORK:
git clone https://github.com/Adam-Vandervorst/PathMap cd PathMap RUSTFLAGS="-C target-cpu=native" cargo build --release cd .. git clone https://github.com/trueagi-io/MORK cd MORK/kernel RUSTFLAGS="-C target-cpu=native" cargo build --release
Now add your code to kernel/src/main.rs: fn main() { and compile again from the kernel folder with
kernel/src/main.rs:
fn main() {
RUSTFLAGS="-C target-cpu=native" cargo build --release
then run with
../target/release/mork
or for convenience build&run combined:
RUSTFLAGS="-C target-cpu=native" cargo build --release && ../target/release/mork
It is possible to run dedicated files by mork run <file>.
mork run <file>
It is possible to run the benchmarks or tests instead with mork bench all and mork test.
mork bench all
mork test
Those above two are options use the mork binary produced from building the kernel, usually located at MORK/target/release.
Notes: Currently the main branch has to be utilized to work with variables properly.