Skip to content

Commit 112b7f9

Browse files
committed
Support for RISC-V 64-bit GNU/Linux
1 parent 48e4bb9 commit 112b7f9

File tree

4 files changed

+867
-1
lines changed

4 files changed

+867
-1
lines changed

ci/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ nvptx64-nvidia-cuda \
220220
powerpc-unknown-linux-gnuspe \
221221
powerpc-unknown-netbsd \
222222
powerpc64-unknown-freebsd \
223+
riscv64gc-unknown-linux-gnu \
223224
riscv32imac-unknown-none-elf \
224225
riscv32imc-unknown-none-elf \
225226
sparc64-unknown-netbsd \

src/unix/linux_like/linux/gnu/b64/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ cfg_if! {
7878
} else if #[cfg(any(target_arch = "x86_64"))] {
7979
mod x86_64;
8080
pub use self::x86_64::*;
81+
} else if #[cfg(any(target_arch = "riscv64"))] {
82+
mod riscv64;
83+
pub use self::riscv64::*;
8184
} else {
8285
// Unknown target_arch
8386
}

0 commit comments

Comments
 (0)