Skip to content

Commit e36bea1

Browse files
Enable math module for riscv32 targets
This is likely a bug fix since in math.rs there are already config attributes that are mentioning this target
1 parent d1d785a commit e36bea1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ pub mod int;
4848
all(target_arch = "x86_64", target_os = "none"),
4949
all(target_arch = "x86_64", target_os = "uefi"),
5050
all(target_arch = "arm", target_os = "none"),
51+
all(target_arch = "riscv32", not(target_feature = "f"), target_os = "none"),
5152
all(target_arch = "xtensa", target_os = "none"),
5253
all(target_arch = "mips", target_os = "none"),
5354
target_os = "xous",

0 commit comments

Comments
 (0)