Skip to content

Commit 67e9a22

Browse files
committed
Don't use deprecated shlex::quote.
1 parent be6f1d3 commit 67e9a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindgen-tests/tests/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ fn build_flags_output_helper(builder: &bindgen::Builder) {
618618

619619
let flags_quoted: Vec<String> = command_line_flags
620620
.iter()
621-
.map(|x| format!("{}", shlex::quote(x)))
621+
.map(|x| format!("{}", shlex::try_quote(x).unwrap()))
622622
.collect();
623623
let flags_str = flags_quoted.join(" ");
624624
println!("{}", flags_str);

0 commit comments

Comments
 (0)