We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 404fe91 + f3882e4 commit caf5998Copy full SHA for caf5998
src/macros.rs
@@ -482,20 +482,20 @@ macro_rules! intrinsics {
482
#[cfg(all(any(windows, target_os = "uefi"), target_pointer_width = "64"))]
483
pub mod win64_128bit_abi_hack {
484
#[repr(simd)]
485
- pub struct U64x2(u64, u64);
+ pub struct U64x2([u64; 2]);
486
487
impl From<i128> for U64x2 {
488
fn from(i: i128) -> U64x2 {
489
use crate::int::DInt;
490
let j = i as u128;
491
- U64x2(j.lo(), j.hi())
+ U64x2([j.lo(), j.hi()])
492
}
493
494
495
impl From<u128> for U64x2 {
496
fn from(i: u128) -> U64x2 {
497
498
- U64x2(i.lo(), i.hi())
+ U64x2([i.lo(), i.hi()])
499
500
501
0 commit comments