about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-08-17 17:00:45 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-08-17 23:32:30 -0700
commit8a7b0fad531f2cbb40aace2bdfb5f03060a61d33 (patch)
tree99e9e41afaf66e95fcd789d1da50ef83de859b6e /src/libstd/sys/unix/stack_overflow.rs
parent47ea0cfb6bd250c970e3a61d62bfa1b1c7bb27d4 (diff)
downloadrust-8a7b0fad531f2cbb40aace2bdfb5f03060a61d33.tar.gz
rust-8a7b0fad531f2cbb40aace2bdfb5f03060a61d33.zip
trans: Call `fmod` manually for 32-bit float rem
Currently `f32 % f32` will generate a link error on 32-bit MSVC because LLVM
will lower the operation to a call to the nonexistent function `fmodf`. Work
around in this in the backend by lowering to a call to `fmod` instead with
necessary extension/truncation between floats/doubles.

Closes #27859
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions