We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72e5854 commit c5b7465Copy full SHA for c5b7465
build.rs
@@ -45,7 +45,6 @@ fn main() {
45
let rustc_dep_of_std = env::var("CARGO_FEATURE_RUSTC_DEP_OF_STD").is_ok();
46
let libc_ci = env::var("LIBC_CI").is_ok();
47
let libc_check_cfg = env::var("LIBC_CHECK_CFG").is_ok() || rustc_minor_ver >= 80;
48
- let linux_time_bits64 = env::var("RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64").is_ok();
49
50
// The ABI of libc used by std is backward compatible with FreeBSD 12.
51
// The ABI of libc from crates.io is backward compatible with FreeBSD 11.
@@ -82,6 +81,8 @@ fn main() {
82
81
_ => (),
83
}
84
+ let linux_time_bits64 = env::var("RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64").is_ok();
85
+ println!("cargo:rerun-if-env-changed=RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64");
86
if linux_time_bits64 {
87
set_cfg("linux_time_bits64");
88
0 commit comments