We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf3eb65 + d66f959 commit cedfa38Copy full SHA for cedfa38
1 file changed
build.rs
@@ -190,9 +190,9 @@ fn main() {
190
.clang_args(&cflags)
191
.use_core()
192
.ctypes_prefix("core::ffi")
193
- // We've traditionally used size_t explicitly and cast it in riot-wrappers; changing this
194
- // now (going from bindgen 0.60 to 0.64) would break where it's used (although we still
195
- // might instate a type alias for size_t later instead).
+ // This is the defensive choice in presence of odd targets, as it forces us to be explicit
+ // more often: Bindgen would err with "Target platform requires `--no-size_t-is-usize`." in
+ // some cases, even though we have not encountered them yet.
196
.size_t_is_usize(false)
197
.impl_debug(true)
198
// Structs listed here are Packed and thus need impl_debug, but also contain non-Copy
0 commit comments