changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/get-rust.sh

changeset 29: 0fc025be1ae0
parent: 3491c1d1815d
child: 4e73da2d9c63
author: ellis <ellis@rwest.io>
date: Fri, 29 Dec 2023 21:10:24 -0500
permissions: -rwxr-xr-x
description: sbcl rlwrap and makefile upgrades
1 #!/usr/bin/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 VER="${1:-main}"
12 TARGETDIR=${2:-$(realpath build/src/rust-$VER)}
13 git clone https://vc.compiler.company/packy/shed/vendor/rust.git $TARGETDIR