changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/get-rust.sh

changeset 16: 87dd4724adfb
parent: b1363d688ae1
child: 3491c1d1815d
author: ellis <ellis@rwest.io>
date: Mon, 27 Nov 2023 23:47:58 -0500
permissions: -rwxr-xr-x
description: build scripts
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 git clone https://vc.compiler.company/packy/shed/vendor/rust.git $TARGETDIR