about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-24 13:46:54 +0000
committerbors <bors@rust-lang.org>2014-06-24 13:46:54 +0000
commit82ec1aef293ddc5c6373bd7f5ec323fafbdf7901 (patch)
tree52730fbfa9ef29c85dd537fbd13829275e180504 /src/libstd
parent71fe44def9676d519f5ce5d7304e581a42cf2c70 (diff)
parent34a384a128d9630679f9c90bb27eaa0822e5b798 (diff)
downloadrust-82ec1aef293ddc5c6373bd7f5ec323fafbdf7901.tar.gz
rust-82ec1aef293ddc5c6373bd7f5ec323fafbdf7901.zip
auto merge of #14963 : w3ln4/rust/master, r=alexcrichton
The aim of these changes is not working out a generic bi-endianness architectures support but to allow people develop for little endian MIPS machines (issue #7190).
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 {