You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[derive(Clone,Copy)]// XXX: Why do we need to be `Copy`?#[repr(C)]unionState{as64:[Wrapping<u64>; sha2::CHAINING_WORDS],as32:[Wrapping<u32>; sha2::CHAINING_WORDS],}#[derive(Clone,Copy)]#[repr(C)]unionOutput{as64:[BigEndian<u64>;512 / 8 / core::mem::size_of::<BigEndian<u64>>()],as32:[BigEndian<u32>;256 / 8 / core::mem::size_of::<BigEndian<u32>>()],}
So not sure how that fits in your development goals/roadmap, just showing that there is some real world code out there using unions (a quick search in the existing issues didn't turn up an existing issue).
The text was updated successfully, but these errors were encountered:
I finally followed up with the instructions in #1193 (comment) and tried to run Prusti on rustls. However, after some time it failed:
Which is here:
So not sure how that fits in your development goals/roadmap, just showing that there is some real world code out there using unions (a quick search in the existing issues didn't turn up an existing issue).
The text was updated successfully, but these errors were encountered: