Fails to install on MacOS
Created by: Thomasdezeeuw
Reproduction: Tried to install ion on MacOS.
Expected behavior: Sucessfull install.
Actual behavior: Got a compiler error:
error[E0425]: cannot find value `WCONTINUED` in this scope
--> /Users/thomas/.cargo/registry/src/github.com-1ecc6299db9ec823/ion-shell-1.0.4/src/shell/job_control.rs:83:57
|
83 | match waitpid(-(pid as pid_t), Some(WUNTRACED | WCONTINUED | WNOHANG)) {
| ^^^^^^^^^^ not found in this scope
|
help: possible candidates are found in other modules, you can import them into scope
|
76 | ) use libc::WCONTINUED;
|
76 | ) use nix::libc::WCONTINUED;
|
error: aborting due to previous error
error: failed to compile `ion-shell v1.0.4`, intermediate artifacts can be found at `/var/folders/lq/rzq0zxld0bb5mcy4jl1txrf00000gn/T/cargo-install.vz3Fh93nBvAP`
Caused by:
Could not compile `ion-shell`.
To learn more, run the command again with --verbose.