summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-05-28 17:18:53 +0000
committerbors <bors@rust-lang.org>2019-05-28 17:18:53 +0000
commitc9fbd006331cac6b5d77d024d0c26fbee4d6b573 (patch)
treeff32a1ffbb7116feb4346d8a9e1e0c1bf3274d5c /libc-test
parent927ccfd4b0aeccf38b7746f8cbf92d596c360fbc (diff)
parent73643694b319fee932d3b5af965d28057a9c723e (diff)
downloadrust-libc-c9fbd006331cac6b5d77d024d0c26fbee4d6b573.tar.gz
Auto merge of #1372 - tklauser:f-seal-future-write, r=gnzlbg
Add F_SEAL_FUTURE_WRITE on Linux/Android This was added in Linux 5.1 and will only show up in the next glibc release, thus skip in tests.
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index d828b9fe3d..b199d1cfbc 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -2130,6 +2130,8 @@ fn test_linux(target: &str) {
// Require Linux kernel 5.x:
| "MSG_COPY"
if musl => true,
+ // Require Linux kernel 5.1:
+ "F_SEAL_FUTURE_WRITE" => true,
// The musl version 1.0.22 used in CI does not
// contain these glibc constants yet: