Skip to content

Commit 62b8e05

Browse files
LingManMarge Bot
LingMan
authored and
Marge Bot
committed
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 <[email protected]> Reviewed-by: Karol Herbst <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31510>
1 parent 0ff3e2a commit 62b8e05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rustfmt.toml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
edition = "2021"

0 commit comments

Comments
 (0)