@@ -504,7 +504,7 @@ fn test_apple(target: &str) {
504
504
"uuid_t" | "vol_capabilities_set_t" => true ,
505
505
_ => false ,
506
506
} ) ;
507
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
507
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
508
508
}
509
509
510
510
fn test_openbsd ( target : & str ) {
@@ -694,7 +694,7 @@ fn test_openbsd(target: &str) {
694
694
}
695
695
} ) ;
696
696
697
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
697
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
698
698
}
699
699
700
700
fn test_cygwin ( target : & str ) {
@@ -866,7 +866,7 @@ fn test_cygwin(target: &str) {
866
866
}
867
867
} ) ;
868
868
869
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
869
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
870
870
}
871
871
872
872
fn test_windows ( target : & str ) {
@@ -995,7 +995,7 @@ fn test_windows(target: &str) {
995
995
}
996
996
} ) ;
997
997
998
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
998
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
999
999
}
1000
1000
1001
1001
fn test_redox ( target : & str ) {
@@ -1045,7 +1045,7 @@ fn test_redox(target: &str) {
1045
1045
"wchar.h" ,
1046
1046
}
1047
1047
1048
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1048
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1049
1049
}
1050
1050
1051
1051
fn test_solarish ( target : & str ) {
@@ -1335,7 +1335,7 @@ fn test_solarish(target: &str) {
1335
1335
}
1336
1336
} ) ;
1337
1337
1338
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1338
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1339
1339
}
1340
1340
1341
1341
fn test_netbsd ( target : & str ) {
@@ -1551,7 +1551,7 @@ fn test_netbsd(target: &str) {
1551
1551
}
1552
1552
} ) ;
1553
1553
1554
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1554
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1555
1555
}
1556
1556
1557
1557
fn test_dragonflybsd ( target : & str ) {
@@ -1776,7 +1776,7 @@ fn test_dragonflybsd(target: &str) {
1776
1776
( struct_ == "sigevent" && field == "sigev_notify_thread_id" )
1777
1777
} ) ;
1778
1778
1779
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1779
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1780
1780
}
1781
1781
1782
1782
fn test_wasi ( target : & str ) {
@@ -1883,7 +1883,7 @@ fn test_wasi(target: &str) {
1883
1883
// doesn't support sizeof.
1884
1884
cfg. skip_field ( |s, field| s == "dirent" && field == "d_name" ) ;
1885
1885
1886
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1886
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1887
1887
}
1888
1888
1889
1889
fn test_android ( target : & str ) {
@@ -2390,7 +2390,7 @@ fn test_android(target: &str) {
2390
2390
}
2391
2391
} ) ;
2392
2392
2393
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
2393
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
2394
2394
2395
2395
test_linux_like_apis ( target) ;
2396
2396
}
@@ -3079,7 +3079,7 @@ fn test_freebsd(target: &str) {
3079
3079
} ) ;
3080
3080
}
3081
3081
3082
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3082
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3083
3083
}
3084
3084
3085
3085
fn test_emscripten ( target : & str ) {
@@ -3319,7 +3319,7 @@ fn test_emscripten(target: &str) {
3319
3319
] . contains ( & field) )
3320
3320
} ) ;
3321
3321
3322
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3322
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3323
3323
}
3324
3324
3325
3325
fn test_neutrino ( target : & str ) {
@@ -3592,7 +3592,7 @@ fn test_neutrino(target: &str) {
3592
3592
3593
3593
cfg. skip_static ( move |name| name == "__dso_handle" ) ;
3594
3594
3595
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3595
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3596
3596
}
3597
3597
3598
3598
fn test_vxworks ( target : & str ) {
@@ -3698,7 +3698,7 @@ fn test_vxworks(target: &str) {
3698
3698
_ => false ,
3699
3699
} ) ;
3700
3700
3701
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3701
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3702
3702
}
3703
3703
3704
3704
fn config_gnu_bits ( target : & str , cfg : & mut ctest:: TestGenerator ) {
@@ -5019,7 +5019,7 @@ fn test_linux(target: &str) {
5019
5019
_ => false ,
5020
5020
} ) ;
5021
5021
5022
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
5022
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
5023
5023
5024
5024
test_linux_like_apis ( target) ;
5025
5025
}
@@ -5537,7 +5537,7 @@ fn test_haiku(target: &str) {
5537
5537
s => s. to_string ( ) ,
5538
5538
}
5539
5539
} ) ;
5540
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
5540
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
5541
5541
}
5542
5542
5543
5543
fn test_aix ( target : & str ) {
@@ -5834,5 +5834,5 @@ fn test_aix(target: &str) {
5834
5834
}
5835
5835
} ) ;
5836
5836
5837
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
5837
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
5838
5838
}
0 commit comments