appdwarf/apps/mkrust

11 lines
279 B
Bash
Executable file

#!/bin/sh
. "$(dirname "$0")"/appmk
part0
ARCH=x86_64-unknown-linux-gnu
LINK=https://static.rust-lang.org/dist/rust-nightly-$ARCH.tar.gz
ungz
"$DIR"/rust-nightly-$ARCH/install.sh --prefix="$DIR" --components=cargo,rustc,rust-std-$ARCH
rm -rf "$DIR"/rust-nightly-$ARCH
appb
part9