diff --git a/.cirrus.yml b/.cirrus.yml index faef69c2ab1c8..fb5d07b4f82ad 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -16,7 +16,7 @@ task: task: name: nightly x86_64-unknown-freebsd-12 freebsd_instance: - image: freebsd-12-1-release-amd64 + image: freebsd-12-2-release-amd64 setup_script: - pkg install -y curl - curl https://sh.rustup.rs -sSf --output rustup.sh diff --git a/libc-test/build.rs b/libc-test/build.rs index 35a042001bc75..8186f9196caf2 100755 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -1858,6 +1858,11 @@ fn test_freebsd(target: &str) { // commit/06b00ceaa914a3907e4e27bad924f44612bae1d7 "MINCORE_SUPER" if Some(13) == freebsd_ver => true, + // This was increased to 97 in FreeBSD 12.2 and 13. + // https://github.com/freebsd/freebsd/ + // commit/72a21ba0f62da5e86a1c0b462aeb3f5ff849a1b7 + "ELAST" if Some(12) == freebsd_ver => true, + _ => false, } });