Skip to content

Commit 6f15928

Browse files
chenx97JohnTitor
authored andcommitted
libc-test: add mips to the sys_memfd_secret skip list
1 parent a7fe341 commit 6f15928

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libc-test/build.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3593,6 +3593,7 @@ fn test_linux(target: &str) {
35933593
let loongarch64 = target.contains("loongarch64");
35943594
let wasm32 = target.contains("wasm32");
35953595
let uclibc = target.contains("uclibc");
3596+
let mips = target.contains("mips");
35963597

35973598
let musl_v1_2_3 = env::var("RUST_LIBC_UNSTABLE_MUSL_V1_2_3").is_ok();
35983599
let old_musl = musl && !musl_v1_2_3;
@@ -4286,8 +4287,8 @@ fn test_linux(target: &str) {
42864287
// FIXME(linux): Not yet implemented on sparc64
42874288
"SYS_clone3" if sparc64 => true,
42884289

4289-
// FIXME(linux): Not defined on ARM, gnueabihf, musl, PowerPC, riscv64, s390x, and sparc64.
4290-
"SYS_memfd_secret" if arm | gnueabihf | musl | ppc | riscv64 | s390x | sparc64 => true,
4290+
// FIXME(linux): Not defined on ARM, gnueabihf, mips, musl, PowerPC, riscv64, s390x, and sparc64.
4291+
"SYS_memfd_secret" if arm | gnueabihf | mips | musl | ppc | riscv64 | s390x | sparc64 => true,
42914292

42924293
// FIXME(linux): Added in Linux 5.16
42934294
// https://github.com/torvalds/linux/commit/039c0ec9bb77446d7ada7f55f90af9299b28ca49

0 commit comments

Comments
 (0)