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 Dec 29, 2023. It is now read-only.
The dummy member is not pub; where are you seeing it not be opaque?
The dummy pointer member disables Send and Sync. There are other ways in unstable Rust.
Also at the time of writing I recall an error or warning for empty structs. The recommended alternative was to use an empty enum, but I didn't like the way ErlNifEnv listed an enum in the docs, so stuck with struct. I suspect this may have changed in current Rust.
When both points above can be resolved in stable Rust I'll happily make the struct size 0.
It is supposed to be opaque. It should at least be of size 0.
The text was updated successfully, but these errors were encountered: