From faac22acb8d2428b0ef1ef87234c85b8720bd92d Mon Sep 17 00:00:00 2001 From: 2-3-5-41 <93025618+2-3-5-41@users.noreply.github.com> Date: Mon, 6 Nov 2023 18:02:30 -0500 Subject: [PATCH] change from `target_os` to `target_family`. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f7dfe4e..ea3cc4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,10 +16,10 @@ wgpu = "0.17.1" wgpu-core = { version = "0.17.1", features = ["vulkan"] } wgpu-hal = "0.17.1" -[target.'cfg( target_os = "linux" )'.dependencies] +[target.'cfg( target_family = "unix" )'.dependencies] openxr = "0.17.1" -[target.'cfg(not(target_os = "linux"))'.dependencies] +[target.'cfg(not(target_family = "unix"))'.dependencies] openxr = { version = "0.17.1", features = ["static"] } [dev-dependencies]