ivmarkov / rust-esp32-std-demo

Rust on ESP32 STD demo app. A demo STD binary crate for the ESP32[XX] and ESP-IDF, which connects to WiFi, Ethernet, drives a small HTTP server and draws on a LED screen.
Apache License 2.0
785 stars 105 forks source link

Broken with embuild 0.30 #114

Closed brianmay closed 1 year ago

brianmay commented 1 year ago

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

lukaszblacha commented 1 year ago

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

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