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
{{ message }}
This repository has been archived by the owner on May 11, 2023. It is now read-only.
$ cargo build --release
...
Compiling filebuffer v0.4.0
error[E0308]: mismatched types
--> /home/yonas/.cargo/registry/src/github.com-1ecc6299db9ec823/filebuffer-0.4.0/src/unix.rs:64:60
|
64 | libc::mincore(buffer as *mut libc::c_void, length, residency_uchar)
| ------------- ^^^^^^^^^^^^^^^ expected `i8`, found `u8`
| |
| arguments to this function are incorrect
|
= note: expected raw pointer `*mut i8`
found raw pointer `*mut u8`
note: function defined here
--> /home/yonas/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.132/src/unix/bsd/freebsdlike/mod.rs:1539:12
|
1539 | pub fn mincore(addr: *const ::c_void, len: ::size_t, vec: *mut ::c_char) -> ::c_int;
| ^^^^^^^
For more information about this error, try `rustc --explain E0308`.
error: could not compile `filebuffer` due to previous error
warning: build failed, waiting for other jobs to finish...
OS: FreeBSD 13.1 amd64
Cargo: 1.63.0
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
OS:
FreeBSD 13.1 amd64
Cargo:
1.63.0
The text was updated successfully, but these errors were encountered: