Skip to content

Commit

Permalink
change from target_os to target_family.
Browse files Browse the repository at this point in the history
  • Loading branch information
2-3-5-41 committed Nov 6, 2023
1 parent 79ad1f7 commit faac22a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit faac22a

Please sign in to comment.