Skip to content

Commit a9ca124

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 86ac221 commit a9ca124

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
@@ -4884,7 +4884,9 @@ fn test_linux(target: &str) {
48844884
// the `xsk_tx_metadata_union` field is an anonymous union
48854885
(struct_ == "xsk_tx_metadata" && field == "xsk_tx_metadata_union") ||
48864886
// After musl 1.2.0, the type becomes `int` instead of `long`.
4887-
(old_musl && struct_ == "utmpx" && field == "ut_session")
4887+
(old_musl && struct_ == "utmpx" && field == "ut_session") ||
4888+
// FIXME(linux): this is changed to separate sec/usec fields when time64 is enabled
4889+
(struct_ == "input_event" && field == "time")
48884890
});
48894891

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

0 commit comments

Comments
 (0)