File tree 3 files changed +16
-13
lines changed
3 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,10 @@ jobs:
73
73
ARCH_BITS : 64
74
74
ARCH : x86_64
75
75
- target : x86_64-pc-windows-msvc
76
- # Disabled because broken:
77
- # https://github.com/rust-lang/libc/issues/1592
78
- # - target: i686-pc-windows-gnu
79
- # env:
80
- # ARCH_BITS: 32
81
- # ARCH: i686
76
+ - target : i686-pc-windows-gnu
77
+ env :
78
+ ARCH_BITS : 32
79
+ ARCH : i686
82
80
- target : i686-pc-windows-msvc
83
81
steps :
84
82
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@HEAD
Original file line number Diff line number Diff line change @@ -58,12 +58,10 @@ jobs:
58
58
ARCH_BITS : 64
59
59
ARCH : x86_64
60
60
- target : x86_64-pc-windows-msvc
61
- # Disabled because broken:
62
- # https://github.com/rust-lang/libc/issues/1592
63
- # - target: i686-pc-windows-gnu
64
- # env:
65
- # ARCH_BITS: 32
66
- # ARCH: i686
61
+ - target : i686-pc-windows-gnu
62
+ env :
63
+ ARCH_BITS : 32
64
+ ARCH : i686
67
65
- target : i686-pc-windows-msvc
68
66
steps :
69
67
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -618,6 +618,7 @@ fn test_openbsd(target: &str) {
618
618
fn test_windows ( target : & str ) {
619
619
assert ! ( target. contains( "windows" ) ) ;
620
620
let gnu = target. contains ( "gnu" ) ;
621
+ let i686 = target. contains ( "i686" ) ;
621
622
622
623
let mut cfg = ctest_cfg ( ) ;
623
624
if target. contains ( "msvc" ) {
@@ -684,14 +685,20 @@ fn test_windows(target: &str) {
684
685
cfg. skip_type ( move |name| match name {
685
686
"SSIZE_T" if !gnu => true ,
686
687
"ssize_t" if !gnu => true ,
688
+ // FIXME: The size and alignment of this type are incorrect
689
+ "time_t" if gnu && i686 => true ,
687
690
_ => false ,
688
691
} ) ;
689
692
690
693
cfg. skip_struct ( move |ty| {
691
694
if ty. starts_with ( "__c_anonymous_" ) {
692
695
return true ;
693
696
}
694
- return false ;
697
+ match ty {
698
+ // FIXME: The size and alignment of this struct are incorrect
699
+ "timespec" if gnu && i686 => true ,
700
+ _ => false ,
701
+ }
695
702
} ) ;
696
703
697
704
cfg. skip_const ( move |name| {
You can’t perform that action at this time.
0 commit comments