summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2023-04-20 22:38:18 +0100
committerDavid CARLIER <devnexen@gmail.com>2023-04-20 22:38:18 +0100
commit4cba6f324e8157abe5d7d4bc7257bd4e570b3d31 (patch)
tree5ac9f9577f791d0a40c66b209a9e48713066013a
parent44325c40ec51da149712d30ccddc02e6853a5570 (diff)
downloadrust-libc-4cba6f324e8157abe5d7d4bc7257bd4e570b3d31.tar.gz
fix ci and update freebsd image
-rw-r--r--.cirrus.yml2
-rw-r--r--libc-test/build.rs3
-rw-r--r--libc-test/semver/freebsd.txt2
3 files changed, 4 insertions, 3 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index d9fc3c90a8..24f152846d 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -15,7 +15,7 @@ task:
task:
name: nightly x86_64-unknown-freebsd-13
freebsd_instance:
- image_family: freebsd-13-1
+ image_family: freebsd-13-2
setup_script:
- pkg install -y libnghttp2 curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
diff --git a/libc-test/build.rs b/libc-test/build.rs
index ac0f996fc4..2cfc32b436 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -2286,6 +2286,9 @@ fn test_freebsd(target: &str) {
// Added in FreeBSD 14
"EV_KEEPUDATA" if Some(14) > freebsd_ver => true,
+ // Added in FreeBSD 13.2
+ "AT_USRSTACKBASE" | "AT_USRSTACKLIM" if Some(13) > freebsd_ver => true,
+
_ => false,
}
});
diff --git a/libc-test/semver/freebsd.txt b/libc-test/semver/freebsd.txt
index 142f7b2d87..ed9aceecbd 100644
--- a/libc-test/semver/freebsd.txt
+++ b/libc-test/semver/freebsd.txt
@@ -109,8 +109,6 @@ AT_REMOVEDIR
AT_RESOLVE_BENEATH
AT_SYMLINK_FOLLOW
AT_SYMLINK_NOFOLLOW
-AT_USRSTACKBASE
-AT_USRSTACKLIM
AT_UID
B14400
B28800