The Rust on ESP Book
AlexeyBrin
15 points
1 comment
July 25, 2026
Related Discussions
Found 5 related stories in 331.9ms across 14,850 title embeddings via pgvector HNSW
- The C to Rust migration book LukeMathWalker · 23 pts · July 01, 2026 · 60% similar
- Rust (and Slint) on a Jailbroken Kindle homarp · 132 pts · May 27, 2026 · 59% similar
- An OS in pure Rust with its own TCP/IP and TLS 1.3 stack, fetching the live web simeon-kepp · 11 pts · May 30, 2026 · 59% similar
- Introduction – Rust for Python Programmers linhns · 69 pts · June 06, 2026 · 58% similar
- Using Rust to Build a $1 Handheld Gaming Console kianryan · 25 pts · April 27, 2026 · 58% 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