mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 02:04:41 +08:00
mesa: Add rustfmt.toml
Unless rustfmt gets informed that we use the 2021 edition, it chokes on C-string literals. Passing the `--edition` parameter with every invocation would be annoying. Create a config file instead. Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31510>
This commit is contained in:
parent
0ff3e2a0f9
commit
62b8e053f7
1
rustfmt.toml
Normal file
1
rustfmt.toml
Normal file
@ -0,0 +1 @@
|
||||
edition = "2021"
|
Loading…
Reference in New Issue
Block a user