The title is self-explanatory, but I have read that constant time operations in Rust are difficult due to compiler optimizations removing things.
To combat this, I have seen some discussions on Rust RFC: rust-lang/rfcs#2859
(Also, for LLVM side of the issue, see here)
Does anyone know if the usage of FFI in the sys package somehow prevents this kind of optimization?