We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc 1.17.0-nightly (60a0edc 2017-02-26)
Such code compiles fine:
#[repr(C)] #[derive(Debug)] pub struct JNINativeInterface_ { pub GetVersion: ::std::option::Option<unsafe extern "C" fn(env: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int>, } fn main() { }
But if I change "C" to "stdcall" then:
error[E0277]: the trait bound unsafe extern "stdcall" fn(*mut std::os::raw::c_v oid) -> i32: std::fmt::Debug is not satisfied
unsafe extern "stdcall" fn(*mut std::os::raw::c_v oid) -> i32: std::fmt::Debug
The text was updated successfully, but these errors were encountered:
The reason: #38848 (comment)
Sorry, something went wrong.
Close this in favor of more general #40710?
No branches or pull requests
rustc 1.17.0-nightly (60a0edc 2017-02-26)
Such code compiles fine:
But if I change "C" to "stdcall" then:
The text was updated successfully, but these errors were encountered: