Debian Codegraph @

debian/rust-vendor/icu_collator_data/build.rs

raw
1 // This file is part of ICU4X. For terms of use, please see the file
2 // called LICENSE at the top level of the ICU4X source tree
3 // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
4
5 fn main() {
6 if std::env::var("ICU4X_DATA_DIR").is_ok() {
7 println!("cargo:rustc-cfg=icu4x_custom_data");
8 }
9 println!("cargo:rerun-if-env-changed=ICU4X_DATA_DIR");
10 println!("cargo:rustc-check-cfg=cfg(icu4c_enable_renaming)");
11 }