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

Update to Cranelift 0.3.0 #321

Merged
merged 5 commits into from
Apr 4, 2019
Merged

Update to Cranelift 0.3.0 #321

merged 5 commits into from
Apr 4, 2019

Conversation

bjfish
Copy link
Contributor

@bjfish bjfish commented Apr 3, 2019

Some API changes were addressed:

@bjfish bjfish requested a review from lachlansneff April 3, 2019 05:16
) -> cranelift_wasm::SignatureIndex {
let sig_index: SigIndex = self.module.info.func_assoc[Converter(func_index).into()];
Converter(sig_index).into()
}
Copy link
Contributor Author

@bjfish bjfish Apr 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were the only two of the removed trait methods that were used within our codebase, so I added them back here.

@bjfish
Copy link
Contributor Author

bjfish commented Apr 3, 2019

bors try

bors bot added a commit that referenced this pull request Apr 3, 2019
@bors
Copy link
Contributor

bors bot commented Apr 3, 2019

@bjfish
Copy link
Contributor Author

bjfish commented Apr 3, 2019

bors try

bors bot added a commit that referenced this pull request Apr 3, 2019
@bors
Copy link
Contributor

bors bot commented Apr 3, 2019

@bjfish
Copy link
Contributor Author

bjfish commented Apr 4, 2019

bors try

bors bot added a commit that referenced this pull request Apr 4, 2019
@bors
Copy link
Contributor

bors bot commented Apr 4, 2019

Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 👍

@bjfish
Copy link
Contributor Author

bjfish commented Apr 4, 2019

bors r+

bors bot added a commit that referenced this pull request Apr 4, 2019
321: Update to Cranelift 0.3.0 r=bjfish a=bjfish

Some API changes were addressed:
- `ModuleEnvironment` many trait methods removed: bytecodealliance/cranelift@459f6dd#diff-0682a088315ee358a75d4b60bc72dafc
- `declare_table_elements` parameter type changed: bytecodealliance/cranelift@64ea964
- `UnreachableCodeReached` trap code added: bytecodealliance/cranelift@1c43ad7
- `declare_signature` signature updated: bytecodealliance/cranelift@8a24539
- `define_function_body` parameter added: bytecodealliance/cranelift@37dffda
- `target_lexicon` dependency updated to version `0.3.0`

Co-authored-by: Brandon Fish <[email protected]>
Co-authored-by: Syrus Akbary <[email protected]>
Co-authored-by: Brandon Fish <[email protected]>
@bors
Copy link
Contributor

bors bot commented Apr 4, 2019

@bors bors bot merged commit 5fd0ee8 into master Apr 4, 2019
@bors bors bot deleted the feature/update-to-cranelift-0-3-0 branch April 4, 2019 17:19
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.

2 participants