Skip to content

Commit

Permalink
Ignore binding::test::size_of_event on arch <> x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenn committed Oct 30, 2023
1 parent 435ae55 commit 0fa1a7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/binding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ pub trait ConditionalEventHandler: Send + Sync {

#[cfg(test)]
mod test {
use core::mem::size_of;

use super::{Event, EventHandler};
use crate::{Cmd, KeyCode, KeyEvent, Modifiers};
use radix_trie::Trie;
Expand Down Expand Up @@ -251,7 +249,9 @@ mod test {
}

#[test]
#[cfg(target_arch = "x86_64")]
fn size_of_event() {
use core::mem::size_of;
assert_eq!(size_of::<Event>(), 32);
}
}

0 comments on commit 0fa1a7b

Please sign in to comment.