From 4833f5fc8ee07c9c61d3573ac5801af4f2a6b7b6 Mon Sep 17 00:00:00 2001 From: Scott Mabin Date: Fri, 8 Oct 2021 13:36:30 +0100 Subject: [PATCH] Add xtensa to list of soft math targets. --- src/math.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/math.rs b/src/math.rs index 6bc1e9076..6f024e7b3 100644 --- a/src/math.rs +++ b/src/math.rs @@ -21,6 +21,7 @@ macro_rules! no_mangle { not(target_env = "wasi") ), all(target_arch = "x86_64", target_os = "uefi"), + all(target_arch = "xtensa", target_os = "none"), all(target_vendor = "fortanix", target_env = "sgx") ))] no_mangle! { @@ -69,6 +70,7 @@ no_mangle! { target_os = "unknown", not(target_env = "wasi") ), + all(target_arch = "xtensa", target_os = "none"), all(target_vendor = "fortanix", target_env = "sgx") ))] no_mangle! {