summaryrefslogtreecommitdiffstats
path: root/firmware/cargo_x64.sh
blob: db4099d4bd1e0c85a49a5e54807e40c168214125 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# vim: ts=4 sw=4 expandtab

if [ "$1" = "fmt" ]; then
    extraopts=
else
    extraopts="--target x86_64-unknown-linux-gnu --no-default-features --features=sim"
fi
cargo +nightly-x86_64-unknown-linux-gnu "$@" $extraopts
bues.ch cgit interface