rust-esp32-std-demo icon indicating copy to clipboard operation
rust-esp32-std-demo copied to clipboard

Broken with embuild 0.30

Open brianmay opened this issue 3 years ago • 1 comments
trafficstars

I believe embuild 0.30 breaks the build.rs script:

From my project which uses the same build.rs:

error[E0432]: unresolved imports `embuild::bingen`, `embuild::symgen`
 --> build.rs:4:11
  |
4 |     self, bingen,
  |           ^^^^^^
  |           |
  |           no `bingen` in the root
  |           help: a similar name exists in the module: `bindgen`
5 |     build::{CfgArgs, LinkArgs},
6 |     cargo, symgen,
  |            ^^^^^^ no `symgen` in the root

https://github.com/brianmay/robotica-remote-rust/runs/8283083027?check_suite_focus=true

brianmay avatar Sep 10 '22 07:09 brianmay

enabling the "elf" feature should do the trick for you

[build-dependencies]
embuild = { version = "0.30.3", features = ["elf"] }

lukaszblacha avatar Sep 20 '22 19:09 lukaszblacha