Skip to content

Commit 2d51085

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 (rust-lang/rust#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 ac56d16 + fb0bc94 commit 2d51085

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

std/src/sys/hermit/mod.rs

Lines changed: 0 additions & 5 deletions
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)