-
-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
platform supportRequests to support a new platformRequests to support a new platform
Description
Illumos is the open source fork of Solaris.
While trying to build Starship https://starship.rs/ I get ...
$ cargo build
Compiling process_control v3.2.1
error[E0432]: unresolved import `libc::CLD_EXITED`
--> /home/david/.cargo/registry/src/github.com-1ecc6299db9ec823/process_control-3.2.1/src/unix.rs:17:5
|
17 | use libc::CLD_EXITED;
| ^^^^^^^^^^^^^^^^ no `CLD_EXITED` in the root
error[E0277]: the trait bound `i32: From<u32>` is not satisfied
--> /home/david/.cargo/registry/src/github.com-1ecc6299db9ec823/process_control-3.2.1/src/unix.rs:239:29
|
239 | pid.into(),
| ^^^^ the trait `From<u32>` is not implemented for `i32`
|
= help: the following implementations were found:
<i32 as From<NonZeroI32>>
<i32 as From<bool>>
<i32 as From<i16>>
<i32 as From<i8>>
and 2 others
= note: required because of the requirements on the impl of `Into<i32>` for `u32`
error[E0599]: no method named `si_status` found for struct `siginfo_t` in the current scope
--> /home/david/.cargo/registry/src/github.com-1ecc6299db9ec823/process_control-3.2.1/src/unix.rs:249:58
|
249 | ... value: unsafe { process_info.si_status() },
| ^^^^^^^^^ method not found in `siginfo_t`
Some errors have detailed explanations: E0277, E0432, E0599.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `process_control` due to 3 previous errors
which looks at least a bit like it might be related to #4
I realise that this is a Weird Platform, so if you need it I expect I can set up a guest account if that would help with debugging.
Metadata
Metadata
Assignees
Labels
platform supportRequests to support a new platformRequests to support a new platform