diff options
author | Alan Somers <asomers@gmail.com> | 2022-01-19 17:29:30 -0700 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2022-01-19 17:29:30 -0700 |
commit | ec4f56f9af9cce9cce5b92804e921baf441dfec9 (patch) | |
tree | a1a98da2d3cfb679cb86352d25295778ab168a96 | |
parent | 6987bba7520d33a0e1bf647760d0fc3c85f34f5e (diff) | |
download | rust-libc-ec4f56f9af9cce9cce5b92804e921baf441dfec9.tar.gz |
Remove KERN_STACKTOP
It got removed by upstream. This should not be considered a breaking
change, because KERN_STACKTOP has never been included in a released
version of FreeBSD.
https://github.com/freebsd/freebsd-src/commit/1544f5add8c72c28e939a1557e3e319c6cfe5008
-rw-r--r-- | libc-test/build.rs | 2 | ||||
-rw-r--r-- | src/unix/bsd/freebsdlike/freebsd/mod.rs | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index a3e52fa145..9737ce0db2 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -2091,8 +2091,6 @@ fn test_freebsd(target: &str) { "VM_TOTAL" if Some(11) == freebsd_ver => true, - // Added in FreeBSD 14. - "KERN_STACKTOP" if Some(14) > freebsd_ver => true, // Added in FreeBSD 13. "KERN_PROC_SIGFASTBLK" | "USER_LOCALBASE" diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index c66e6df49c..00082e9fda 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -2056,7 +2056,6 @@ pub const KERN_IOV_MAX: ::c_int = 35; pub const KERN_HOSTUUID: ::c_int = 36; pub const KERN_ARND: ::c_int = 37; pub const KERN_MAXPHYS: ::c_int = 38; -pub const KERN_STACKTOP: ::c_int = 39; pub const KERN_PROC_ALL: ::c_int = 0; pub const KERN_PROC_PID: ::c_int = 1; |