Skip to content

Commit f869f71

Browse files
d3zd3zcfriedt
authored andcommitted
zephyr-sys: Suppress unnecessary_transmute warnings introduced by 1.88
Rust 1.88 introduces `unnecessary_transmute` warninigs that are triggered by the bindgen code. Suppress these. Signed-off-by: David Brown <[email protected]>
1 parent dd73abc commit f869f71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zephyr-sys/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#![allow(clippy::transmute_int_to_bool)]
2222
#![allow(clippy::useless_transmute)]
2323
#![allow(clippy::len_without_is_empty)]
24+
#![allow(unnecessary_transmutes)]
2425
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
2526

2627
// We have directed bindgen to not generate copy for any times. It unfortunately doesn't have an

0 commit comments

Comments
 (0)