Uh oh!
There was an error while loading. Please reload this page.
Misc changes from my parallel rustc branch - #49030
Conversation
michaelwoerister
commented
Mar 16, 2018
"Make Span and Symbol implement Send and Sync" (04e2088) is the only change that worries me a little. Since #48811 landed, it should be correct to share these between threads (with and without |
Zoxc
commented
Mar 16, 2018
@michaelwoerister It is always memory-safe to share them between threads. However it only actually works properly if you use them with the same interner and point the scoped thread local to the right interner on other threads. With |
michaelwoerister
commented
Mar 16, 2018
Can you add a comment that explains why the Ideally we'll have lifetimes on everything that's interned. That would make us not depend on runtime errors. |
85d6ee8 to
d1fae9bCompareZoxc
commented
Mar 17, 2018
@michaelwoerister I added comment about that. I also removed a change which caused a panic on Travis. I couldn't reproduce it locally so I just removed it for now. |
michaelwoerister
commented
Mar 19, 2018
Thanks, @Zoxc, I'll re-review asap. |
michaelwoerister
commented
Mar 19, 2018
bors
commented
Mar 19, 2018
📌 Commit e09c2ff has been approved by |
Misc changes from my parallel rustc branch r? @michaelwoerister
r? @michaelwoerister