File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -814,36 +814,21 @@ fn host_twice() {
814
814
run ! ( )
815
815
}
816
816
817
- /// Check multi stage sysroot builds with `xargo test`
817
+ /// Check we can build+run `xargo test`
818
818
#[ cfg( feature = "dev" ) ]
819
819
#[ test]
820
820
fn host_libtest ( ) {
821
821
fn run ( ) -> Result < ( ) > {
822
822
let project = HProject :: new ( true ) ?;
823
823
824
- if std:: env:: var ( "TRAVIS_RUST_VERSION" ) . ok ( ) . map_or ( false ,
825
- |var| var. starts_with ( "nightly-" ) )
826
- {
827
- // Testing an old version on CI, we need a different Xargo.toml.
828
- project. xargo_toml (
824
+ project. xargo_toml (
829
825
"
830
826
[dependencies.std]
831
827
features = [\" panic_unwind\" ]
832
828
833
- [dependencies.test]
834
- stage = 1
835
- " ,
836
- ) ?;
837
- } else {
838
- project. xargo_toml (
839
- "
840
- [dependencies.std]
841
- features = [\" panic_unwind\" ]
842
-
843
829
[dependencies.test]
844
830
" ,
845
- ) ?;
846
- }
831
+ ) ?;
847
832
848
833
project. build ( "test" )
849
834
}
@@ -889,7 +874,7 @@ features = ["panic_unwind"]
889
874
890
875
[patch.crates-io.cc]
891
876
git = "https://github.com/alexcrichton/cc-rs"
892
- tag = "1.0.28 "
877
+ tag = "1.0.37 "
893
878
"# ,
894
879
) ?;
895
880
let stderr = project. build_and_get_stderr ( ) ?;
You can’t perform that action at this time.
0 commit comments