Created
April 9, 2020 10:20
-
-
Save aep/4a3288037f7ce186d88bb58cb70e9c8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: `extern` block uses type `fn(*mut u8, *mut u8, usize, *mut u8, *mut usize) -> zz::io::Result`, which is not FFI-safe | |
--> src/../target/release/rs/io_unix.rs:21:48 | |
| | |
21 | pub fn unix( Zfd: std::os::raw::c_int) -> super::io::Io; | |
| ^^^^^^^^^^^^^ not FFI-safe | |
| | |
= help: consider using an `extern fn(...) -> ...` function pointer instead | |
= note: this function pointer has Rust-specific calling convention |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment