diff options
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 |
