Skip to content

Commit

Permalink
Add workaround for cc crate failing on macOS
Browse files Browse the repository at this point in the history
This backports esp-rs/esp-idf-template#208 to
this project template.
  • Loading branch information
sirhcel committed May 28, 2024
1 parent d4dce69 commit 1130d13
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ build-std = ["std", "panic_abort"]
MCU="esp32s3"
# Note: this variable is not used by the pio builder (`cargo build --features pio`)
ESP_IDF_VERSION = "v5.1.3"

# Workaround for https://github.com/esp-rs/esp-idf-template/issues/174 until
# https://github.com/esp-rs/esp-idf-hal/pull/387 gets released and the template
# updated.
CRATE_CC_NO_DEFAULTS = "1"

0 comments on commit 1130d13

Please sign in to comment.