Skip to content

Commit 4833f5f

Browse files
committed
Add xtensa to list of soft math targets.
1 parent 4151e03 commit 4833f5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/math.rs

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ macro_rules! no_mangle {
2121
not(target_env = "wasi")
2222
),
2323
all(target_arch = "x86_64", target_os = "uefi"),
24+
all(target_arch = "xtensa", target_os = "none"),
2425
all(target_vendor = "fortanix", target_env = "sgx")
2526
))]
2627
no_mangle! {
@@ -69,6 +70,7 @@ no_mangle! {
6970
target_os = "unknown",
7071
not(target_env = "wasi")
7172
),
73+
all(target_arch = "xtensa", target_os = "none"),
7274
all(target_vendor = "fortanix", target_env = "sgx")
7375
))]
7476
no_mangle! {

0 commit comments

Comments
 (0)