changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/get-rust.sh

changeset 13: cb700df303f7
parent: 015c6f7d6e16
child: b1363d688ae1
author: ellis <ellis@rwest.io>
date: Sun, 26 Nov 2023 22:09:09 -0500
permissions: -rwxr-xr-x
description: rust
1 #!/usr/bin/bash
2 
3 #curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
4 #rustup update
5 #rustup default nightly
6 
7 VER="${1:-main}"
8 TARGETDIR=${2:-$(realpath build/rust-$VER)}
9 DISTDIR=${3:-$(realpath dist/rust)}
10 git clone https://vc.compiler.company/packy/shed/vendor/rust.git $TARGETDIR
11 pushd $TARGETDIR