Skip to content

Commit

Permalink
Add riscv architectures
Browse files Browse the repository at this point in the history
Add `riscv32` and `riscv64`. Both have 32-bit int, and unsigned chars.
  • Loading branch information
laanwj committed Nov 4, 2019
1 parent 1779ddc commit 1086ef4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ pub use pwd::*;
target_arch = "wasm64",
target_arch = "powerpc",
target_arch = "powerpc64",
target_arch = "s390x"))]
target_arch = "s390x",
target_arch = "riscv32",
target_arch = "riscv64"))]
mod ad {
pub type c_char = ::c_uchar;

Expand Down

0 comments on commit 1086ef4

Please sign in to comment.