Skip to content

Commit dfd9ae2

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 26db669 commit dfd9ae2

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
@@ -4683,7 +4683,9 @@ fn test_linux(target: &str) {
46834683
// `frames` is a flexible array member
46844684
(struct_ == "bcm_msg_head" && field == "frames") ||
46854685
// FAM
4686-
(struct_ == "af_alg_iv" && field == "iv")
4686+
(struct_ == "af_alg_iv" && field == "iv") ||
4687+
// FIXME(linux): this is changed to separate sec/usec fields when time64 is enabled
4688+
(struct_ == "input_event" && field == "time")
46874689
});
46884690

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

0 commit comments

Comments
 (0)