Skip to content

Commit ec4f56f

Browse files
committed
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. freebsd/freebsd-src@1544f5a
1 parent 6987bba commit ec4f56f

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

libc-test/build.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2091,8 +2091,6 @@ fn test_freebsd(target: &str) {
20912091

20922092
"VM_TOTAL" if Some(11) == freebsd_ver => true,
20932093

2094-
// Added in FreeBSD 14.
2095-
"KERN_STACKTOP" if Some(14) > freebsd_ver => true,
20962094
// Added in FreeBSD 13.
20972095
"KERN_PROC_SIGFASTBLK"
20982096
| "USER_LOCALBASE"

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2056,7 +2056,6 @@ pub const KERN_IOV_MAX: ::c_int = 35;
20562056
pub const KERN_HOSTUUID: ::c_int = 36;
20572057
pub const KERN_ARND: ::c_int = 37;
20582058
pub const KERN_MAXPHYS: ::c_int = 38;
2059-
pub const KERN_STACKTOP: ::c_int = 39;
20602059

20612060
pub const KERN_PROC_ALL: ::c_int = 0;
20622061
pub const KERN_PROC_PID: ::c_int = 1;

0 commit comments

Comments
 (0)