diff options
author | 2020-08-31 23:16:21 +0200 | |
---|---|---|
committer | 2020-10-13 21:30:44 +0200 | |
commit | 10b29d3a4fc43503c25fb2c7ffbeaad44c2fb103 (patch) | |
tree | ceb6fc008cfbcc430a4254464d0e3341c34796e1 /panic-semihosting/ci/install.sh | |
parent | f77d64a2d1505335e4a170d03a40993bb066fd02 (diff) | |
download | cortex-m-10b29d3a4fc43503c25fb2c7ffbeaad44c2fb103.tar.gz cortex-m-10b29d3a4fc43503c25fb2c7ffbeaad44c2fb103.tar.zst cortex-m-10b29d3a4fc43503c25fb2c7ffbeaad44c2fb103.zip |
Import semihosting crates as-is
Diffstat (limited to 'panic-semihosting/ci/install.sh')
-rw-r--r-- | panic-semihosting/ci/install.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/panic-semihosting/ci/install.sh b/panic-semihosting/ci/install.sh new file mode 100644 index 0000000..3c41921 --- /dev/null +++ b/panic-semihosting/ci/install.sh @@ -0,0 +1,9 @@ +set -euxo pipefail + +main() { + if [ $TARGET != x86_64-unknown-linux-gnu ]; then + rustup target add $TARGET + fi +} + +main |