-
Notifications
You must be signed in to change notification settings - Fork 101
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
Symbol::<'lib, T>::into_raw()
is not unsafe
#111
Comments
So, the somewhat unfortunate thing is that there’s no other place to put an For Hopefully that makes sense? (NB: this is largely closely related to #13 – yes |
Hmm, I think I understand your point. So in Actually, since |
If a raw symbol is created and never used, it's impossible to cause undefined behavior, even if the library is unloaded - creating a raw symbol isn't unsafe, using it is.
The text was updated successfully, but these errors were encountered: