File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 6
6
//! This module implements this second part. We use "build script" terminology
7
7
//! here, but it covers procedural macros as well.
8
8
9
- use std:: {
10
- cell:: RefCell ,
11
- io,
12
- path:: PathBuf ,
13
- process:: { Command , Stdio } ,
14
- } ;
9
+ use std:: { cell:: RefCell , io, path:: PathBuf , process:: Command } ;
15
10
16
11
use cargo_metadata:: { camino:: Utf8Path , Message } ;
17
12
use la_arena:: ArenaMap ;
@@ -95,8 +90,6 @@ impl WorkspaceBuildScripts {
95
90
96
91
cmd. current_dir ( workspace. workspace_root ( ) ) ;
97
92
98
- cmd. stdout ( Stdio :: piped ( ) ) . stderr ( Stdio :: piped ( ) ) . stdin ( Stdio :: null ( ) ) ;
99
-
100
93
let mut res = WorkspaceBuildScripts :: default ( ) ;
101
94
// NB: Cargo.toml could have been modified between `cargo metadata` and
102
95
// `cargo check`. We shouldn't assume that package ids we see here are
@@ -114,6 +107,8 @@ impl WorkspaceBuildScripts {
114
107
e. push_str ( err) ;
115
108
e. push ( '\n' ) ;
116
109
} ;
110
+
111
+ tracing:: info!( "Running build scripts: {:?}" , cmd) ;
117
112
let output = stdx:: process:: streaming_output (
118
113
cmd,
119
114
& mut |line| {
You can’t perform that action at this time.
0 commit comments