blob: d49da2e432d0467ac66de64ffb77069058fa9726 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
set -euxo pipefail
cargo build
cargo build --target thumbv6m-none-eabi
cargo build --target thumbv7em-none-eabi
cargo build --target riscv32imc-unknown-none-elf
cargo build --target riscv32imac-unknown-none-elf
cargo build --target i686-unknown-linux-gnu
cargo build --target x86_64-unknown-linux-gnu
cargo build --target riscv64gc-unknown-linux-gnu
# without --release, it fails with "error: ran out of registers during register allocation"
cargo build --release -Zbuild-std=core --target avr-specs/avr-atmega328p.json
|