-
Notifications
You must be signed in to change notification settings - Fork 824
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
Conversation
) -> cranelift_wasm::SignatureIndex { | ||
let sig_index: SigIndex = self.module.info.func_assoc[Converter(func_index).into()]; | ||
Converter(sig_index).into() | ||
} |
There was a problem hiding this comment.
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.
bors try |
Remove unnecessary `<'a>` from Converter Co-Authored-By: bjfish <[email protected]>
bors try |
bors try |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great 👍
bors r+ |
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]>
Some API changes were addressed:
ModuleEnvironment
many trait methods removed: bytecodealliance/cranelift@459f6dd#diff-0682a088315ee358a75d4b60bc72dafcdeclare_table_elements
parameter type changed: bytecodealliance/cranelift@64ea964UnreachableCodeReached
trap code added: bytecodealliance/cranelift@1c43ad7declare_signature
signature updated: bytecodealliance/cranelift@8a24539define_function_body
parameter added: bytecodealliance/cranelift@37dffdatarget_lexicon
dependency updated to version0.3.0