diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-08 18:57:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-08 18:57:02 +0200 |
| commit | 127fbc8481a173fc867bd80feaa2615575a6412f (patch) | |
| tree | ff8a5059c99189854ec18ab6e564f0d00189fcea /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 53f2ac30e40958803cc42d10b2c4724584527ddb (diff) | |
| parent | 6b3feb49c603096dd904a4689f2b57ba3ed6b27d (diff) | |
| download | rust-127fbc8481a173fc867bd80feaa2615575a6412f.tar.gz rust-127fbc8481a173fc867bd80feaa2615575a6412f.zip | |
Rollup merge of #128749 - tgross35:float-inline, r=scottmcm
Mark `{f32,f64}::{next_up,next_down,midpoint}` inline
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 <https://lore.kernel.org/all/20240806150619.192882-1-ojeda@kernel.org/>.
Add the missing attributes so the symbols should no longer be required.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
