diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89ea2c14..445fd3f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,4 +83,4 @@ jobs: echo 'delog = { version = "0.1.6", git = "https://github.com/LechevSpace/delog.git", rev = "e83f3fd" }' >> Cargo.toml - name: Build avr - run: cargo +nightly build -Z build-std=core --target=avr-none -C target-cpu=atmega328p --workspace --release + run: RUSTFLAGS="-C target-cpu=atmega328p" cargo +nightly build -Z build-std=core --target=avr-none --workspace --release