Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const ALLOWED_CFGS: &[&str] = &[
"musl_redir_time64",
"vxworks_lt_25_09",
"libc_pauthtest",
"aix_large_file_api",
];

// Extra values to allow for check-cfg.
Expand Down Expand Up @@ -157,6 +158,11 @@ fn main() {
set_cfg("linux_time_bits64");
}

let aix_large_file_api = env_flag("CARGO_CFG_LIBC_UNSTABLE_LARGE_FILE_API");
if aix_large_file_api {
set_cfg("aix_large_file_api");
}

if target_env == "gnu"
&& matches!(target_os.as_str(), "linux" | "windows")
&& target_ptr_width == "32"
Expand Down
Loading
Loading