Lorenz Brun | 605efbe | 2021-09-28 14:01:01 +0200 | [diff] [blame^] | 1 | // This is a marker symbol emitted by MSVC-ABI compatible compilers. Its presence indicates that the linked binary |
| 2 | // contains instructions working with floating-point registers. Since we do not have a standard library which consumes |
| 3 | // it we can just define it as zero. |
| 4 | // See https://github.com/rust-lang/rust/issues/62785#issuecomment-531186089 for more discussion. |
| 5 | // Since building static libraries is not possible with Bazel this is compiled and checked in. |
| 6 | int _fltused __attribute__((used)) = 0; |