Skip to content

Unable to build on macOS #476

Description

@edfloreshz

Building COSMIC apps on macOS is not possible because of this.

Log

error[E0432]: unresolved imports `rustix::pipe::pipe_with`, `rustix::pipe::PipeFlags`
   --> /Users/eduardo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smithay-client-toolkit-0.19.2/src/data_device_manager/data_offer.rs:439:24
    |
439 |     use rustix::pipe::{pipe_with, PipeFlags};
    |                        ^^^^^^^^^  ^^^^^^^^^ no `PipeFlags` in `pipe`
    |                        |
    |                        no `pipe_with` in `pipe`
    |
note: found an item that was configured out
   --> /Users/eduardo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.41/src/pipe.rs:108:8
    |
108 | pub fn pipe_with(flags: PipeFlags) -> io::Result<(OwnedFd, OwnedFd)> {
    |        ^^^^^^^^^
note: the item is gated here
   --> /Users/eduardo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.41/src/pipe.rs:99:1
    |
99  | / #[cfg(not(any(
100 | |     apple,
101 | |     target_os = "aix",
102 | |     target_os = "espidf",
103 | |     target_os = "haiku",
104 | |     target_os = "nto"
105 | | )))]
    | |____^
note: found an item that was configured out
   --> /Users/eduardo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.41/src/pipe.rs:25:31
    |
25  | pub use backend::pipe::types::PipeFlags;
    |                               ^^^^^^^^^
note: the item is gated here
   --> /Users/eduardo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.41/src/pipe.rs:24:1
    |
24  | #[cfg(not(apple))]
    | ^^^^^^^^^^^^^^^^^^

error[E0432]: unresolved imports `rustix::pipe::pipe_with`, `rustix::pipe::PipeFlags`
   --> /Users/eduardo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smithay-client-toolkit-0.19.2/src/primary_selection/offer.rs:39:28
    |
39  |         use rustix::pipe::{pipe_with, PipeFlags};
    |                            ^^^^^^^^^  ^^^^^^^^^ no `PipeFlags` in `pipe`
    |                            |
    |                            no `pipe_with` in `pipe`
    |
note: found an item that was configured out
   --> /Users/eduardo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.41/src/pipe.rs:108:8
    |
108 | pub fn pipe_with(flags: PipeFlags) -> io::Result<(OwnedFd, OwnedFd)> {
    |        ^^^^^^^^^
note: the item is gated here
   --> /Users/eduardo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.41/src/pipe.rs:99:1
    |
99  | / #[cfg(not(any(
100 | |     apple,
101 | |     target_os = "aix",
102 | |     target_os = "espidf",
103 | |     target_os = "haiku",
104 | |     target_os = "nto"
105 | | )))]
    | |____^
note: found an item that was configured out
   --> /Users/eduardo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.41/src/pipe.rs:25:31
    |
25  | pub use backend::pipe::types::PipeFlags;
    |                               ^^^^^^^^^
note: the item is gated here
   --> /Users/eduardo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.41/src/pipe.rs:24:1
    |
24  | #[cfg(not(apple))]
    | ^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0432`.
error: could not compile `smithay-client-toolkit` (lib) due to 2 previous errors

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions