@@ -545,6 +545,7 @@ fn cfg_raw_idents() {
545
545
p. cargo ( "check" )
546
546
. with_stderr_data ( str![ [ r#"
547
547
[LOCKING] 1 package to latest compatible version
548
+ [CHECKING] b v0.0.1 ([ROOT]/foo/b)
548
549
[CHECKING] foo v0.1.0 ([ROOT]/foo)
549
550
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
550
551
@@ -638,21 +639,8 @@ fn cfg_keywords() {
638
639
639
640
p. cargo ( "check" )
640
641
. with_stderr_data ( str![ [ r#"
641
- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future
642
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
643
- | In the future these will be built-in defines that will have the corresponding true/false value.
644
- | It is recommended to avoid using these configs until they are properly supported.
645
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
646
- |
647
- | [HELP] use raw-idents instead: `cfg(r#true)`
648
- [WARNING] [.cargo/config.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future
649
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
650
- | In the future these will be built-in defines that will have the corresponding true/false value.
651
- | It is recommended to avoid using these configs until they are properly supported.
652
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
653
- |
654
- | [HELP] use raw-idents instead: `cfg(r#false)`
655
642
[LOCKING] 1 package to latest compatible version
643
+ [CHECKING] b v0.0.1 ([ROOT]/foo/b)
656
644
[CHECKING] foo v0.1.0 ([ROOT]/foo)
657
645
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
658
646
@@ -687,23 +675,9 @@ fn cfg_booleans() {
687
675
. build ( ) ;
688
676
689
677
p. cargo ( "check" )
690
- // FIXME: `b` should be compiled
691
678
. with_stderr_data ( str![ [ r#"
692
- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future
693
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
694
- | In the future these will be built-in defines that will have the corresponding true/false value.
695
- | It is recommended to avoid using these configs until they are properly supported.
696
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
697
- |
698
- | [HELP] use raw-idents instead: `cfg(r#false)`
699
- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future
700
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
701
- | In the future these will be built-in defines that will have the corresponding true/false value.
702
- | It is recommended to avoid using these configs until they are properly supported.
703
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
704
- |
705
- | [HELP] use raw-idents instead: `cfg(r#true)`
706
679
[LOCKING] 2 packages to latest compatible versions
680
+ [CHECKING] b v0.0.1 ([ROOT]/foo/b)
707
681
[CHECKING] a v0.0.1 ([ROOT]/foo)
708
682
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
709
683
@@ -735,13 +709,6 @@ fn cfg_booleans_config() {
735
709
736
710
p. cargo ( "check" )
737
711
. with_stderr_data ( str![ [ r#"
738
- [WARNING] [.cargo/config.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future
739
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
740
- | In the future these will be built-in defines that will have the corresponding true/false value.
741
- | It is recommended to avoid using these configs until they are properly supported.
742
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
743
- |
744
- | [HELP] use raw-idents instead: `cfg(r#true)`
745
712
[CHECKING] a v0.0.1 ([ROOT]/foo)
746
713
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
747
714
@@ -772,13 +739,6 @@ fn cfg_booleans_not() {
772
739
773
740
p. cargo ( "check" )
774
741
. with_stderr_data ( str![ [ r#"
775
- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future
776
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
777
- | In the future these will be built-in defines that will have the corresponding true/false value.
778
- | It is recommended to avoid using these configs until they are properly supported.
779
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
780
- |
781
- | [HELP] use raw-idents instead: `cfg(r#false)`
782
742
[LOCKING] 1 package to latest compatible version
783
743
[CHECKING] b v0.0.1 ([ROOT]/foo/b)
784
744
[CHECKING] a v0.0.1 ([ROOT]/foo)
@@ -810,30 +770,9 @@ fn cfg_booleans_combinators() {
810
770
. build ( ) ;
811
771
812
772
p. cargo ( "check" )
813
- // FIXME: `b` should be compiled
814
773
. with_stderr_data ( str![ [ r#"
815
- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future
816
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
817
- | In the future these will be built-in defines that will have the corresponding true/false value.
818
- | It is recommended to avoid using these configs until they are properly supported.
819
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
820
- |
821
- | [HELP] use raw-idents instead: `cfg(r#true)`
822
- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future
823
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
824
- | In the future these will be built-in defines that will have the corresponding true/false value.
825
- | It is recommended to avoid using these configs until they are properly supported.
826
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
827
- |
828
- | [HELP] use raw-idents instead: `cfg(r#false)`
829
- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future
830
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
831
- | In the future these will be built-in defines that will have the corresponding true/false value.
832
- | It is recommended to avoid using these configs until they are properly supported.
833
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
834
- |
835
- | [HELP] use raw-idents instead: `cfg(r#true)`
836
774
[LOCKING] 1 package to latest compatible version
775
+ [CHECKING] b v0.0.1 ([ROOT]/foo/b)
837
776
[CHECKING] a v0.0.1 ([ROOT]/foo)
838
777
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
839
778
@@ -868,26 +807,10 @@ fn cfg_booleans_rustflags_no_effect() {
868
807
. build ( ) ;
869
808
870
809
p. cargo ( "check" )
871
- // FIXME: only `b` should be compiled, the rustflags don't take effect
872
810
. env ( "RUSTFLAGS" , "--cfg false" )
873
811
. with_stderr_data ( str![ [ r#"
874
- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future
875
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
876
- | In the future these will be built-in defines that will have the corresponding true/false value.
877
- | It is recommended to avoid using these configs until they are properly supported.
878
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
879
- |
880
- | [HELP] use raw-idents instead: `cfg(r#false)`
881
- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future
882
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
883
- | In the future these will be built-in defines that will have the corresponding true/false value.
884
- | It is recommended to avoid using these configs until they are properly supported.
885
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
886
- |
887
- | [HELP] use raw-idents instead: `cfg(r#true)`
888
812
[LOCKING] 2 packages to latest compatible versions
889
813
[CHECKING] b v0.0.1 ([ROOT]/foo/b)
890
- [CHECKING] c v0.0.1 ([ROOT]/foo/c)
891
814
[CHECKING] a v0.0.1 ([ROOT]/foo)
892
815
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
893
816
0 commit comments