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
{{ message }}
This repository was archived by the owner on Oct 31, 2025. It is now read-only.
error: Cannot use AtomicOrdering=SequentiallyConsistent on Vulkan memory model. Check if AcquireRelease fits your needs.
error: Cannot use AtomicOrdering=SequentiallyConsistent on Vulkan memory model. Check if AcquireRelease fits your needs.
error: Cannot cast between pointer types
|
= note: from: *{Function} struct core::sync::atomic::AtomicI32 { v: i32 }
= note: to: *{Function} u32
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: Cannot cast between pointer types
--> D:\local\Temp\2b65e857-11aa-4ed1-a4a1-8dfa7f30591a\lib.rs:12:18
|
12 | let atomic = AtomicI32::new(65);
| ^^^^^^^^^^^^^^^^^^
|
= note: from: *{Function} struct core::sync::atomic::AtomicI32 { v: i32 }
= note: to: *{Function} u32
Currently if you try to use an atomic you get the following error.
Code
Playground
Error