Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make bootloader and partition table finding work on Rust >=1.77 and e…
…sp-idf-sys >=0.34.0 The package ID format was officially documented as an opaque identifier and the only thing we were allowed to do with them is look them up in the cargo metadata. Rust 1.77 switched the package ID field to use the publicly documented "Package ID Specification" format instead, which means that the old logic no longer works. But we also cannot currently reliably look up the new pkgids in the cargo metadata due to them not being given for indirect dependencies, so instead we fall back to getting the bootloader and partition table from the top of the target directory, where they've been copied over since `esp-idf-sys` 0.34.0. Signed-off-by: Johannes Löthberg <[email protected]>
- Loading branch information