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 17, 2021
2 parents 49e6255 + f699c8f commit 83ffbee
Show file tree
Hide file tree
Showing 4 changed files with 742 additions and 1 deletion.
1 change: 1 addition & 0 deletions ci/build.sh
Expand Up @@ -251,6 +251,7 @@ riscv32i-unknown-none-elf \
riscv32imac-unknown-none-elf \
riscv32imc-unknown-none-elf \
riscv32gc-unknown-linux-gnu \
riscv64gc-unknown-linux-musl \
riscv64gc-unknown-none-elf \
riscv64imac-unknown-none-elf \
s390x-unknown-linux-musl \
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 83ffbee

Please sign in to comment.