blob: a6ca646106560f9f35a9178cc0d7aeb4175638ed [file] [log] [blame]
Lorenz Brun605efbe2021-09-28 14:01:01 +02001// 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.
6int _fltused __attribute__((used)) = 0;