-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Remove some unsound specializations #68358
Conversation
r? @KodrAus (rust_highfive has picked a reviewer for you, use r? to override) |
I'm running perf, but I suspect that this is more likely to affect other applications more than the compiler. |
Awaiting bors try build completion |
⌛ Trying commit 70e00844d4f12bf72c585d95a31b5402487efa85 with merge 7aaf7627e1102ae1adad316889196660d88879c8... |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
☀️ Try build successful - checks-azure |
Queued 7aaf7627e1102ae1adad316889196660d88879c8 with parent 1ce08f9, future comparison URL. |
70e0084
to
79e0098
Compare
This comment has been minimized.
This comment has been minimized.
79e0098
to
5665834
Compare
This comment has been minimized.
This comment has been minimized.
5665834
to
4896837
Compare
This comment has been minimized.
This comment has been minimized.
4896837
to
0998993
Compare
This comment has been minimized.
This comment has been minimized.
0998993
to
a81c59f
Compare
@bors r+ |
📌 Commit a81c59f has been approved by |
Remove some unsound specializations This removes the unsound and exploitable specializations in the standard library * The `PartialEq` and `Hash` implementations for `RangeInclusive` are changed to avoid specialization. * The `PartialOrd` specialization for slices now specializes on a limited set of concrete types. * Added some tests for the soundness problems.
Remove some unsound specializations This removes the unsound and exploitable specializations in the standard library * The `PartialEq` and `Hash` implementations for `RangeInclusive` are changed to avoid specialization. * The `PartialOrd` specialization for slices now specializes on a limited set of concrete types. * Added some tests for the soundness problems.
☀️ Test successful - checks-azure |
This removes the unsound and exploitable specializations in the standard library
PartialEq
andHash
implementations forRangeInclusive
are changed to avoid specialization.PartialOrd
specialization for slices now specializes on a limited set of concrete types.