Skip to content

Fix some atrocious bugs - #14

Merged
mdsteele merged 2 commits into
mdsteele:masterfrom
infinity0:master
Aug 31, 2019
Merged

Fix some atrocious bugs#14
mdsteele merged 2 commits into
mdsteele:masterfrom
infinity0:master

Conversation

@infinity0

Copy link
Copy Markdown
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

bjorn3 commented Aug 31, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Owner

Thanks!

@bjorn3

bjorn3 commented Aug 31, 2019

Copy link
Copy Markdown
Contributor

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

@bjorn3

bjorn3 commented Aug 31, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Owner

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

@bjorn3

bjorn3 commented Aug 31, 2019

Copy link
Copy Markdown
Contributor

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