Skip to content

Fails to build on x86_64-unknown-netbsd #344

@lnicola

Description

@lnicola
$ git checkout 5.0.0-pre.11
Previous HEAD position was 43ea645 Add missing comma in "As used by:" list
HEAD is now at 71c57b4 Prepare 5.0.0-pre.11
$ cargo build --target x86_64-unknown-netbsd
Updating crates.io index
   Compiling kqueue-sys v1.0.2
error[E0308]: mismatched types
  --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/kqueue-sys-1.0.2/src/lib.rs:68:20
   |
68 |             udata: ptr::null_mut(),
   |                    ^^^^^^^^^^^^^^^ expected `isize`, found *-ptr
   |
   = note:     expected type `isize`
           found raw pointer `*mut _`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: could not compile `kqueue-sys`

To learn more, run the command again with --verbose.

Spotted in rust-lang/rust#87719 (comment).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions