They use the same compiler backend and you can generate pretty much any LLVM IR you want with Rust. You can argue about the performance characteristics of the kind of code the language encourages you to write, but a blanket statement like that isn't true.