Crates.io | rumpkernel |
lib.rs | rumpkernel |
version | 0.0.5 |
source | src |
created_at | 2021-04-06 22:37:06.435681 |
updated_at | 2022-04-14 23:30:10.601953 |
description | Rumpkernel as a crate |
homepage | https://github.com/gz/rust-rumpkernel |
repository | https://github.com/gz/rust-rumpkernel |
max_upload_size | |
id | 380043 |
size | 8,954 |
Builds rumpkernel sources as a rust crate for convenient use in your rust project.
The build roughly the following steps as part of the build.rs
script:
git clone https://github.com/gz/rumprun.git
git checkout netbsd-8
git submodule update --init --depth 1
./build-rr.sh -j12 nrk -- -F "CFLAGS=-w -fcommon"
https://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/rump/README.compileopts
RUMP_CURLWP=hypercall
(slower) or RUMP_CURLWP=__thread
(faster)
Works on >1 cores:
RUMP_DIAGNOSTIC
Doesn't work with cores > 1:
RUMP_LOCKDEBUG
RUMP_DEBUG