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
13
13
RUST_BACKTRACE=1 RUST_LOG=raw_cargo_messages=trace,collector=debug,rust_sysroot=debug \
14
14
bindir=` cargo run -p collector --bin collector install_next`
15
15
16
+ cargo build -p collector --bin rustc-fake
17
+
16
18
# ----------------------------------------------------------------------------
17
19
# Test the profilers
18
20
# ----------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -145,8 +145,11 @@ fn main() {
145
145
146
146
"time-passes" => {
147
147
args. insert ( 0 , "-Ztime-passes" . into ( ) ) ;
148
- let mut cmd = bash_command ( tool, args, "> Ztp" ) ;
149
148
149
+ let mut cmd = Command :: new ( & tool) ;
150
+ cmd. args ( args) . stderr ( std:: process:: Stdio :: from (
151
+ std:: fs:: File :: create ( "Ztp" ) . unwrap ( ) ,
152
+ ) ) ;
150
153
assert ! ( cmd. status( ) . expect( "failed to spawn" ) . success( ) ) ;
151
154
}
152
155
You can’t perform that action at this time.
0 commit comments