Skip to content

Commit e03fca6

Browse files
feat(output): silence stderr on bindgen install
1 parent f917e42 commit e03fca6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/bindgen.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ pub fn cargo_install_wasm_bindgen() {
88
.output()
99
.unwrap_or_else(|e| panic!("failed to execute process: {}", e));
1010

11-
if !output.status.success() {
12-
let s = String::from_utf8_lossy(&output.stderr);
11+
//if !output.status.success() {
12+
// let s = String::from_utf8_lossy(&output.stderr);
1313

14-
print!(
15-
"⛔ cargo_install_wasm_bindgen failed and stderr was:\n{}",
16-
s
17-
);
18-
}
14+
// print!(
15+
// "⛔ cargo_install_wasm_bindgen failed and stderr was:\n{}",
16+
// s
17+
// );
18+
// }
1919
}
2020

2121
pub fn wasm_bindgen_build(path: &str, name: &str) {

0 commit comments

Comments
 (0)