set RUSTC_EXE = "rustc"; set ASM_EXE = "clang"; set CC_EXE = "clang"; set LINK_EXE = "ld.lld"; set BUILD_PREFIX = "build"; module kern { type exe; depend [ libk, arch, ]; source "kern/lib.rs"; } module libk { type static; # static library depend arch; source "libk/lib.rs"; } module arch { type static; source [ "arch/lib.rs", "arch/**.nasm", ]; }