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

Fix some atrocious bugs #14

Merged
merged 2 commits into from
Aug 31, 2019
Merged

Fix some atrocious bugs #14

merged 2 commits into from
Aug 31, 2019

Conversation

infinity0
Copy link
Contributor

The parser state is designed from the perspective of a one-pass algorithm and seeking-related functions (jump_to_entry) didn't update this correctly. This PR fixes that and adds a test case.

@bjorn3
Copy link
Contributor

bjorn3 commented Aug 31, 2019

I hope this is the root cause of https://github.com/bjorn3/rustc_codegen_cranelift/issues/672.

Edit: indeed it is

@mdsteele mdsteele merged commit 2417d06 into mdsteele:master Aug 31, 2019
@mdsteele
Copy link
Owner

Thanks!

@bjorn3
Copy link
Contributor

bjorn3 commented Aug 31, 2019

Could you please publish a new version on crates.io?

@bjorn3
Copy link
Contributor

bjorn3 commented Aug 31, 2019

Also I think the new version number should be 0.7.1, as it is a bug fix, not 0.8.0 like @infinity0 chose.

@mdsteele
Copy link
Owner

Just pushed it as v0.8.0. (Yeah, maybe should have been 0.7.1, but too late now.)

@bjorn3
Copy link
Contributor

bjorn3 commented Aug 31, 2019

0.8.0 is not a disaster :)

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