mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 22:35:19 +01:00
install rustc-dev component
This commit is contained in:
parent
eb7ae13b9c
commit
79c3afa9b0
2 changed files with 6 additions and 4 deletions
|
|
@ -1,10 +1,13 @@
|
|||
set -euxo pipefail
|
||||
|
||||
main() {
|
||||
if [ $TARGET != x86_64-unknown-linux-gnu ]; then
|
||||
rustup target add $TARGET
|
||||
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
|
||||
# needed by compiletest-rs
|
||||
rustup component add rustc-dev
|
||||
fi
|
||||
|
||||
rustup target add $TARGET
|
||||
|
||||
mkdir qemu
|
||||
curl -L https://github.com/japaric/qemu-bin/raw/master/14.04/qemu-system-arm-2.12.0 > qemu/qemu-system-arm
|
||||
chmod +x qemu/qemu-system-arm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue