I have code which tries to convert a numeric literal into a Loom 0.4.0 atomic integer (let foo: AtomicU8 = 1.into()). This works with std, but with Loom types, I get the following error:
the trait bound loom::sync::atomic::AtomicU8: From<{integer}> is not satisfied
required because of the requirements on the impl of Into<loom::sync::atomic::AtomicU8> for {integer}
I think there's a missing trait conversion (either From or Into, not sure which).
Loom may also be missing the ability to convert atomics into bare integers (didn't test if it works on std).
I have code which tries to convert a numeric literal into a Loom 0.4.0 atomic integer (
let foo: AtomicU8 = 1.into()
). This works with std, but with Loom types, I get the following error:I think there's a missing trait conversion (either From or Into, not sure which).
Loom may also be missing the ability to convert atomics into bare integers (didn't test if it works on std).