Skip to content

Commit 4e1f84f

Browse files
committed
rust: add -Wcast-function-type to the bindgen skip list
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent a9e42a9 commit 4e1f84f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ bindgen_skip_c_flags := -mno-fp-ret-in-387 -mpreferred-stack-boundary=% \
208208
-Wno-stringop-truncation -Wno-unused-but-set-variable \
209209
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized \
210210
-Werror=designated-init -Wno-zero-length-bounds -Wimplicit-fallthrough=% \
211-
-Wno-alloc-size-larger-than \
211+
-Wno-alloc-size-larger-than -Wcast-function-type \
212212
--param=% --param asan-%
213213

214214
# Derived from `scripts/Makefile.clang`

0 commit comments

Comments
 (0)