alexcrichton opened PR #10809 from alexcrichton:add-rustfmt-toml to bytecodealliance:main:
According to
https://doc.rust-lang.org/nightly/edition-guide/rust-2024/rustfmt-style-edition.html#migration and https://github.com/rust-lang/rustfmt?tab=readme-ov-file#tips it's now "strongly recommended" to haverustfmt.tomlwith and edition configuration. This looks to be becausecargo fmtreads theeditionfield inCargo.toml, but runningrustfmtdirectly doesn't do that. Editors often runrustfmtdirectly meaning they format differently thancargo fmtwithout this configuration.<!--
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
-->
alexcrichton requested pchickey for a review on PR #10809.
alexcrichton requested wasmtime-default-reviewers for a review on PR #10809.
alexcrichton requested wasmtime-default-reviewers for a review on PR #10809.
alexcrichton requested cfallin for a review on PR #10809.
cfallin submitted PR review:
:+1:
cfallin merged PR #10809.
Last updated: Dec 06 2025 at 06:05 UTC