diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-07-25 15:53:00 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-07-25 15:53:00 +0200 |
| commit | 2d678d695637ed1023fd80fea482d60a288e4343 (patch) | |
| tree | e31b0d20672194e7c3c3f190835d10e46f200dd5 /ci.sh | |
| parent | 8b4bb625be86e7c199a14ceffbed7ad87b99a8db (diff) | |
Update to Rust 1.80, make check-cfg unconditional.
Diffstat (limited to 'ci.sh')
| -rwxr-xr-x | ci.sh | 6 |
1 files changed, 0 insertions, 6 deletions
| @@ -10,12 +10,6 @@ if ! command -v cargo-batch &> /dev/null; then | |||
| 10 | exit 1 | 10 | exit 1 |
| 11 | fi | 11 | fi |
| 12 | 12 | ||
| 13 | # check-cfg is stable on rustc 1.79 but not cargo 1.79. | ||
| 14 | # however, our cargo-batch is currently based on cargo 1.80, which does support check-cfg. | ||
| 15 | # so, force build.rs scripts to emit check-cfg commands. | ||
| 16 | # when 1.80 hits stable we can make build.rs unconditionally emit check-cfg and remove all this. | ||
| 17 | export EMBASSY_FORCE_CHECK_CFG=1 | ||
| 18 | |||
| 19 | export RUSTFLAGS=-Dwarnings | 13 | export RUSTFLAGS=-Dwarnings |
| 20 | export DEFMT_LOG=trace,embassy_hal_internal=debug,embassy_net_esp_hosted=debug,cyw43=info,cyw43_pio=info,smoltcp=info | 14 | export DEFMT_LOG=trace,embassy_hal_internal=debug,embassy_net_esp_hosted=debug,cyw43=info,cyw43_pio=info,smoltcp=info |
| 21 | if [[ -z "${CARGO_TARGET_DIR}" ]]; then | 15 | if [[ -z "${CARGO_TARGET_DIR}" ]]; then |
