Skip to content

Commit

Permalink
Support for RISC-V 64-bit GNU/Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
msizanoen1 committed Nov 27, 2019
1 parent 48e4bb9 commit 112b7f9
Show file tree
Hide file tree
Showing 4 changed files with 867 additions and 1 deletion.
1 change: 1 addition & 0 deletions ci/build.sh
Expand Up @@ -220,6 +220,7 @@ nvptx64-nvidia-cuda \
powerpc-unknown-linux-gnuspe \
powerpc-unknown-netbsd \
powerpc64-unknown-freebsd \
riscv64gc-unknown-linux-gnu \
riscv32imac-unknown-none-elf \
riscv32imc-unknown-none-elf \
sparc64-unknown-netbsd \
Expand Down
3 changes: 3 additions & 0 deletions src/unix/linux_like/linux/gnu/b64/mod.rs
Expand Up @@ -78,6 +78,9 @@ cfg_if! {
} else if #[cfg(any(target_arch = "x86_64"))] {
mod x86_64;
pub use self::x86_64::*;
} else if #[cfg(any(target_arch = "riscv64"))] {
mod riscv64;
pub use self::riscv64::*;
} else {
// Unknown target_arch
}
Expand Down

0 comments on commit 112b7f9

Please sign in to comment.