-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ICH: Function unsafety does not affect incr. comp. hash #36914
Comments
Does function unsafety actually affect the generated code? Shouldn't it only affect whether you're allowed to perform certain operations? |
I don't think it does yet but it likely will in the future because the compiler will be more conservative regarding optimizations around unsafe code. I think there's some information o that in http://smallcultfollowing.com/babysteps/blog/2016/05/27/the-tootsie-pop-model-for-unsafe-code. Another thing to consider is that at some point we will cache more than just machine code, so if something influences just analysis, we also have to be able to track it. |
…Interfaces, r=michaelwoerister Mb/36812 ich function interfaces r? @michaelwoerister This PR contains fixes for rust-lang#36812 and rust-lang#36914
See #36812 (comment)
The text was updated successfully, but these errors were encountered: