fix(test): gate the serial tests' mpsc import on Linux like the tests that use it (macOS clippy)

This commit is contained in:
Andy Dixon
2026-10-13 12:24:32 +01:00
parent ccce883612
commit 35ddd1010a
+1 -1
View File
@@ -206,7 +206,7 @@ fn open_error(path: &str, e: &serialport::Error) -> crate::Error {
#[cfg(test)]
mod tests {
use super::*;
#[cfg(unix)]
#[cfg(target_os = "linux")]
use std::sync::mpsc;
#[test]