File: build.rs

package info (click to toggle)
rust-coreutils 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 505,620 kB
  • sloc: ansic: 103,594; asm: 28,570; sh: 8,910; python: 5,581; makefile: 472; cpp: 97; javascript: 72
file content (11 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (113)
1
2
3
4
5
6
7
8
9
10
11
// This file is part of ICU4X. For terms of use, please see the file
// called LICENSE at the top level of the ICU4X source tree
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).

fn main() {
    if std::env::var("ICU4X_DATA_DIR").is_ok() {
        println!("cargo:rustc-cfg=icu4x_custom_data");
    }
    println!("cargo:rerun-if-env-changed=ICU4X_DATA_DIR");
    println!("cargo:rustc-check-cfg=cfg(icu4c_enable_renaming)");
}