]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_gcc/prepare.sh
Rollup merge of #99972 - RalfJung:1zst, r=lcnr
[rust.git] / compiler / rustc_codegen_gcc / prepare.sh
index 503fa29b36269e451959d79f73faa2512c8040d6..e98f24c6e128db563f211db128a00e08e623ebbc 100755 (executable)
@@ -1,10 +1,18 @@
-#!/bin/bash --verbose
+#!/usr/bin/env bash
 set -e
+set -v
 
 source prepare_build.sh
 
 cargo install hyperfine || echo "Skipping hyperfine install"
 
+git clone https://github.com/rust-random/rand.git || echo "rust-random/rand has already been cloned"
+pushd rand
+git checkout -- .
+git checkout 0f933f9c7176e53b2a3c7952ded484e1783f0bf1
+git am ../crate_patches/*-rand-*.patch
+popd
+
 git clone https://github.com/rust-lang/regex.git || echo "rust-lang/regex has already been cloned"
 pushd regex
 git checkout -- .