this post was submitted on 30 Jun 2023
0 points (NaN% liked)

Rust

6009 readers
2 users here now

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

Wormhole

!performance@programming.dev

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
[–] XTL@sopuli.xyz 0 points 1 year ago (1 children)

Looks like it's only the new riscv variant.

[–] nous@programming.dev 0 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.

[–] Vorpal@lemmyrs.org 1 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.