Core/build.rs
2021-12-09 16:25:28 +03:00

6 lines
203 B
Rust

fn main() {
println!("cargo:rerun-if-changed=src/syscalls.S");
nasm_rs::compile_library_args("libsyscalls.a", &["src/syscalls.S"], &["-f elf32"])
.expect("failed to compile assembly");
}