polling icon indicating copy to clipboard operation
polling copied to clipboard

port to qnx

Open dantunan opened this issue 1 year ago • 3 comments

dantunan avatar May 03 '24 05:05 dantunan

@taiki-e Is this failure a result of the cross tool chain action?

notgull avatar May 03 '24 06:05 notgull

@taiki-e Is this failure a result of the cross tool chain action?

Rust 1.78 contains changes that cause compatibility issues with older wine/mingw toolchains. (e.g., https://github.com/rust-lang/rust/issues/123999 https://github.com/rust-lang/rust/issues/122228) Removing the following line and using the latest stable Wine version that is used by default by setup-cross-toolchain-action should fix the problem.

https://github.com/smol-rs/polling/blob/0b4afcaf0a61ee06087d77c490abf8802f91aeff/.github/workflows/ci.yml#L142

taiki-e avatar May 03 '24 06:05 taiki-e

Hello @dantunan! Just wanted to check in.

Is this PR tested on the actual QNX operating system? If so I would be happy to merge it.

notgull avatar May 19 '24 22:05 notgull

if you do not merge it

error[E0432]: unresolved import `rustix::pipe::pipe_with`
   --> src/poll.rs:639:9
    |
639 |     use rustix::pipe::pipe_with;
    |         ^^^^^^^^^^^^^^^^^^^^^^^ no `pipe_with` in `pipe`
    |
note: found an item that was configured out
   --> /home/pp/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.38.44/src/pipe.rs:108:8
    |
108 | pub fn pipe_with(flags: PipeFlags) -> io::Result<(OwnedFd, OwnedFd)> {
    |        ^^^^^^^^^
note: the item is gated here
   --> /home/pp/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.38.44/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 | | )))]
    | |____^

luyangliu616 avatar Apr 29 '25 07:04 luyangliu616

Published in 3.8.0.

taiki-e avatar May 25 '25 16:05 taiki-e