3 ms·
That's so strange. Rustup does ship with support for baremetal EABI ARM: $ rustup target list | grep arm | grep none armebv7r-none-eabi armebv7r-n
by kelnos 4y ago
That's so strange. Rustup does ship with support for baremetal EABI ARM:
$ rustup target list | grep arm | grep none
armebv7r-none-eabi
armebv7r-none-eabihf
armv7a-none-eabi
armv7r-none-eabi
armv7r-none-eabihf
... which means the publicly-available open source version of LLVM also supports it.
- cozzyd 4y agoSure I bet it does, otherwise Rust wouldn't work on perhaps the most common microcontroller target, and I know it does. I don't know if there are secret sauce bits ARM adds to their version, or if there are differences in hardware support or anything like that. (I use gcc on these targets...have never looked into using Clang/LLVM on them). edit: looking into this more, yes, upstream clang/llvm should work, though it doesn't include a C stdlib for this target (of little import to Rust, presumably), so you'll have to find one (e.g. by taking it from the GNU toolchain) if you want to use a C stdlib on embedded. Who knows what secret sauce armclang adds to clang...