mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01: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 changed files with 1 additions and 0 deletions
1
rustfmt.toml
Normal file
1
rustfmt.toml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
edition = "2021"
|
||||||
Loading…
Add table
Reference in a new issue