File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ bindgen_c_flags_final = $(bindgen_c_flags_lto)
297
297
quiet_cmd_bindgen = BINDGEN $@
298
298
cmd_bindgen = \
299
299
$(BINDGEN ) $< $(bindgen_target_flags ) \
300
- --use-core --with-derive-default --ctypes-prefix c_types \
300
+ --use-core --with-derive-default --ctypes-prefix core::ffi \
301
301
--no-debug '.*' \
302
302
--size_t-is-usize -o $@ -- $(bindgen_c_flags_final ) -DMODULE \
303
303
$(bindgen_target_cflags ) $(bindgen_target_extra )
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ mod bindings_raw {
22
22
// Use glob import here to expose all helpers.
23
23
// Symbols defined within the module will take precedence to the glob import.
24
24
pub use super :: bindings_helper:: * ;
25
- use crate :: c_types;
26
25
include ! ( concat!( env!( "OBJTREE" ) , "/rust/bindings_generated.rs" ) ) ;
27
26
}
28
27
@@ -33,7 +32,6 @@ mod bindings_raw {
33
32
mod bindings_helper {
34
33
// Import the generated bindings for types.
35
34
use super :: bindings_raw:: * ;
36
- use crate :: c_types;
37
35
include ! ( concat!(
38
36
env!( "OBJTREE" ) ,
39
37
"/rust/bindings_helpers_generated.rs"
You can’t perform that action at this time.
0 commit comments