We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99b88b0 commit 3759fafCopy full SHA for 3759faf
src/bin/cargo-strip.rs
@@ -3,7 +3,7 @@ extern crate cargo_binutils as cbu;
3
use std::process;
4
5
fn main() {
6
- match cbu::run(|ctxt| ctxt.strip(), false) {
+ match cbu::run(false, |ctxt| ctxt.strip(), |_ctxt, stdout| stdout.into()) {
7
Err(e) => eprintln!("error: {}", e),
8
Ok(ec) => process::exit(ec),
9
}
0 commit comments