#!/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 cargo run --target $TARGET