Does Rust guarantee tail-call optimization?
No, Rust doesn’t guarantee TOC (Tail Call Optimization). Not even the standard library is required to compile the rust code. In these cases, the run time is similar to that of C programming language.
BY Best Interview Question ON 13 Jan 2019