Skip to contentSkip to conversation

kbuild: rust: clean `zerocopy-derive` in `mrproper`

PATCH In review Miguel Ojeda 2 participants 2 messages Jun 10 – Jun 11

Subsystems (2)
lore
Share & tools
lore

Miguel Ojeda

author maintainer
#0 lore raw

PATCH 1/1 kbuild: rust: clean `zerocopy-derive` in `mrproper`

Just like for the other two Rust proc macros, remove the artifacts in mrproper.

This should have been part of commit 506054980429 ("rust: zerocopy-derive:
enable support in kbuild").

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Makefile +2 -1
index c71c43bc3658..8235b6a9b3cc 100644
@@ -1705,7 +1705,8 @@ MRPROPER_FILES += include/config include/generated          \
 		  vmlinux-gdb.py \
 		  rpmbuild \
 		  rust/libmacros.so rust/libmacros.dylib \
-		  rust/libpin_init_internal.so rust/libpin_init_internal.dylib
+		  rust/libpin_init_internal.so rust/libpin_init_internal.dylib \
+		  rust/libzerocopy_derive.so rust/libzerocopy_derive.dylib
 
 # clean - Delete most, but leave enough to build external modules
 #

base-commit: 8d49d90fb9f0fd5a0355b4b705395c9ba833415b

Signature · 1 line
2.54.0
#1 lore raw
Quoted 8 lines · Miguel Ojeda

Just like for the other two Rust proc macros, remove the artifacts in mrproper.

This should have been part of commit 506054980429 ("rust: zerocopy-derive:
enable support in kbuild").

Applied early to rust-next -- thanks!

Cheers,
Miguel