File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ trap 'kill $PING_LOOP_PID' ERR 1 2 3 6
1313RUST_BACKTRACE=1 RUST_LOG=raw_cargo_messages=trace,collector=debug,rust_sysroot=debug \
1414 bindir=` cargo run -p collector --bin collector install_next`
1515
16+ cargo build -p collector --bin rustc-fake
17+
1618# ----------------------------------------------------------------------------
1719# Test the profilers
1820# ----------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -145,8 +145,11 @@ fn main() {
145145
146146 "time-passes" => {
147147 args. insert ( 0 , "-Ztime-passes" . into ( ) ) ;
148- let mut cmd = bash_command ( tool, args, "> Ztp" ) ;
149148
149+ let mut cmd = Command :: new ( & tool) ;
150+ cmd. args ( args) . stderr ( std:: process:: Stdio :: from (
151+ std:: fs:: File :: create ( "Ztp" ) . unwrap ( ) ,
152+ ) ) ;
150153 assert ! ( cmd. status( ) . expect( "failed to spawn" ) . success( ) ) ;
151154 }
152155
You can’t perform that action at this time.
0 commit comments