File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/unix/linux_like/linux/gnu/b64/x86_64 Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1950,7 +1950,6 @@ fn test_linux(target: &str) {
1950
1950
"syslog.h" ,
1951
1951
"termios.h" ,
1952
1952
"time.h" ,
1953
- "ucontext.h" ,
1954
1953
"unistd.h" ,
1955
1954
"utime.h" ,
1956
1955
"utmp.h" ,
@@ -1968,6 +1967,10 @@ fn test_linux(target: &str) {
1968
1967
// <execinfo.h> is not supported by musl:
1969
1968
// https://www.openwall.com/lists/musl/2015/04/09/3
1970
1969
[ !musl] : "execinfo.h" ,
1970
+ // ucontext_t added a new field as of glibc 2.28; our struct definition is
1971
+ // conservative and omits the field, but that means the size doesn't match for newer
1972
+ // glibcs
1973
+ [ !gnu] : "ucontext.h" ,
1971
1974
}
1972
1975
1973
1976
// Include linux headers at the end:
Original file line number Diff line number Diff line change @@ -285,7 +285,6 @@ s_no_extra_traits! {
285
285
pub uc_mcontext: mcontext_t,
286
286
pub uc_sigmask: :: sigset_t,
287
287
__private: [ u8 ; 512 ] ,
288
- __ssp: [ :: c_ulonglong; 4 ] ,
289
288
}
290
289
}
291
290
You can’t perform that action at this time.
0 commit comments