1
0
forked from Rust/Core
Core/build.rs
2021-12-09 02:18:30 +03:00

9 lines
250 B
Rust

fn main() {
println!("cargo:rerun-if-changed=src/syscalls.c");
cc::Build::new()
.file("src/syscalls.c")
.flag("-fno-PIC") // for some reason `pic(false)` doesn't work
.static_flag(true)
.compile("syscalls");
}