diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-06-13 20:40:04 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-06-13 20:40:04 +0200 |
| commit | 4d9115b3fb17f441a3280dd7913e682157ca1dac (patch) | |
| tree | 2b3200de38599efcd696835a7d0a01f8e6e27365 /ci.sh | |
| parent | 8d79679bb27ce6eca8904e167a8762ad5fc90604 (diff) | |
Update stable to Rust 1.79.
Diffstat (limited to 'ci.sh')
| -rwxr-xr-x | ci.sh | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -2,6 +2,12 @@ | |||
| 2 | 2 | ||
| 3 | set -eo pipefail | 3 | set -eo pipefail |
| 4 | 4 | ||
| 5 | # check-cfg is stable on rustc 1.79 but not cargo 1.79. | ||
| 6 | # however, our cargo-batch is currently based on cargo 1.80, which does support check-cfg. | ||
| 7 | # so, force build.rs scripts to emit check-cfg commands. | ||
| 8 | # when 1.80 hits stable we can make build.rs unconditionally emit check-cfg and remove all this. | ||
| 9 | export EMBASSY_FORCE_CHECK_CFG=1 | ||
| 10 | |||
| 5 | export RUSTFLAGS=-Dwarnings | 11 | export RUSTFLAGS=-Dwarnings |
| 6 | export DEFMT_LOG=trace,embassy_hal_internal=debug,embassy_net_esp_hosted=debug,cyw43=info,cyw43_pio=info,smoltcp=info | 12 | export DEFMT_LOG=trace,embassy_hal_internal=debug,embassy_net_esp_hosted=debug,cyw43=info,cyw43_pio=info,smoltcp=info |
| 7 | if [[ -z "${CARGO_TARGET_DIR}" ]]; then | 13 | if [[ -z "${CARGO_TARGET_DIR}" ]]; then |
