From ce1e4d2d2cf1b8014ef4c39028d41ecf87e98802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Chodzikiewicz?= Date: Tue, 31 Oct 2023 20:32:53 +0100 Subject: [PATCH] Enable math module for all "none" os targets This was initially a bugfix that fixed gating math module for riscv32, but conclusiion is it makes no sense to gate on target architecture. --- src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index e2e35fbd..3e549187 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -45,11 +45,8 @@ pub mod int; #[cfg(any( all(target_family = "wasm", target_os = "unknown"), - all(target_arch = "x86_64", target_os = "none"), target_os = "uefi", - all(target_arch = "arm", target_os = "none"), - all(target_arch = "xtensa", target_os = "none"), - all(target_arch = "mips", target_os = "none"), + target_os = "none", target_os = "xous", all(target_vendor = "fortanix", target_env = "sgx"), target_os = "windows"