Created
August 13, 2018 17:09
-
-
Save ithinuel/a88cd9f54ae2e8de7e2e4ca963cd220f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
./x.py install --config=config-targets.toml | |
./x.py --config config-targets.toml dist --target=thumbv7em-none-eabihf,thumbv7em-none-eabi,thumbv7m-none-eabi,thumbv6m-none-eabi | |
pushd build/dist | |
for f in $(ls rust-std*.tar.xz); do tar xf $f; done | |
for d in $(ls -d rust-std*/); do pushd $d; ./install.sh --prefix=$HOME/.local; popd; done | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment