From 6caef3b1490e4a1882dc9b62fabdbfefcd597449 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 2 Sep 2022 20:24:45 +0200 Subject: [PATCH] Disable iceoryx support on Windows It causes lots of linker errors on Windows. The `iceoryx-rs` crate does not seem to support Windows at the moment. --- apis/rust/node/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apis/rust/node/Cargo.toml b/apis/rust/node/Cargo.toml index 1919ea79..7b7a7d08 100644 --- a/apis/rust/node/Cargo.toml +++ b/apis/rust/node/Cargo.toml @@ -19,8 +19,10 @@ tracing = "0.1.33" uuid = "0.8.2" zenoh = { git = "https://github.com/eclipse-zenoh/zenoh.git", optional = true } zenoh-config = { git = "https://github.com/eclipse-zenoh/zenoh.git", optional = true } -iceoryx-rs = { git = "https://github.com/eclipse-iceoryx/iceoryx-rs.git", optional = true } flume = "0.10.14" +[target.'cfg(unix)'.dependencies] +iceoryx-rs = { git = "https://github.com/eclipse-iceoryx/iceoryx-rs.git", optional = true } + [dev-dependencies] tokio = { version = "1.17.0", features = ["rt"] }