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
Reflection prevents using Rust to write a dynamic library with a stable ABI. There is simply no way to hide implementation details of a type, since priv isn't strictly enforced for reads.
I think we'll end up regarding allowing walking arbitrary types in release builds as a mistake, even if there currently isn't consensus that it's a bad idea. There's no problem with this functionality existing for debugging, but there are certainly drawbacks to having it as a supported general purpose feature.
The text was updated successfully, but these errors were encountered:
Reflection prevents using Rust to write a dynamic library with a stable ABI. There is simply no way to hide implementation details of a type, since
priv
isn't strictly enforced for reads.I think we'll end up regarding allowing walking arbitrary types in release builds as a mistake, even if there currently isn't consensus that it's a bad idea. There's no problem with this functionality existing for debugging, but there are certainly drawbacks to having it as a supported general purpose feature.
The text was updated successfully, but these errors were encountered: