Skip to content

Commit 014fb68

Browse files
authored
Fix using Rust-Analyzer on non-macOS platforms (#4347)
1 parent 9a03dac commit 014fb68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

winit-appkit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ rwh_06.workspace = true
1818
serde = { workspace = true, optional = true }
1919
smol_str.workspace = true
2020
tracing.workspace = true
21-
winit-common = { workspace = true, features = ["core-foundation", "event-handler"] }
2221
winit-core.workspace = true
2322

2423
# Platform-specific
@@ -107,6 +106,7 @@ objc2-foundation = { workspace = true, features = [
107106
"NSThread",
108107
"NSValue",
109108
] }
109+
winit-common = { workspace = true, features = ["core-foundation", "event-handler"] }
110110

111111
[dev-dependencies]
112112
winit.workspace = true

winit-uikit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ rwh_06.workspace = true
1818
serde = { workspace = true, optional = true }
1919
smol_str.workspace = true
2020
tracing.workspace = true
21-
winit-common = { workspace = true, features = ["core-foundation", "event-handler"] }
2221
winit-core.workspace = true
2322

2423
# Platform-specific
@@ -70,6 +69,7 @@ objc2-ui-kit = { workspace = true, features = [
7069
"UIViewController",
7170
"UIWindow",
7271
] }
72+
winit-common = { workspace = true, features = ["core-foundation", "event-handler"] }
7373

7474
[package.metadata.docs.rs]
7575
all-features = true

0 commit comments

Comments
 (0)