#!/bin/sh # Requires: pkg install yq # Upload Rust bootstraps available on pkg.FreeBSD.org to your # ~/public_distfiles on freefall for the next lang/rust update. # Change ABI below to select from which build to fetch the packages # from. set -xeu : "${PORTSDIR=/usr/ports}" : "${DATADIR=/tmp/rust-bootstrap}" fetch -qo /tmp/channel-rust-stable.toml https://dev-static.rust-lang.org/dist/channel-rust-stable.toml version=$(