aboutsummaryrefslogtreecommitdiff
path: root/vendor/libc/src/unix/linux_like/linux/arch/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libc/src/unix/linux_like/linux/arch/mod.rs')
-rw-r--r--vendor/libc/src/unix/linux_like/linux/arch/mod.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/libc/src/unix/linux_like/linux/arch/mod.rs b/vendor/libc/src/unix/linux_like/linux/arch/mod.rs
new file mode 100644
index 0000000..7f6ddc5
--- /dev/null
+++ b/vendor/libc/src/unix/linux_like/linux/arch/mod.rs
@@ -0,0 +1,18 @@
+cfg_if! {
+ if #[cfg(any(target_arch = "mips",
+ target_arch = "mips32r6",
+ target_arch = "mips64",
+ target_arch = "mips64r6"))] {
+ mod mips;
+ pub use self::mips::*;
+ } else if #[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))] {
+ mod powerpc;
+ pub use self::powerpc::*;
+ } else if #[cfg(any(target_arch = "sparc", target_arch = "sparc64"))] {
+ mod sparc;
+ pub use self::sparc::*;
+ } else {
+ mod generic;
+ pub use self::generic::*;
+ }
+}