mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
6b3feb49c6
Most float functions are marked `#[inline]` so any float symbols used by these functions only need to be provided if the function itself is used. RFL recently noticed that `next_up`, `next_down`, and `midpoint` for `f32` and `f64` are not inline, which causes linker errors when building with certain configurations [1]. Add the missing attributes so the symbols should no longer be required. Cc: Gary Guo <gary@garyguo.net> Reported-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/all/20240806150619.192882-1-ojeda@kernel.org/ [1] |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |