Skip to content

Commit 05958c5

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 cfdf7ba commit 05958c5

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
@@ -4861,7 +4861,9 @@ fn test_linux(target: &str) {
48614861
// the `xsk_tx_metadata_union` field is an anonymous union
48624862
(struct_ == "xsk_tx_metadata" && field == "xsk_tx_metadata_union") ||
48634863
// After musl 1.2.0, the type becomes `int` instead of `long`.
4864-
(old_musl && struct_ == "utmpx" && field == "ut_session")
4864+
(old_musl && struct_ == "utmpx" && field == "ut_session") ||
4865+
// FIXME(linux): this is changed to separate sec/usec fields when time64 is enabled
4866+
(struct_ == "input_event" && field == "time")
48654867
});
48664868

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

0 commit comments

Comments
 (0)