Skip to content
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

allow interner cache to be shared across parsers (#3699) #3700

Merged
merged 1 commit into from
Oct 9, 2012

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Oct 8, 2012

This patch is to potentially fix (#3699). It allows the parser interner cache to be shared between multiple parsers on the same thread. I'm not quite sure what the consequences of this are, but most of the tests pass on my laptop (the failures already exist on incoming so I believe they are unrelated). cargo install mongrel2 works as well.

@paulstansifer
Copy link
Contributor

The code change looks good to me. I don't fully remember why the original code failed rather than returning the existing interner; I guess I figured that interner creation was (and ought to be) statically guaranteed to happen in only one place.

catamorphism added a commit that referenced this pull request Oct 9, 2012
allow interner cache to be shared across parsers (#3699)
@catamorphism catamorphism merged commit 15d8457 into rust-lang:incoming Oct 9, 2012
@catamorphism
Copy link
Contributor

Thanks!

RalfJung pushed a commit to RalfJung/rust that referenced this pull request Jun 29, 2024
./miri: nicer error when building miri-script fails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants