about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/os.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/os.rs b/src/libstd/os.rs
index 4d58d4674bf..a77242638eb 100644
--- a/src/libstd/os.rs
+++ b/src/libstd/os.rs
@@ -1746,6 +1746,10 @@ mod arch_consts {
     pub static ARCH: &'static str = "mips";
 }
 
+#[cfg(target_arch = "mipsel")]
+mod arch_consts {
+    pub static ARCH: &'static str = "mipsel";
+}
 
 #[cfg(test)]
 mod tests {