
Supersedes https://github.com/zed-industries/zed/pull/21653 This enables us to use `cargo test -p workspace` on macOS and Linux. Note that the line diffs in `shared_screen.rs` are spurious, I just re-ordered the `macos` and `cross-platform` modules to match the order in the call crate. Release Notes: - N/A
11 lines
201 B
Rust
11 lines
201 B
Rust
#[cfg(target_os = "macos")]
|
|
mod macos;
|
|
|
|
#[cfg(target_os = "macos")]
|
|
pub use macos::*;
|
|
|
|
#[cfg(not(target_os = "macos"))]
|
|
mod cross_platform;
|
|
|
|
#[cfg(not(target_os = "macos"))]
|
|
pub use cross_platform::*;
|