Skip to content

Commit 2e5c0c6

Browse files
committed
Suppress build failures with recent nightlies
1 parent eaf69b2 commit 2e5c0c6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ pub fn link_patches() -> PatchesRef {
7171
#[allow(non_camel_case_types)]
7272
#[allow(non_snake_case)]
7373
#[allow(rustdoc::all)]
74-
#[allow(improper_ctypes)] // TODO: For now, as 5.0 spits out tons of these
74+
#[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)]
7579
#[allow(dead_code)]
7680
mod bindings {
7781
#[cfg(all(

0 commit comments

Comments
 (0)