Skip to content

Commit a09210a

Browse files
authored
Set fast_arithmetic=64 for riscv64
riscv64 also has an ilp32 variant[1][2]. [1] https://github.com/ruyisdk/riscv-gnu-toolchain-rv64ilp32 [2] https://fedoraproject.org/wiki/Architectures/RISC-V/64ILP32
1 parent 01182e5 commit a09210a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ fn main() {
1313
|| target_arch == "loongarch64"
1414
|| target_arch == "mips64"
1515
|| target_arch == "powerpc64"
16+
|| target_arch == "riscv64"
1617
|| target_arch == "wasm32"
1718
|| target_arch == "x86_64"
1819
|| target_pointer_width == "64"

0 commit comments

Comments
 (0)