Skip to content

Commit c001075

Browse files
committed
Auto merge of #2537 - kanavin:add-riscv, r=Amanieu
Add base definitions for riscv64 + musl This is picking up the stale MR that was closed for inactivity: #1994
2 parents 69b86ab + ec848bc commit c001075

File tree

4 files changed

+787
-1
lines changed

4 files changed

+787
-1
lines changed

ci/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ armv5te-unknown-linux-gnueabi \
141141
armv5te-unknown-linux-musleabi \
142142
i686-pc-windows-gnu \
143143
riscv64gc-unknown-linux-gnu \
144+
riscv64gc-unknown-linux-musl \
144145
wasm32-wasi \
145146
x86_64-fortanix-unknown-sgx \
146147
x86_64-fuchsia \

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

+3
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ cfg_if! {
163163
} else if #[cfg(any(target_arch = "x86_64"))] {
164164
mod x86_64;
165165
pub use self::x86_64::*;
166+
} else if #[cfg(any(target_arch = "riscv64"))] {
167+
mod riscv64;
168+
pub use self::riscv64::*;
166169
} else {
167170
// Unknown target_arch
168171
}

0 commit comments

Comments
 (0)