aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2025-11-24 16:18:31 +0100
committerMiguel Ojeda <ojeda@kernel.org>2025-11-24 17:15:48 +0100
commit737401751ace2d806de6854aee52c176141d10e2 (patch)
tree3e33e561226559c10ccf45386c0a32a0a4467418 /Makefile
parent1112ba865526588007f2e415da96d0df335f5bf8 (diff)
rust: syn: enable support in kbuild
With all the new files in place and ready from the new crate, enable the support for it in the build system. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Gary Guo <gary@garyguo.net> Tested-by: Gary Guo <gary@garyguo.net> Tested-by: Jesung Yang <y.j3ms.n@gmail.com> Link: https://patch.msgid.link/20251124151837.2184382-20-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 85da055e4f00..96ddbaae7e12 100644
--- a/Makefile
+++ b/Makefile
@@ -1835,6 +1835,7 @@ rustfmt:
\( \
-path $(srctree)/rust/proc-macro2 \
-o -path $(srctree)/rust/quote \
+ -o -path $(srctree)/rust/syn \
\) -prune -o \
-type f -a -name '*.rs' -a ! -name '*generated*' -print \
| xargs $(RUSTFMT) $(rustfmt_flags)