From 156564d0cb8a46842cf7762f10c2652ed05697b3 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 12 Jan 2024 20:57:34 +0100 Subject: [PATCH] Allow running tests on macOS. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a3634ad..8d288ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ embedded-hal = "1" [dev-dependencies] embedded-hal-mock = { version = "0.10", default-features = false, features = ["eh1"] } -[target.'cfg(linux)'.dev-dependencies] +[target.'cfg(target_os = "linux")'.dev-dependencies] linux-embedded-hal = "0.4" [profile.release]