esp-idf-sys icon indicating copy to clipboard operation
esp-idf-sys copied to clipboard

Not rebuilding esp-idf and esp-idf-sys if using IDF_PATH, and changing esp-idf

Open axos88 opened this issue 3 years ago • 3 comments

workaround is to use cargo clean -p esp-idf-sys, but that will rebuild the entire esp-idf for every build.

axos88 avatar Sep 20 '22 06:09 axos88

Repro:

  • check out esp-idf in a separate directory
  • add ESP_IDF=
  • cargo build
  • change something in esp-idf
  • cargo build

Expect to rebuild esp-idf-sys (and esp-idf), but that does not happen.

axos88 avatar Sep 26 '22 12:09 axos88

This is a rare use case and I don't think there is an easy fix, so it will probably stay open for a while. #135 and #137 are more important.

ivmarkov avatar Sep 30 '22 15:09 ivmarkov

No worries. At least it's now documented :)

axos88 avatar Oct 01 '22 10:10 axos88

Autodetection would be nice but it would be a lot of effort for a niche usecase. If anybody wants to tackle this feel free to work on than we can reopen it. But i will close this issue for now as not planned.

Vollbrecht avatar Jun 21 '24 12:06 Vollbrecht