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.
1 parent 0b24b15 commit 6629194Copy full SHA for 6629194
src/lib.rs
@@ -365,7 +365,8 @@ impl Library {
365
}
366
367
fn parse_libs_cflags(&mut self, name: &str, output: &str, config: &Config) {
368
- let parts = output.split(' ')
+ let parts = output.trim_right()
369
+ .split(' ')
370
.filter(|l| l.len() > 2)
371
.map(|arg| (&arg[0..2], &arg[2..]))
372
.collect::<Vec<_>>();
@@ -402,7 +403,7 @@ impl Library {
402
403
404
405
- let mut iter = output.split(' ');
406
+ let mut iter = output.trim_right().split(' ');
407
while let Some(part) = iter.next() {
408
if part != "-framework" {
409
continue
0 commit comments