Skip to content

Commit 4215fe7

Browse files
committed
esp32s2 + NVS + ESP IDF 4.4 needs default-linker-libraries due to atexit called from libstdc++
1 parent 7608a41 commit 4215fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
env:
8787
ESP_IDF_VERSION: ${{ matrix.idf-version }}
8888
ESP_IDF_SDKCONFIG_DEFAULTS: $(pwd)/.github/configs/sdkconfig.defaults
89-
RUSTFLAGS: "${{ matrix.idf-version == 'release/v5.0' && '--cfg espidf_time64' || ''}} ${{ matrix.target == 'riscv32imc-esp-espidf' && '-C default-linker-libraries' || ''}}"
89+
RUSTFLAGS: "${{ matrix.idf-version == 'release/v5.0' && '--cfg espidf_time64 ' || ''}} ${{ '-C default-linker-libraries' }}"
9090
WIFI_SSID: "ssid"
9191
WIFI_PASS: "pass"
9292
run: cargo build --examples --target ${{ matrix.target }} -Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort

0 commit comments

Comments
 (0)