Skip to content

Commit 5f3e003

Browse files
chenx97tgross35
authored andcommitted
libc-test: add mips to the sys_memfd_secret skip list
(backport <#4739>) (cherry picked from commit 6f15928)
1 parent 53e3000 commit 5f3e003

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
@@ -3738,6 +3738,7 @@ fn test_linux(target: &str) {
37383738
let loongarch64 = target.contains("loongarch64");
37393739
let wasm32 = target.contains("wasm32");
37403740
let uclibc = target.contains("uclibc");
3741+
let mips = target.contains("mips");
37413742

37423743
let musl_v1_2_3 = env::var("RUST_LIBC_UNSTABLE_MUSL_V1_2_3").is_ok();
37433744
let old_musl = musl && !musl_v1_2_3;
@@ -4434,8 +4435,8 @@ fn test_linux(target: &str) {
44344435
// FIXME(linux): Not yet implemented on sparc64
44354436
"SYS_clone3" if sparc64 => true,
44364437

4437-
// FIXME(linux): Not defined on ARM, gnueabihf, musl, PowerPC, riscv64, s390x, and sparc64.
4438-
"SYS_memfd_secret" if arm | gnueabihf | musl | ppc | riscv64 | s390x | sparc64 => true,
4438+
// FIXME(linux): Not defined on ARM, gnueabihf, mips, musl, PowerPC, riscv64, s390x, and sparc64.
4439+
"SYS_memfd_secret" if arm | gnueabihf | mips | musl | ppc | riscv64 | s390x | sparc64 => true,
44394440

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

0 commit comments

Comments
 (0)