Skip to content

ayrtonm/freebsd-kpi-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WIP Rust bindings for FreeBSD KPI

This requires build system changes in src from this branch.

# Copy this repo to src/sys/rust
git clone [email protected]:ayrtonm/freebsd-kpi-rs /path/to/src/sys/rust

# To cross-build on linux or macOS
XCC=clang \
XCXX=clang++ \
XCPP=clang-cpp \
XLD=/usr/bin/ld.lld \
RUSTC=/usr/bin/rustc \
BINDGEN=/usr/bin/bindgen \
RUSTFMT=/usr/bin/rustfmt \
MAKEOBJDIRPREFIX=/path/to/obj/directory \
./path/to/src/tools/build/make.py -j8 buildkernel \
    TARGET=arm64 \
    TARGET_ARCH=aarch64 \
    KERNCONF=APPLE \
    -DNO_CLEAN

About

Rust bindings for the FreeBSD kernel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published