Skip to content

Commit 34e7583

Browse files
committed
test: Skip input_event.time on recent musl
1 parent 5e125a1 commit 34e7583

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libc-test/build.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3693,6 +3693,9 @@ fn test_linux(target: &str) {
36933693
let mips = target.contains("mips");
36943694

36953695
let musl_v1_2_3 = env::var("RUST_LIBC_UNSTABLE_MUSL_V1_2_3").is_ok();
3696+
if musl_v1_2_3 {
3697+
assert!(musl);
3698+
}
36963699
let old_musl = musl && !musl_v1_2_3;
36973700

36983701
let mut cfg = ctest_cfg();
@@ -4689,6 +4692,8 @@ fn test_linux(target: &str) {
46894692
("xsk_tx_metadata", "xsk_tx_metadata_union") => true,
46904693
// After musl 1.2.0, the type becomes `int` instead of `long`.
46914694
("utmpx", "ut_session") if musl => true,
4695+
// FIXME(musl,time): changed with the musl time updates
4696+
("input_event", "time") if musl_v1_2_3 => true,
46924697
// `frames` is a flexible array member
46934698
("bcm_msg_head", "frames") => true,
46944699
// FAM

0 commit comments

Comments
 (0)