Files
microrust/ci/install.sh
Michael Droogleever 8e05dfd010 Initial commit
Much of the content here is a direct port from https://github.com/japaric/discovery
2018-07-02 23:04:56 +02:00

20 lines
405 B
Bash

set -euxo pipefail
main() {
curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- \
--force \
--git rust-lang-nursery/mdBook \
--tag v0.1.5 \
--target x86_64-unknown-linux-musl
rustup target add thumbv6m-none-eabi
pip install linkchecker --user
# sanity check that a linker is present
which arm-none-eabi-ld
}
main