As far as I know rust isn't garbage collected
https://words.steveklabnik.com/borrow-checking-escape-analys...
Edit: I see your other comment about the use of Arc and Rc in the stdlib, that is a good point. However, how much does that actually matter? I'm genuinely curious, my guess is that it is not significant, but I'm not well informed. For example, would that affect embedded use cases?