- Published on
Rust 1.99.0 forgot one attribute on FFI functions that return bool on x86_64 Linux, and C callers got 16 where Rust computed false. I rebuilt the bug with three toolchains, gcc and clang, to see what this value does in C and how to tell a compiler bug from my own ABI mistake.