@@ -73,8 +73,8 @@ fn do_ctest() {
73
73
}
74
74
}
75
75
76
- fn ctest_cfg ( ) -> ctest :: TestGenerator {
77
- ctest :: TestGenerator :: new ( )
76
+ fn ctest_cfg ( ) -> ctest_old :: TestGenerator {
77
+ ctest_old :: TestGenerator :: new ( )
78
78
}
79
79
80
80
fn ctest_next_cfg ( ) -> ctest_next:: TestGenerator {
@@ -3349,7 +3349,7 @@ fn test_neutrino(target: &str) {
3349
3349
} ) ;
3350
3350
3351
3351
cfg. volatile_item ( |i| {
3352
- use ctest :: VolatileItemKind :: * ;
3352
+ use ctest_old :: VolatileItemKind :: * ;
3353
3353
match i {
3354
3354
// The following fields are volatie but since we cannot express that in
3355
3355
// Rust types, we have to explicitly tell the checker about it here:
@@ -3462,7 +3462,7 @@ fn test_neutrino(target: &str) {
3462
3462
fn test_vxworks ( target : & str ) {
3463
3463
assert ! ( target. contains( "vxworks" ) ) ;
3464
3464
3465
- let mut cfg = ctest :: TestGenerator :: new ( ) ;
3465
+ let mut cfg = ctest_old :: TestGenerator :: new ( ) ;
3466
3466
headers ! { cfg:
3467
3467
"vxWorks.h" ,
3468
3468
"yvals.h" ,
@@ -3563,7 +3563,7 @@ fn test_vxworks(target: &str) {
3563
3563
cfg. generate ( src_hotfix_dir ( ) . join ( "lib.rs" ) , "ctest_output.rs" ) ;
3564
3564
}
3565
3565
3566
- fn config_gnu_bits ( target : & str , cfg : & mut ctest :: TestGenerator ) {
3566
+ fn config_gnu_bits ( target : & str , cfg : & mut ctest_old :: TestGenerator ) {
3567
3567
let pointer_width = env:: var ( "CARGO_CFG_TARGET_POINTER_WIDTH" ) . unwrap_or_default ( ) ;
3568
3568
if target. contains ( "gnu" )
3569
3569
&& target. contains ( "linux" )
@@ -4734,7 +4734,7 @@ fn test_linux(target: &str) {
4734
4734
} ) ;
4735
4735
4736
4736
cfg. volatile_item ( |i| {
4737
- use ctest :: VolatileItemKind :: * ;
4737
+ use ctest_old :: VolatileItemKind :: * ;
4738
4738
match i {
4739
4739
// aio_buf is a volatile void** but since we cannot express that in
4740
4740
// Rust types, we have to explicitly tell the checker about it here:
@@ -5055,7 +5055,7 @@ fn test_haiku(target: &str) {
5055
5055
cfg. flag ( "-Wno-deprecated-declarations" ) ;
5056
5056
cfg. define ( "__USE_GNU" , Some ( "1" ) ) ;
5057
5057
cfg. define ( "_GNU_SOURCE" , None ) ;
5058
- cfg. language ( ctest :: Lang :: CXX ) ;
5058
+ cfg. language ( ctest_old :: Lang :: CXX ) ;
5059
5059
5060
5060
// POSIX API
5061
5061
headers ! { cfg:
@@ -5661,7 +5661,7 @@ fn test_aix(target: &str) {
5661
5661
} ) ;
5662
5662
5663
5663
cfg. volatile_item ( |i| {
5664
- use ctest :: VolatileItemKind :: * ;
5664
+ use ctest_old :: VolatileItemKind :: * ;
5665
5665
match i {
5666
5666
// 'aio_buf' is of type 'volatile void**' but since we cannot
5667
5667
// express that in Rust types, we have to explicitly tell the
0 commit comments