Skip to content

Commit

Permalink
Merge pull request Rust-for-Linux#316 from nbdd0121/rust
Browse files Browse the repository at this point in the history
Prevent bindgen from generating `#[derive(Debug)]`
  • Loading branch information
alex authored May 29, 2021
2 parents 7c23865 + 211d8ae commit 51a2b6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ quiet_cmd_bindgen = BINDGEN $@
cmd_bindgen = \
$(BINDGEN) $< $(shell grep -v '^\#\|^$$' $(srctree)/rust/bindgen_parameters) \
--use-core --with-derive-default --ctypes-prefix c_types \
--no-debug '.*' \
--size_t-is-usize -o $@ -- $(bindgen_c_flags_final) -DMODULE

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

0 comments on commit 51a2b6c

Please sign in to comment.