Skip to content

Instantly share code, notes, and snippets.

@ithinuel
Created August 13, 2018 17:09
Show Gist options
  • Save ithinuel/a88cd9f54ae2e8de7e2e4ca963cd220f to your computer and use it in GitHub Desktop.
Save ithinuel/a88cd9f54ae2e8de7e2e4ca963cd220f to your computer and use it in GitHub Desktop.
#!/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