blob: 6934b9ec8317bc5c0890cb7dea2e09e8fbda43ee [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.
Lorenz Brun9ee160e2023-08-29 23:07:51 +02006int _fltused __attribute__((weak)) = 0;