]> git.lizzy.rs Git - rust.git/blobdiff - prepare.sh
Ignore unsupported test
[rust.git] / prepare.sh
index 87f96f5dcf41ffd52417a3c0e7ccc83b1b00dbca..64c097261c908bf6909aec2789646e998552f4ee 100755 (executable)
@@ -1,7 +1,6 @@
-#!/bin/bash --verbose
+#!/usr/bin/env bash
 set -e
 
-rustup component add rust-src rustc-dev llvm-tools-preview
 ./build_sysroot/prepare_sysroot_src.sh
 cargo install hyperfine || echo "Skipping hyperfine install"
 
@@ -24,6 +23,7 @@ git checkout -- .
 git checkout 804a7a21b9e673a482797aa289a18ed480e4d813
 
 # build with cg_llvm for perf comparison
+unset CARGO_TARGET_DIR
 cargo build
 mv target/debug/main raytracer_cg_llvm
 popd