@@ -469,7 +469,7 @@ fn test_apple(target: &str) {
469
469
"uuid_t" | "vol_capabilities_set_t" => true ,
470
470
_ => false ,
471
471
} ) ;
472
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
472
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
473
473
}
474
474
475
475
fn test_openbsd ( target : & str ) {
@@ -622,7 +622,7 @@ fn test_openbsd(target: &str) {
622
622
}
623
623
} ) ;
624
624
625
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
625
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
626
626
}
627
627
628
628
fn test_cygwin ( target : & str ) {
@@ -791,7 +791,7 @@ fn test_cygwin(target: &str) {
791
791
}
792
792
} ) ;
793
793
794
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
794
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
795
795
}
796
796
797
797
fn test_windows ( target : & str ) {
@@ -913,7 +913,7 @@ fn test_windows(target: &str) {
913
913
914
914
cfg. skip_fn ( |_| false ) ;
915
915
916
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
916
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
917
917
}
918
918
919
919
fn test_redox ( target : & str ) {
@@ -963,7 +963,7 @@ fn test_redox(target: &str) {
963
963
"wchar.h" ,
964
964
}
965
965
966
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
966
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
967
967
}
968
968
969
969
fn test_solarish ( target : & str ) {
@@ -1244,7 +1244,7 @@ fn test_solarish(target: &str) {
1244
1244
}
1245
1245
} ) ;
1246
1246
1247
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1247
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1248
1248
}
1249
1249
1250
1250
fn test_netbsd ( target : & str ) {
@@ -1453,7 +1453,7 @@ fn test_netbsd(target: &str) {
1453
1453
}
1454
1454
} ) ;
1455
1455
1456
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1456
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1457
1457
}
1458
1458
1459
1459
fn test_dragonflybsd ( target : & str ) {
@@ -1669,7 +1669,7 @@ fn test_dragonflybsd(target: &str) {
1669
1669
( struct_ == "sigevent" && field == "sigev_notify_thread_id" )
1670
1670
} ) ;
1671
1671
1672
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
1672
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
1673
1673
}
1674
1674
1675
1675
fn test_wasi ( target : & str ) {
@@ -1776,7 +1776,7 @@ fn test_wasi(target: &str) {
1776
1776
// doesn't support sizeof.
1777
1777
cfg. skip_field ( |s, field| s == "dirent" && field == "d_name" ) ;
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_android ( target : & str ) {
@@ -2279,7 +2279,7 @@ fn test_android(target: &str) {
2279
2279
}
2280
2280
} ) ;
2281
2281
2282
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
2282
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
2283
2283
2284
2284
test_linux_like_apis ( target) ;
2285
2285
}
@@ -2947,7 +2947,7 @@ fn test_freebsd(target: &str) {
2947
2947
} ) ;
2948
2948
}
2949
2949
2950
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
2950
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
2951
2951
}
2952
2952
2953
2953
fn test_emscripten ( target : & str ) {
@@ -3189,7 +3189,7 @@ fn test_emscripten(target: &str) {
3189
3189
] . contains ( & field) )
3190
3190
} ) ;
3191
3191
3192
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3192
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3193
3193
}
3194
3194
3195
3195
fn test_neutrino ( target : & str ) {
@@ -3452,7 +3452,7 @@ fn test_neutrino(target: &str) {
3452
3452
3453
3453
cfg. skip_static ( move |name| name == "__dso_handle" ) ;
3454
3454
3455
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3455
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3456
3456
}
3457
3457
3458
3458
fn test_vxworks ( target : & str ) {
@@ -3556,7 +3556,7 @@ fn test_vxworks(target: &str) {
3556
3556
_ => false ,
3557
3557
} ) ;
3558
3558
3559
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
3559
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
3560
3560
}
3561
3561
3562
3562
fn config_gnu_bits ( target : & str , cfg : & mut ctest:: TestGenerator ) {
@@ -4859,7 +4859,7 @@ fn test_linux(target: &str) {
4859
4859
_ => false ,
4860
4860
} ) ;
4861
4861
4862
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
4862
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
4863
4863
4864
4864
test_linux_like_apis ( target) ;
4865
4865
}
@@ -5369,7 +5369,7 @@ fn test_haiku(target: &str) {
5369
5369
s => s. to_string ( ) ,
5370
5370
}
5371
5371
} ) ;
5372
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
5372
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
5373
5373
}
5374
5374
5375
5375
fn test_aix ( target : & str ) {
@@ -5660,5 +5660,5 @@ fn test_aix(target: &str) {
5660
5660
}
5661
5661
} ) ;
5662
5662
5663
- cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "main .rs" ) ;
5663
+ cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output .rs" ) ;
5664
5664
}
0 commit comments