From 6f5b342c1b89214d0651b91751e121ff3dd385ba Mon Sep 17 00:00:00 2001 From: chyyran Date: Fri, 13 Sep 2024 17:11:49 -0400 Subject: [PATCH] build: fix dev-dependencies on non-apple --- librashader-runtime-mtl/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librashader-runtime-mtl/Cargo.toml b/librashader-runtime-mtl/Cargo.toml index 190b54e..73eed40 100644 --- a/librashader-runtime-mtl/Cargo.toml +++ b/librashader-runtime-mtl/Cargo.toml @@ -41,7 +41,7 @@ objc2 = { workspace = true, features = ["apple"] } [features] # run_test = ["icrate/AppKit", "i "icrate/Foundation_all", "icrate/MetalKit", "icrate/MetalKit_all"] -[dev-dependencies] +[target.'cfg(target_vendor="apple")'.dev-dependencies] objc2-metal-kit = { version = "0.2", features = ["all"]} objc2-foundation = { version = "0.2", features = ["all"] } objc2-app-kit = { version = "0.2", features = ["all"] }