Skip to content

Commit de10668

Browse files
committed
ci: wrong cfg emscripten
1 parent 2918100 commit de10668

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn main() {
5151
let align_cargo_feature = env::var("CARGO_FEATURE_ALIGN").is_ok();
5252
let const_extern_fn_cargo_feature = env::var("CARGO_FEATURE_CONST_EXTERN_FN").is_ok();
5353
let libc_ci = env::var("LIBC_CI").is_ok();
54-
let libc_check_cfg = env::var("LIBC_CHECK_CFG").is_ok();
54+
let libc_check_cfg = env::var("LIBC_CHECK_CFG").is_ok() || rustc_minor_ver >= 80;
5555

5656
if env::var("CARGO_FEATURE_USE_STD").is_ok() {
5757
println!(

libc-test/test/makedev.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ mod t {
7979

8080
// These OSes allow 32 bits for both minor and major
8181
#[cfg(any(
82-
target_os = "empscripten",
82+
target_os = "emscripten",
8383
target_os = "freebsd",
8484
target_os = "fuchsia",
8585
target_os = "linux",

0 commit comments

Comments
 (0)