@@ -480,7 +480,7 @@ fn test_apple(target: &str) {
480
480
"uuid_t" | "vol_capabilities_set_t" => true ,
481
481
_ => false ,
482
482
} ) ;
483
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
483
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
484
484
}
485
485
486
486
fn test_openbsd ( target : & str ) {
@@ -648,7 +648,7 @@ fn test_openbsd(target: &str) {
648
648
}
649
649
} ) ;
650
650
651
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
651
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
652
652
}
653
653
654
654
fn test_cygwin ( target : & str ) {
@@ -820,7 +820,7 @@ fn test_cygwin(target: &str) {
820
820
}
821
821
} ) ;
822
822
823
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
823
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
824
824
}
825
825
826
826
fn test_windows ( target : & str ) {
@@ -942,7 +942,7 @@ fn test_windows(target: &str) {
942
942
943
943
cfg. skip_fn ( |_| false ) ;
944
944
945
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
945
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
946
946
}
947
947
948
948
fn test_redox ( target : & str ) {
@@ -992,7 +992,7 @@ fn test_redox(target: &str) {
992
992
"wchar.h" ,
993
993
}
994
994
995
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
995
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
996
996
}
997
997
998
998
fn test_solarish ( target : & str ) {
@@ -1279,7 +1279,7 @@ fn test_solarish(target: &str) {
1279
1279
}
1280
1280
} ) ;
1281
1281
1282
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1282
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1283
1283
}
1284
1284
1285
1285
fn test_netbsd ( target : & str ) {
@@ -1493,7 +1493,7 @@ fn test_netbsd(target: &str) {
1493
1493
}
1494
1494
} ) ;
1495
1495
1496
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1496
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1497
1497
}
1498
1498
1499
1499
fn test_dragonflybsd ( target : & str ) {
@@ -1715,7 +1715,7 @@ fn test_dragonflybsd(target: &str) {
1715
1715
( struct_ == "sigevent" && field == "sigev_notify_thread_id" )
1716
1716
} ) ;
1717
1717
1718
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1718
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1719
1719
}
1720
1720
1721
1721
fn test_wasi ( target : & str ) {
@@ -1822,7 +1822,7 @@ fn test_wasi(target: &str) {
1822
1822
// doesn't support sizeof.
1823
1823
cfg. skip_field ( |s, field| s == "dirent" && field == "d_name" ) ;
1824
1824
1825
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1825
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1826
1826
}
1827
1827
1828
1828
fn test_android ( target : & str ) {
@@ -2332,7 +2332,7 @@ fn test_android(target: &str) {
2332
2332
}
2333
2333
} ) ;
2334
2334
2335
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
2335
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
2336
2336
2337
2337
test_linux_like_apis ( target) ;
2338
2338
}
@@ -3000,7 +3000,7 @@ fn test_freebsd(target: &str) {
3000
3000
} ) ;
3001
3001
}
3002
3002
3003
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3003
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3004
3004
}
3005
3005
3006
3006
fn test_emscripten ( target : & str ) {
@@ -3245,7 +3245,7 @@ fn test_emscripten(target: &str) {
3245
3245
] . contains ( & field) )
3246
3246
} ) ;
3247
3247
3248
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3248
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3249
3249
}
3250
3250
3251
3251
fn test_neutrino ( target : & str ) {
@@ -3515,7 +3515,7 @@ fn test_neutrino(target: &str) {
3515
3515
3516
3516
cfg. skip_static ( move |name| name == "__dso_handle" ) ;
3517
3517
3518
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3518
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3519
3519
}
3520
3520
3521
3521
fn test_vxworks ( target : & str ) {
@@ -3621,7 +3621,7 @@ fn test_vxworks(target: &str) {
3621
3621
_ => false ,
3622
3622
} ) ;
3623
3623
3624
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3624
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3625
3625
}
3626
3626
3627
3627
fn config_gnu_bits ( target : & str , cfg : & mut ctest:: TestGenerator ) {
@@ -4941,7 +4941,7 @@ fn test_linux(target: &str) {
4941
4941
_ => false ,
4942
4942
} ) ;
4943
4943
4944
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
4944
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
4945
4945
4946
4946
test_linux_like_apis ( target) ;
4947
4947
}
@@ -5457,7 +5457,7 @@ fn test_haiku(target: &str) {
5457
5457
s => s. to_string ( ) ,
5458
5458
}
5459
5459
} ) ;
5460
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
5460
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
5461
5461
}
5462
5462
5463
5463
fn test_aix ( target : & str ) {
@@ -5754,5 +5754,5 @@ fn test_aix(target: &str) {
5754
5754
}
5755
5755
} ) ;
5756
5756
5757
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
5757
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
5758
5758
}
0 commit comments