File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -582,7 +582,7 @@ fn rustc_with_print_cfg_rustflags_env_var() {
582
582
. build ( ) ;
583
583
584
584
p. cargo ( "rustc -Z unstable-options --target x86_64-pc-windows-msvc --print cfg" )
585
- . masquerade_as_nightly_cargo ( )
585
+ . masquerade_as_nightly_cargo ( )
586
586
. env ( "RUSTFLAGS" , "-C target-feature=+crt-static" )
587
587
. with_stdout_contains (
588
588
"\
@@ -624,15 +624,18 @@ windows
624
624
fn rustc_with_print_cfg_config_toml ( ) {
625
625
let p = project ( )
626
626
. file ( "Cargo.toml" , & basic_bin_manifest ( "foo" ) )
627
- . file ( ".cargo/config.toml" , r#"
627
+ . file (
628
+ ".cargo/config.toml" ,
629
+ r#"
628
630
[target.x86_64-pc-windows-msvc]
629
631
rustflags = ["-C", "target-feature=+crt-static"]
630
- "# )
632
+ "# ,
633
+ )
631
634
. file ( "src/main.rs" , r#"fn main() {} "# )
632
635
. build ( ) ;
633
636
634
637
p. cargo ( "rustc -Z unstable-options --target x86_64-pc-windows-msvc --print cfg" )
635
- . masquerade_as_nightly_cargo ( )
638
+ . masquerade_as_nightly_cargo ( )
636
639
. env ( "RUSTFLAGS" , "-C target-feature=+crt-static" )
637
640
. with_stdout_contains (
638
641
"\
You can’t perform that action at this time.
0 commit comments