File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -783,10 +783,10 @@ impl Build {
783
783
fn cflags ( & self , target : Interned < String > , which : GitRepo ) -> Vec < String > {
784
784
// Filter out -O and /O (the optimization flags) that we picked up from
785
785
// cc-rs because the build scripts will determine that for themselves.
786
- let mut base: Vec < String > = self . cc [ & target] . args ( ) . iter ( )
786
+ let mut base = self . cc [ & target] . args ( ) . iter ( )
787
787
. map ( |s| s. to_string_lossy ( ) . into_owned ( ) )
788
788
. filter ( |s| !s. starts_with ( "-O" ) && !s. starts_with ( "/O" ) )
789
- . collect :: < Vec < _ > > ( ) ;
789
+ . collect :: < Vec < String > > ( ) ;
790
790
791
791
// If we're compiling on macOS then we add a few unconditional flags
792
792
// indicating that we want libc++ (more filled out than libstdc++) and
You can’t perform that action at this time.
0 commit comments