diff options
| author | msizanoen1 <qtmlabs@protonmail.com> | 2019-11-23 14:22:05 +0700 |
|---|---|---|
| committer | msizanoen1 <qtmlabs@protonmail.com> | 2020-01-01 09:52:18 +0700 |
| commit | b830b673e7369fc67ffa57e9a5140185315549d3 (patch) | |
| tree | e32c6803ad05732febe85974a81b6e0407edf419 /src/libstd/os/linux/raw.rs | |
| parent | 38aa6bdfd705ea0604d7d5dd9fabc5e8f853a4fc (diff) | |
| download | rust-b830b673e7369fc67ffa57e9a5140185315549d3.tar.gz rust-b830b673e7369fc67ffa57e9a5140185315549d3.zip | |
Add support for RISC-V 64-bit GNU/Linux
Diffstat (limited to 'src/libstd/os/linux/raw.rs')
| -rw-r--r-- | src/libstd/os/linux/raw.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libstd/os/linux/raw.rs b/src/libstd/os/linux/raw.rs index d9b2236047b..0caec97bb7b 100644 --- a/src/libstd/os/linux/raw.rs +++ b/src/libstd/os/linux/raw.rs @@ -230,7 +230,12 @@ mod arch { } } -#[cfg(any(target_arch = "mips64", target_arch = "s390x", target_arch = "sparc64"))] +#[cfg(any( + target_arch = "mips64", + target_arch = "s390x", + target_arch = "sparc64", + target_arch = "riscv64" +))] mod arch { pub use libc::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t}; } |
