Skip to content

Commit

Permalink
ci: wrong cfg emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed May 6, 2024
1 parent 2918100 commit de10668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fn main() {
let align_cargo_feature = env::var("CARGO_FEATURE_ALIGN").is_ok();
let const_extern_fn_cargo_feature = env::var("CARGO_FEATURE_CONST_EXTERN_FN").is_ok();
let libc_ci = env::var("LIBC_CI").is_ok();
let libc_check_cfg = env::var("LIBC_CHECK_CFG").is_ok();
let libc_check_cfg = env::var("LIBC_CHECK_CFG").is_ok() || rustc_minor_ver >= 80;

if env::var("CARGO_FEATURE_USE_STD").is_ok() {
println!(
Expand Down
2 changes: 1 addition & 1 deletion libc-test/test/makedev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ mod t {

// These OSes allow 32 bits for both minor and major
#[cfg(any(
target_os = "empscripten",
target_os = "emscripten",
target_os = "freebsd",
target_os = "fuchsia",
target_os = "linux",
Expand Down

0 comments on commit de10668

Please sign in to comment.