From 1130d13890d2459d6c9f36eaee6d58f5bece7f6a Mon Sep 17 00:00:00 2001 From: Christian Meusel Date: Tue, 28 May 2024 14:36:36 +0200 Subject: [PATCH] Add workaround for cc crate failing on macOS This backports https://github.com/esp-rs/esp-idf-template/pull/208 to this project template. --- .cargo/config.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 33a17bb..03a2d71 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -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"