diff --git a/src/lib.rs b/src/lib.rs index 2ef28fc6..d1195a4a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,7 +52,7 @@ pub mod int; all(target_arch = "mips", target_os = "none"), target_os = "xous", all(target_vendor = "fortanix", target_env = "sgx"), - target_env = "msvc" + target_os = "windows" ))] pub mod math; pub mod mem; diff --git a/src/math.rs b/src/math.rs index 21d23ff9..f8f9d225 100644 --- a/src/math.rs +++ b/src/math.rs @@ -97,7 +97,7 @@ no_mangle! { all(target_arch = "x86_64", target_os = "uefi"), all(target_arch = "xtensa", target_os = "none"), all(target_vendor = "fortanix", target_env = "sgx"), - target_env = "msvc" + target_os = "windows" ))] intrinsics! { pub extern "C" fn lgamma_r(x: f64, s: &mut i32) -> f64 {