mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
Limited to little endian target
This commit is contained in:
parent
a2c72ce594
commit
d8d1e6ce21
@ -20,6 +20,7 @@
|
||||
// CHECK-NEXT: store <8 x i16>
|
||||
// CHECK-NEXT: ret void
|
||||
#[no_mangle]
|
||||
#[cfg(target_endian = "little")]
|
||||
pub fn convert(value: [u16; 8]) -> [u8; 16] {
|
||||
let addr16 = [
|
||||
value[0].to_be(),
|
||||
|
Loading…
Reference in New Issue
Block a user