Take advantage of feature(core_ffi_c)
(and possibly feature(c_size_t)
)
#2231
Labels
feature(core_ffi_c)
(and possibly feature(c_size_t)
)
#2231
feature(core_ffi_c)
was stabilized (and possiblyfeature(c_size_t)
in the future), so we may want to extend--use-core
to use them (gated on--rust-target
or some other flag).In fact, it could potentially be made the default, since it would work for all projects (i.e. both
std
andno_std
).Currently, a workaround is to manually specify the prefix via
--ctypes-prefix core::ffi
.Input C/C++ Header
Bindgen Invocation
Or in the future:
Actual Results
Expected Results
The text was updated successfully, but these errors were encountered: