There was an error while loading. Please reload this page.
1 parent eaf69b2 commit 2e5c0c6Copy full SHA for 2e5c0c6
1 file changed
src/lib.rs
@@ -71,7 +71,11 @@ pub fn link_patches() -> PatchesRef {
71
#[allow(non_camel_case_types)]
72
#[allow(non_snake_case)]
73
#[allow(rustdoc::all)]
74
-#[allow(improper_ctypes)] // TODO: For now, as 5.0 spits out tons of these
+#[allow(improper_ctypes)]
75
+// TODO: For now, as 5.0 spits out tons of these
76
+// bindgen maps `size_t` to `c_uint`, but std expects `usize` for these runtime
77
+// symbols; on the 32-bit ESP targets `c_uint == usize`, so the signatures are compatible
78
+#[allow(suspicious_runtime_symbol_definitions)]
79
#[allow(dead_code)]
80
mod bindings {
81
#[cfg(all(
0 commit comments