We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
shlex::quote
1 parent be6f1d3 commit 67e9a22Copy full SHA for 67e9a22
bindgen-tests/tests/tests.rs
@@ -618,7 +618,7 @@ fn build_flags_output_helper(builder: &bindgen::Builder) {
618
619
let flags_quoted: Vec<String> = command_line_flags
620
.iter()
621
- .map(|x| format!("{}", shlex::quote(x)))
+ .map(|x| format!("{}", shlex::try_quote(x).unwrap()))
622
.collect();
623
let flags_str = flags_quoted.join(" ");
624
println!("{}", flags_str);
0 commit comments