Skip to content

Commit 454ec84

Browse files
reitermarkusemilio
authored andcommitted
Don't use deprecated shlex::quote.
1 parent 78a6799 commit 454ec84

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
@@ -654,7 +654,7 @@ fn build_flags_output_helper(builder: &bindgen::Builder) {
654654

655655
let flags_quoted: Vec<String> = command_line_flags
656656
.iter()
657-
.map(|x| format!("{}", shlex::quote(x)))
657+
.map(|x| format!("{}", shlex::try_quote(x).unwrap()))
658658
.collect();
659659
let flags_str = flags_quoted.join(" ");
660660
println!("{}", flags_str);

0 commit comments

Comments
 (0)