summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2026-06-08 16:14:36 +0200
committerMiguel Ojeda <ojeda@kernel.org>2026-06-09 04:13:23 +0200
commit506054980429497d106261568bd39c22a40e0fdd (patch)
tree6b69f7a7a59c0e962e552b03490f3b99fd24a37a /Makefile
parentca06116d62bf78e420a528ee4febc8451b9f12e8 (diff)
downloadlinux-2.6-506054980429497d106261568bd39c22a40e0fdd.tar.gz
linux-2.6-506054980429497d106261568bd39c22a40e0fdd.zip
rust: zerocopy-derive: 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. In addition, skip formatting for this vendored crate. Link: https://patch.msgid.link/20260608141439.182634-18-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 33135f39bbee..c71c43bc3658 100644
--- a/Makefile
+++ b/Makefile
@@ -1957,6 +1957,7 @@ rustfmt:
-o -path $(srctree)/rust/quote \
-o -path $(srctree)/rust/syn \
-o -path $(srctree)/rust/zerocopy \
+ -o -path $(srctree)/rust/zerocopy-derive \
\) -prune -o \
-type f -a -name '*.rs' -a ! -name '*generated*' -print \
| xargs $(RUSTFMT) $(rustfmt_flags)