Browse Source

wiggle-runtime: isize and usize do not have same repr in guest and host

pull/1336/head
Pat Hickey 5 years ago
parent
commit
a7e7863c47
  1. 4
      crates/wiggle/crates/runtime/src/guest_type.rs

4
crates/wiggle/crates/runtime/src/guest_type.rs

@ -108,9 +108,9 @@ macro_rules! primitives {
primitives! {
// signed
i8 i16 i32 i64 i128 isize
i8 i16 i32 i64 i128
// unsigned
u8 u16 u32 u64 u128 usize
u8 u16 u32 u64 u128
// floats
f32 f64
}

Loading…
Cancel
Save