mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Make the slice::from_raw_parts call safe
This commit is contained in:
parent
6478500b8f
commit
21bd55c30d
@ -52,6 +52,7 @@ macro_rules! intcast {
|
||||
}
|
||||
intcast! { u8 i8 u16 i16 u32 i32 u64 i64 }
|
||||
|
||||
#[repr(transparent)]
|
||||
pub struct Atomic<T> {
|
||||
v: UnsafeCell<Wrapping<T>>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user