We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e359449 commit c83b33aCopy full SHA for c83b33a
src/sys/syscall.rs
@@ -44,6 +44,7 @@ mod arch {
44
pub static MEMFD_CREATE: Syscall = 385;
45
}
46
47
+// Rust on mips uses the N32 ABI
48
#[cfg(target_arch = "mips")]
49
mod arch {
50
use libc::c_long;
@@ -54,6 +55,17 @@ mod arch {
54
55
pub static MEMFD_CREATE: Syscall = 354;
56
57
58
+// Rust on mips64 uses the N64 ABI
59
+#[cfg(target_arch = "mips64")]
60
+mod arch {
61
+ use libc::c_long;
62
+
63
+ pub type Syscall = c_long;
64
65
+ pub static SYSPIVOTROOT: Syscall = 151;
66
+ pub static MEMFD_CREATE: Syscall = 314;
67
+}
68
69
#[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))]
70
71
0 commit comments