Uh oh!
There was an error while loading. Please reload this page.
Avoid reseting the thread local interner at the beginning of phase_1_parse_input - #34856
Conversation
cc @cgswords@murarth |
nrc
commented
Jul 17, 2016
@bors: r+ |
bors
commented
Jul 17, 2016
📌 Commit d008b3f has been approved by |
bors
commented
Jul 17, 2016
⌛ Testing commit d008b3f with merge 5f01508... |
bors
commented
Jul 17, 2016
💔 Test failed - auto-mac-64-opt |
bors
commented
Jul 18, 2016
☔ The latest upstream changes (presumably #34860) made this pull request unmergeable. Please resolve the merge conflicts. |
remove the thread local state reset at the beginning of `phase_1_parse_input`.
d008b3f to
0042c1aComparejseyfried
commented
Jul 18, 2016
@bors r=nrc |
bors
commented
Jul 18, 2016
📌 Commit 0042c1a has been approved by |
bors
commented
Jul 18, 2016
⌛ Testing commit 0042c1a with merge 26fdb8a... |
bors
commented
Jul 18, 2016
💔 Test failed - auto-mac-64-opt |
jseyfried
commented
Jul 22, 2016
I weakened the test that was causing problems on Mac and added a |
There was a problem hiding this comment.
can you open an issue about the fact that this test is unrealiable and put the FIXME with that issue number?
66fc469 to
a279f2fComparenikomatsakis
commented
Jul 25, 2016
@jseyfried r=me for that |
jseyfried
commented
Jul 25, 2016
@bors r=nrc |
bors
commented
Jul 25, 2016
📌 Commit a279f2f has been approved by |
bors
commented
Jul 25, 2016
⌛ Testing commit a279f2f with merge fa1f199... |
bors
commented
Jul 25, 2016
💔 Test failed - auto-win-gnu-32-opt |
alexcrichton
commented
Jul 25, 2016
@bors: retry On Mon, Jul 25, 2016 at 2:49 PM, bors notifications@github.com wrote:
|
bors
commented
Jul 26, 2016
⌛ Testing commit a279f2f with merge d588189... |
bors
commented
Jul 26, 2016
💔 Test failed - auto-win-msvc-64-opt |
alexcrichton
commented
Jul 26, 2016
@bors: retry On Tue, Jul 26, 2016 at 3:09 AM, bors notifications@github.com wrote:
|
bors
commented
Jul 27, 2016
Avoid reseting the thread local interner at the beginning of `phase_1_parse_input` The thread local interner is used before `phase_1_parse_input` to create `InternedString`s, which currently wrap `Rc<String>`s. Once `InternedString` is refactored to be an interned string id (like `Name`), resetting will invalidate everything that was interned before `phase_1_parse_input`. The resets were only useful for the `rusti` project, which can now use `driver::reset_thread_local_state`. r? @nrc
The thread local interner is used before
phase_1_parse_inputto createInternedStrings, which currently wrapRc<String>s. OnceInternedStringis refactored to be an interned string id (likeName), resetting will invalidate everything that was interned beforephase_1_parse_input.The resets were only useful for the
rustiproject, which can now usedriver::reset_thread_local_state.r? @nrc