changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/get-rust.sh

changeset 229: 989b1b4782dc
parent: e69b070d4d47
child: 6b92d9ffbc77
author: Richard Westhaver <ellis@rwest.io>
date: Sat, 25 May 2024 23:17:00 -0400
permissions: -rwxr-xr-x
description: scripts update
1 #!/usr/bin/env bash
2 
3 # get rust source code
4 
5 # You may want to have an upstream rust compiler on hand:
6 
7 #curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
8 #rustup update
9 #rustup default nightly
10 
11 TARGETDIR=${1:-.stash/src/rust}
12 git clone https://vc.compiler.company/packy/rust.git $TARGETDIR