nucleo-l053r8-benches/scripts/build.sh

5 lines
224 B
Bash
Executable file

#!/bin/bash
# I'm using a bash script because if i set the target in .cargo/config.toml
# i can't build for x86_64 anymore, which means I can't run the unit tests.
TARGET="thumbv6m-none-eabi"
cargo build --target $TARGET $@