Skip to content

Commit 55f36ed

Browse files
authored
Rollup merge of #107970 - hermitcore:hermit-rm-floor, r=thomcc
Hermit: Remove floor symbol This symbol should be provided by Hermit. It was introduced in 2019 (#65167). Since 2020, Hermit provides these math functions on its own (hermit-os/hermit-rs#37). I think moving this to Hermit was merely an oversight. Related: * hermit-os/kernel#654 * hermit-os/hermit-rs#406 CC: `@stlankes`
2 parents b5aeba8 + 913a566 commit 55f36ed

File tree

1 file changed

+0
-5
lines changed
  • library/std/src/sys/hermit

1 file changed

+0
-5
lines changed

library/std/src/sys/hermit/mod.rs

-5
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ pub fn unsupported_err() -> crate::io::Error {
7272
)
7373
}
7474

75-
#[no_mangle]
76-
pub extern "C" fn floor(x: f64) -> f64 {
77-
unsafe { intrinsics::floorf64(x) }
78-
}
79-
8075
pub fn abort_internal() -> ! {
8176
unsafe {
8277
abi::abort();

0 commit comments

Comments
 (0)