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
We have:
web-view/webview-sys/lib.rs
Line 13 in 00bbb3a
Even though the book was recommending to use empty enums for opaque FFI pointer types, it's not recommended anymore because it turned out it's UB:
https://www.reddit.com/r/rust/comments/a3bf2p/patterns_of_refactoring_c_to_rust_the_case_of/eb5xqje/
So it should be
#[repr(C)] pub struct CWebView { _private: [u8; 0] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have:
web-view/webview-sys/lib.rs
Line 13 in 00bbb3a
Even though the book was recommending to use empty enums for opaque FFI pointer types, it's not recommended anymore because it turned out it's UB:
https://www.reddit.com/r/rust/comments/a3bf2p/patterns_of_refactoring_c_to_rust_the_case_of/eb5xqje/
So it should be
The text was updated successfully, but these errors were encountered: