File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -662,7 +662,7 @@ fn cfg_booleans() {
662662
663663 [target.'cfg(true)'.dependencies]
664664 b = { path = 'b' }
665-
665+
666666 [target.'cfg(false)'.dependencies]
667667 c = { path = 'c' }
668668 "# ,
@@ -794,7 +794,7 @@ fn cfg_booleans_rustflags_no_effect() {
794794
795795 [target.'cfg(true)'.dependencies]
796796 b = { path = 'b' }
797-
797+
798798 [target.'cfg(false)'.dependencies]
799799 c = { path = 'c' }
800800 "# ,
@@ -807,7 +807,7 @@ fn cfg_booleans_rustflags_no_effect() {
807807 . build ( ) ;
808808
809809 p. cargo ( "check" )
810- . env ( "RUSTFLAGS" , "--cfg false" )
810+ . env ( "RUSTFLAGS" , "--cfg r# false" )
811811 . with_stderr_data ( str![ [ r#"
812812[LOCKING] 2 packages to latest compatible versions
813813[CHECKING] b v0.0.1 ([ROOT]/foo/b)
You can’t perform that action at this time.
0 commit comments