fune/third_party/rust/encoding_c/build.rs
Henri Sivonen 77f63a58a7 Bug 1590143 - Update encoding_c and encoding_c_mem. r=m_kato
This change is for Rust embedders of SpiderMonkey and should not be a material change for Gecko.

Differential Revision: https://phabricator.services.mozilla.com/D49959

--HG--
extra : moz-landing-system : lando
2019-10-24 11:12:33 +00:00

7 lines
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());
}