Skip to content

Commit 51a2b6c

Browse files
authored
Merge pull request #316 from nbdd0121/rust
Prevent bindgen from generating `#[derive(Debug)]`
2 parents 7c23865 + 211d8ae commit 51a2b6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ quiet_cmd_bindgen = BINDGEN $@
9191
cmd_bindgen = \
9292
$(BINDGEN) $< $(shell grep -v '^\#\|^$$' $(srctree)/rust/bindgen_parameters) \
9393
--use-core --with-derive-default --ctypes-prefix c_types \
94+
--no-debug '.*' \
9495
--size_t-is-usize -o $@ -- $(bindgen_c_flags_final) -DMODULE
9596

9697
$(objtree)/rust/bindings_generated.rs: $(srctree)/rust/kernel/bindings_helper.h \

0 commit comments

Comments
 (0)