Stream: git-wasmtime

Topic: wasmtime / PR #10809 Add a `rustfmt.toml` to the repository


view this post on Zulip Wasmtime GitHub notifications bot (May 19 2025 at 18:58):

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 have rustfmt.toml with and edition configuration. This looks to be because cargo fmt reads the edition field in Cargo.toml, but running rustfmt directly doesn't do that. Editors often run rustfmt directly meaning they format differently than cargo fmt without this configuration.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (May 19 2025 at 18:58):

alexcrichton requested pchickey for a review on PR #10809.

view this post on Zulip Wasmtime GitHub notifications bot (May 19 2025 at 18:58):

alexcrichton requested wasmtime-default-reviewers for a review on PR #10809.

view this post on Zulip Wasmtime GitHub notifications bot (May 20 2025 at 13:37):

alexcrichton requested wasmtime-default-reviewers for a review on PR #10809.

view this post on Zulip Wasmtime GitHub notifications bot (May 20 2025 at 13:37):

alexcrichton requested cfallin for a review on PR #10809.

view this post on Zulip Wasmtime GitHub notifications bot (May 20 2025 at 16:13):

cfallin submitted PR review:

:+1:

view this post on Zulip Wasmtime GitHub notifications bot (May 20 2025 at 16:34):

cfallin merged PR #10809.


Last updated: Dec 06 2025 at 06:05 UTC