gecko-dev/third_party/rust/encoding_c_mem/build.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 строки
279 B
Rust
Исходник Обычный вид История

fn main() {
println!("cargo:rerun-if-changed=");
let cargo_manifest_dir = std::env::var_os("CARGO_MANIFEST_DIR").unwrap();
let include_dir = std::path::PathBuf::from(cargo_manifest_dir).join("include");
println!("cargo:include-dir={}", include_dir.display());
}