-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
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
Warnings with abi3 #1311
Comments
Thanks, looks like a new warning? |
Hm, I wonder how one is to refer to external opaque C objects then... |
From https://doc.rust-lang.org/nightly/nomicon/ffi.html#representing-opaque-structs (which is linked in the mentioned issue as the current workaround until we have stable
|
birkenfeld
added a commit
to birkenfeld/pyo3
that referenced
this issue
Dec 12, 2020
After `extern { type ... }` has stabilized for a while, this can be replaced. For now, I used a macro since it is much easier to spot the locations to touch at that time. fixes PyO3#1311
birkenfeld
added a commit
to birkenfeld/pyo3
that referenced
this issue
Dec 12, 2020
After `extern { type ... }` has stabilized for a while, this can be replaced. For now, I used a macro since it is much easier to spot the locations to touch at that time. fixes PyO3#1311
birkenfeld
added a commit
to birkenfeld/pyo3
that referenced
this issue
Dec 12, 2020
After `extern { type ... }` has stabilized for a while, this can be replaced. For now, I used a macro since it is much easier to spot the locations to touch at that time. fixes PyO3#1311
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting the following warnings when compiling a small test module with rustc nightly, pyo3 master and features
["abi3", "extension-module"]
:The text was updated successfully, but these errors were encountered: