gecko-dev/third_party/rust/miniz-sys/build.rs

9 строки
163 B
Rust

extern crate cc;
use std::env;
fn main() {
cc::Build::new().file("miniz.c").compile("miniz");
println!("cargo:root={}", env::var("OUT_DIR").unwrap());
}