Rollup merge of #140804 - bend-n:signed, r=lcnr

add signed ints to unn- transmutes to ensure feature parity

i forgot a few cases https://github.com/rust-lang/rust-clippy/pull/14703/#pullrequestreview-2824194994

adds

- char -> i32
-  i32 -> char
- float -> size ()
-  size -> float
-   i32 -> float
``@rustbot`` label L-unnecessary_transmutes
This commit is contained in:
Stuart Cook 2025-05-09 16:25:04 +10:00 committed by GitHub
commit 16ca18d1da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 86 additions and 14 deletions

View file

@ -1,5 +1,6 @@
// We're testing x86 target specific features
//@only-target: x86_64 i686
#![allow(unnecessary_transmutes)]
#[cfg(target_arch = "x86")]
use std::arch::x86::*;