abrown requested wasmtime-compiler-reviewers for a review on PR #10352.
abrown opened PR #10352 from abrown:assembler-move-isle-generation
to bytecodealliance:main
:
Previously, the new
cranelift-assembler-x64
crate would generate the assembler Rust code, the ISLE integration code, and the ISLE's accompanying Rust macro all in the same crate. Because these last two files were generated in the assembler'sOUT_DIR
, they caused issues for deterministic builds that expect those files incranelift-codegen
'sOUT_DIR
(see #10348). This change fixes that by moving all of the assembler's generated integration code, the ISLE instruction definitions and their accompanying Rust macro, to thecranelift-codegen-meta
crate.This has the added advantage that
cranelift-assembler-x64
now can focus exclusively on being an assembler and not being concerned with the ISLE integration, which is substantial.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
abrown requested fitzgen for a review on PR #10352.
abrown requested wasmtime-default-reviewers for a review on PR #10352.
github-actions[bot] commented on PR #10352:
Subscribe to Label Action
cc @cfallin, @fitzgen
<details>
This issue or pull request has been labeled: "cranelift", "cranelift:area:x64", "cranelift:meta", "isle"Thus the following users have been cc'd because of the following labels:
- cfallin: isle
- fitzgen: isle
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
abrown updated PR #10352.
cfallin submitted PR review:
Nice!
cfallin created PR review comment:
FWIW, we removed the invocation of
rustfmt
in #9901 for the main meta crate; it's an artifact of an earlier time when we had the code checked into git, but we don't now, and it can cause issues in certain build environments -- probably ok to remove it here too?
abrown updated PR #10352.
abrown has enabled auto merge for PR #10352.
abrown merged PR #10352.
Last updated: Apr 18 2025 at 08:04 UTC