Skip to content

Commit 1183964

Browse files
kvarkemilio
authored andcommitted
Enable verbose logging as well as echo the command line on expansion.
1 parent 9197af7 commit 1183964

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bindgen/cargo/cargo_expand.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,12 @@ pub fn expand(
110110
}
111111
cmd.arg("-p");
112112
cmd.arg(&format!("{}:{}", crate_name, version));
113+
cmd.arg("--verbose");
113114
cmd.arg("--");
114115
cmd.arg("-Z");
115116
cmd.arg("unstable-options");
116117
cmd.arg("--pretty=expanded");
118+
info!("Command: {:?}", cmd);
117119
let output = cmd.output()?;
118120

119121
let src = from_utf8(&output.stdout)?.to_owned();

0 commit comments

Comments
 (0)