From 913a566c22c78d630a74a1c43c8a40d20f0e58a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Sun, 12 Feb 2023 23:37:58 +0100 Subject: [PATCH] Hermit: Remove floor symbol This symbol should be provided by Hermit. --- library/std/src/sys/hermit/mod.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/library/std/src/sys/hermit/mod.rs b/library/std/src/sys/hermit/mod.rs index 6811fadb0188c..20fd3dd8f090d 100644 --- a/library/std/src/sys/hermit/mod.rs +++ b/library/std/src/sys/hermit/mod.rs @@ -72,11 +72,6 @@ pub fn unsupported_err() -> crate::io::Error { ) } -#[no_mangle] -pub extern "C" fn floor(x: f64) -> f64 { - unsafe { intrinsics::floorf64(x) } -} - pub fn abort_internal() -> ! { unsafe { abi::abort();