esp-rs / esp-idf-template

A "Hello, world!" template of a Rust binary crate for the ESP-IDF framework.
373 stars 43 forks source link

Add note about CARGO_WORKSPACE_DIR must be set if CARGO_TARGET_DIR is #140

Open faern opened 11 months ago

faern commented 11 months ago

Companion PR with https://github.com/esp-rs/esp-idf-sys/pull/221. This caveat makes me waste a lot of time every time I get into ESP programming. I don't know how common it is in general to set CARGO_TARGET_DIR, but I have it set to ~/.cargo/target all the time. And embuild does not like this.