File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ quiet_cmd_bindgen = BINDGEN $@
300300 $(BINDGEN ) $< $(bindgen_target_flags ) \
301301 --use-core --with-derive-default --ctypes-prefix core::ffi --no-layout-tests \
302302 --no-debug '.*' \
303- --size_t-is-usize - o $@ -- $(bindgen_c_flags_final ) -DMODULE \
303+ -o $@ -- $(bindgen_c_flags_final ) -DMODULE \
304304 $(bindgen_target_cflags ) $(bindgen_target_extra )
305305
306306$(obj ) /bindings/bindings_generated.rs : private bindgen_target_flags = \
@@ -320,8 +320,8 @@ $(obj)/uapi/uapi_generated.rs: $(src)/uapi/uapi_helper.h \
320320# given it is `libclang`; but for consistency, future Clang changes and/or
321321# a potential future GCC backend for `bindgen`, we disable it too.
322322$(obj ) /bindings/bindings_helpers_generated.rs : private bindgen_target_flags = \
323- --blacklist -type '.*' --whitelist -var '' \
324- --whitelist -function 'rust_helper_.*'
323+ --blocklist -type '.*' --allowlist -var '' \
324+ --allowlist -function 'rust_helper_.*'
325325$(obj ) /bindings/bindings_helpers_generated.rs : private bindgen_target_cflags = \
326326 -I$(objtree)/$(obj) -Wno-missing-prototypes -Wno-missing-declarations
327327$(obj ) /bindings/bindings_helpers_generated.rs : private bindgen_target_extra = ; \
You can’t perform that action at this time.
0 commit comments