Skip to content

Commit 350bad0

Browse files
committed
linux: time64: skip testing input_event time field
This is because the struct is different depending on whether time64 is enabled.
1 parent 15a21df commit 350bad0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libc-test/build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4890,7 +4890,9 @@ fn test_linux(target: &str) {
48904890
// the `xsk_tx_metadata_union` field is an anonymous union
48914891
(struct_ == "xsk_tx_metadata" && field == "xsk_tx_metadata_union") ||
48924892
// After musl 1.2.0, the type becomes `int` instead of `long`.
4893-
(old_musl && struct_ == "utmpx" && field == "ut_session")
4893+
(old_musl && struct_ == "utmpx" && field == "ut_session") ||
4894+
// FIXME(linux): this is changed to separate sec/usec fields when time64 is enabled
4895+
(struct_ == "input_event" && field == "time")
48944896
});
48954897

48964898
cfg.skip_roundtrip(move |s| match s {

0 commit comments

Comments
 (0)