Hi, is it legal to use atomics from both C and Rust at the same time? __atomic_store_n(armed, 1, __ATOMIC_RELEASE); And then on the same pointer: armed.load(Ordering::Acquire); Not C++ ! 2 posts - 2 participants Read…
I would like to use Qt via the procedural style (as opposed to the declarative QML) and so far have found multiple crates that allow writing a QObject subclass in Rust and exposing it to QML/C++ (cxx-qt, qmetaobject,…
There should be a convenience way to get the maximum of an array or a set. Which would work like this. assert_eq!([1,2,3].maximum(), 3); assert_eq!([1,2,3].minimum(), 1); 6 posts - 5 participants Read full topic