Whether the code compiles to assembly is orthogonal to whether the program can function without runtime support.
Compiled Rust code that relies on syscalls will not function on a “bare metal” microcontroller.
Compiled Rust code that relies on syscalls will not function on a “bare metal” microcontroller.
Rust's only requirement is that memcpy, memmove, memset, memcmp, bcmp, and strlen are available, and it can provide them if needed: https://github.com/rust-lang/compiler-builtins