I don't think this is project specific but for some reason cargo can't find ld.. Not sure what I am doing wrong.
RUSTFLAGS="-C linker=gcc" cargo test seems to work but... that's ugly, and it shouldn't be necessary. I don't see how the build.rs is corrupting the linking phase.
Offending codebase:
https://github.com/Kreijstal/OpenVAF/tree/llvm18reloaded