port to qnx
@taiki-e Is this failure a result of the cross tool chain action?
@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
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.
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 | | )))]
| |____^
Published in 3.8.0.