The Rust on ESP Book
AlexeyBrin
15 points
1 comment
July 25, 2026
Related Discussions
Found 5 related stories in 55.3ms across 5,917 title embeddings via pgvector HNSW
- Async Rust vs RTOS showdown (2022) kooi · 71 pts · September 02, 2026 · 55% similar
- How Our Rust-to-Zig Rewrite Is Going jorangreef · 467 pts · July 16, 2026 · 55% similar
- Rust 1.98.0 thesuperbigfrog · 17 pts · August 20, 2026 · 54% similar
- Making My Rust Program Space-Flight Ready hruvhwe · 15 pts · July 15, 2026 · 54% similar
- Rust 1.97.0 milliams · 22 pts · July 09, 2026 · 53% similar
Discussion Highlights (1 comments)
iconara
The [page on testing][1] suggests this: > Where possible, and where it makes sense, you should try to test as much as possible on your host machine, not on the target device. When I have tried this I have encountered multiple problems, first that the Rust test framework requires std, making it convoluted writing test code – but when working around that using conditional compilation, I run into other things like the `esp-hal` depending on crates that won't compile on the host. What is the recommended way to test on the host? [1]: https://docs.espressif.com/projects/rust/book/application-development/testing.html