From befe997b1e13f7886612c06fd553e51e58e61279 Mon Sep 17 00:00:00 2001 From: Sebastien Marie Date: Thu, 14 Dec 2023 09:38:05 +0000 Subject: [PATCH] openbsd: syscall() has been removed in upcoming OpenBSD 7.5 --- libc-test/build.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libc-test/build.rs b/libc-test/build.rs index cb28758ad507f..a9d04ca81cc15 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -565,6 +565,10 @@ fn test_openbsd(target: &str) { // Available for openBSD 7.3 "mimmutable" => true, + // Removed in OpenBSD 7.5 + // https://marc.info/?l=openbsd-cvs&m=170239504300386 + "syscall" => true, + _ => false, } });