diff options
| author | Ramon de C Valle <rcvalle@users.noreply.github.com> | 2023-08-23 16:02:25 -0700 |
|---|---|---|
| committer | Ramon de C Valle <rcvalle@users.noreply.github.com> | 2023-08-24 21:02:06 -0700 |
| commit | 5d6e2d70509fb521d7329ffa43de538ecf9b3af5 (patch) | |
| tree | b7b3026e8d6c91882b03c68b5928b5b4af9c0107 /compiler/rustc_query_impl/src | |
| parent | 249595b7523fc07a99c1adee90b1947739ca0e5b (diff) | |
| download | rust-5d6e2d70509fb521d7329ffa43de538ecf9b3af5.tar.gz rust-5d6e2d70509fb521d7329ffa43de538ecf9b3af5.zip | |
Fix CFI: f32 and f64 are encoded incorrectly for c
Fix #115150 by encoding f32 and f64 correctly for cross-language CFI. I missed changing the encoding for f32 and f64 when I introduced the integer normalization option in #105452 as integer normalization does not include floating point. `f32` and `f64` should be always encoded as `f` and `d` since they are both FFI safe when their representation are the same (i.e., IEEE 754) for both the Rust compiler and Clang.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
