use-cross-platform-livekit.patch

 1diff --git a/crates/call/Cargo.toml b/crates/call/Cargo.toml
 2index 9ba10e56ba..bb69440691 100644
 3--- a/crates/call/Cargo.toml
 4+++ b/crates/call/Cargo.toml
 5@@ -41,10 +41,10 @@ serde_derive.workspace = true
 6 telemetry.workspace = true
 7 util.workspace = true
 8
 9-[target.'cfg(target_os = "macos")'.dependencies]
10+[target.'cfg(any())'.dependencies]
11 livekit_client_macos.workspace = true
12
13-[target.'cfg(not(target_os = "macos"))'.dependencies]
14+[target.'cfg(all())'.dependencies]
15 livekit_client.workspace = true
16
17 [dev-dependencies]
18diff --git a/crates/call/src/call.rs b/crates/call/src/call.rs
19index 5e212d35b7..a8f9e8f43e 100644
20--- a/crates/call/src/call.rs
21+++ b/crates/call/src/call.rs
22@@ -1,13 +1,13 @@
23 pub mod call_settings;
24
25-#[cfg(target_os = "macos")]
26+#[cfg(any())]
27 mod macos;
28
29-#[cfg(target_os = "macos")]
30+#[cfg(any())]
31 pub use macos::*;
32
33-#[cfg(not(target_os = "macos"))]
34+#[cfg(all())]
35 mod cross_platform;
36
37-#[cfg(not(target_os = "macos"))]
38+#[cfg(all())]
39 pub use cross_platform::*;
40diff --git a/crates/workspace/src/shared_screen.rs b/crates/workspace/src/shared_screen.rs
41index 1d17cfa145..f845234987 100644
42--- a/crates/workspace/src/shared_screen.rs
43+++ b/crates/workspace/src/shared_screen.rs
44@@ -1,11 +1,11 @@
45-#[cfg(target_os = "macos")]
46+#[cfg(any())]
47 mod macos;
48
49-#[cfg(target_os = "macos")]
50+#[cfg(any())]
51 pub use macos::*;
52
53-#[cfg(not(target_os = "macos"))]
54+#[cfg(all())]
55 mod cross_platform;
56
57-#[cfg(not(target_os = "macos"))]
58+#[cfg(all())]
59 pub use cross_platform::*;