1
0
forked from Rust/Core
Core/build.rs

9 lines
250 B
Rust
Raw Normal View History

2021-12-09 00:18:30 +01:00
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");
}