Skip to content

Commit

Permalink
Auto merge of #2537 - kanavin:add-riscv, r=Amanieu
Browse files Browse the repository at this point in the history
Add base definitions for riscv64 + musl

This is picking up the stale MR that was closed for inactivity:
#1994
  • Loading branch information
bors committed Nov 16, 2021
2 parents 69b86ab + ec848bc commit c001075
Show file tree
Hide file tree
Showing 4 changed files with 787 additions and 1 deletion.
1 change: 1 addition & 0 deletions ci/build.sh
Expand Up @@ -141,6 +141,7 @@ armv5te-unknown-linux-gnueabi \
armv5te-unknown-linux-musleabi \
i686-pc-windows-gnu \
riscv64gc-unknown-linux-gnu \
riscv64gc-unknown-linux-musl \
wasm32-wasi \
x86_64-fortanix-unknown-sgx \
x86_64-fuchsia \
Expand Down
3 changes: 3 additions & 0 deletions src/unix/linux_like/linux/musl/b64/mod.rs
Expand Up @@ -163,6 +163,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 c001075

Please sign in to comment.