Skip to content

Commit

Permalink
Fix test on more platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
qwandor committed Dec 7, 2023
1 parent 5035f4c commit b1a3e08
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/sys/termios.rs
Expand Up @@ -941,17 +941,8 @@ mod test {
c_oflag: 0xd00d,
c_cflag: 0x6642,
c_lflag: 0x1234,
#[cfg(any(linux_android, target_os = "haiku"))]
c_line: 0x00,
c_cc: [0; NCCS],
#[cfg(not(target_env = "musl"))]
c_ispeed: 0,
#[cfg(not(target_env = "musl"))]
c_ospeed: 0,
#[cfg(target_env = "musl")]
__c_ispeed: 0,
#[cfg(target_env = "musl")]
__c_ospeed: 0,
..unsafe { std::mem::zeroed() }
};

let mut attrs: Termios = original.into();
Expand Down

0 comments on commit b1a3e08

Please sign in to comment.