this post was submitted on 30 Jun 2023
11 points (86.7% liked)

Rust

5767 readers
41 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (2 children)

Looks like it's only the new riscv variant.

[–] [email protected] 4 points 1 year ago (1 children)

Yes, as rust has built in support for riscv but not the Xtensa architecture that the other ESP chips use. There is esp-rs/rust fork that add support for these using a fork of llvm. So you can run rust on the other chips but need to build your own rust compiler do to so. Hopefully this work will be unstreamed someday but it could take a long time to do that.

[–] [email protected] 5 points 1 year ago

Actually you don't need to build your own. The rust on esp project provide a espup tool that downloads a pre built toolchain for Xtensa.