Skip to content

Commit

Permalink
Hermit: Remove floor symbol
Browse files Browse the repository at this point in the history
This symbol should be provided by Hermit.
  • Loading branch information
mkroening committed Feb 12, 2023
1 parent 5b8f284 commit 913a566
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions library/std/src/sys/hermit/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 913a566

Please sign in to comment.