abrown requested fitzgen for a review on PR #10178.
abrown requested wasmtime-compiler-reviewers for a review on PR #10178.
abrown opened PR #10178 from abrown:assembler-docs to bytecodealliance:main:
This change is motivated by staring at the output of
cargo docfor thecranelift-assembler-x64crate. In order to write a sensible top-level example, I felt it was best to refactor how we construct the instructions: this removes thebuildmodule and adds conventional<inst_name>::newfunctions to each instruction. Also, a generatedFromimplementation makes it easier to convert to anInst.This change has other doc-related refactorings and tweaks, but should not change any functionality.
<!--
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
-->
fitzgen submitted PR review:
nice, thanks!
fitzgen merged PR #10178.
Last updated: Dec 13 2025 at 19:03 UTC