Open
Description
Several flags added for Solaris are 64-bit unsigned integers causing:
error[E0308]: mismatched types
--> /pool/projects/rust/rust-1.67.0/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.22.3/src/macros.rs:56:35
|
41 | / macro_rules! libc_bitflags {
42 | | (
43 | | $(#[$outer:meta])*
44 | | pub struct $BitFlags:ident: $T:ty {
... |
56 | | const $Flag = libc::$Flag $(as $cast)*;
| | ^^^^^^^^^^^ expected `i32`, found `i64`
... |
60 | | };
61 | | }
| |_- in this expansion of `libc_bitflags!`
|
::: /pool/projects/rust/rust-1.67.0/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.22.3/src/net/if_.rs:20:1
|
20 | / libc_bitflags!(
21 | | /// Standard interface flags, used by `getifaddrs`
22 | | pub struct InterfaceFlags: libc::c_int {
23 | | /// Interface is running. (see
... |
268 | | }
269 | | );
| |__- in this macro invocation