Uh oh!
There was an error while loading. Please reload this page.
Refactor interning to properly mark memory as mutable or immutable - #58351
Conversation
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
7d53e06 to
11518e2Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
98039de to
7e8dc45CompareRalfJung
commented
Feb 20, 2019
I guess this is a good time to fix that as well? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
7e8dc45 to
99d3e10Comparebors
commented
Feb 24, 2019
☔ The latest upstream changes (presumably #58691) made this pull request unmergeable. Please resolve the merge conflicts. |
Uh oh!
There was an error while loading. Please reload this page.
a4ba6bf to
acc5c58Compareoli-obk
commented
Mar 7, 2019
done |
oli-obk
commented
Mar 7, 2019
@RalfJung I think it would make sense to merge this now and resolve the checkboxes from the OP in a separate PR. |
bors
commented
Mar 16, 2019
☔ The latest upstream changes (presumably #59226) made this pull request unmergeable. Please resolve the merge conflicts. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
oli-obk
commented
Jun 19, 2019
@bors r=RalfJung |
bors
commented
Jun 19, 2019
📌 Commit 62af19b has been approved by |
rust-highfive
commented
Jun 19, 2019
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 |
oli-obk
commented
Jun 19, 2019
@bors r- |
fc15d7c to
ce39fffCompareRalfJung
commented
Jun 19, 2019
"Was lange währt wird endlich gut" |
bors
commented
Jun 19, 2019
📌 Commit cd290c7 has been approved by |
bors
commented
Jun 19, 2019
Refactor interning to properly mark memory as mutable or immutable r? @RalfJung This implementation is incomplete out of multiple reasons * [ ] add `-Zunleash_the_miri_inside_of_you` tests * [ ] report an error if there's an `UnsafeCell` behind a reference in a constant * [ ] make validity checks actually test whether the mutability of their allocations match what they see in the type
bors
commented
Jun 19, 2019
☀️ Test successful - checks-travis, status-appveyor |
mati865
commented
Jun 20, 2019
Was this kind of perf regression expected? |
oli-obk
commented
Jun 20, 2019
partly, all the ctfe ones were definitely expected, since we are doing more work now in order to place constants into the correct memory location (before we were doing a kind of best effort thing that overaggressively placed constants into mutable memory). I'll look into improving this though. |
r? @RalfJung
This implementation is incomplete out of multiple reasons
-Zunleash_the_miri_inside_of_youtestsUnsafeCellbehind a reference in a constant