ci: Also rustfmt binaries

The standard name for an executable is main.rs.  Also fix the rusticl
docs while we're at it.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26546>
This commit is contained in:
Faith Ekstrand
2023-12-06 09:14:21 -06:00
committed by Marge Bot
parent 03f1b99f50
commit fde43e44e9
2 changed files with 2 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ rustfmt:
- shopt -s globstar - shopt -s globstar
- rustfmt --version - rustfmt --version
- rustfmt --verbose src/**/lib.rs - rustfmt --verbose src/**/lib.rs
- rustfmt --verbose src/**/main.rs
clang-format: clang-format:
extends: extends:

View File

@@ -86,7 +86,7 @@ that add new features should be ran against the appropriate conformance
tests. tests.
Also, make sure the formatting is in order before submitting code. That Also, make sure the formatting is in order before submitting code. That
can easily be done via ``git ls-files */{lib,app}.rs | xargs rustfmt``. can easily be done via ``git ls-files */{lib,main}.rs | xargs rustfmt``.
When submitting Merge Requests or filing bugs related to Rusticl, make When submitting Merge Requests or filing bugs related to Rusticl, make
sure to add the ``Rusticl`` label so people subscribed to that Label get sure to add the ``Rusticl`` label so people subscribed to that Label get