You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling it with rustc src/main.rs --target riscv32imc-unknown-none-elf -C target-feature=+d gives the linker error rust-lld: error: main.main.2f941e1c5654685d-cgu.0.rcgu.o: cannot link object files with different floating-point ABI from /tmp/rustcnFzdMx/symbols.o.
I was expecting it to successfully compile a binary that uses the double-precision standard extension to the riscv ABI.
I see that this PR changed the behavior so that the float part of the ABI comes from llvm_abiname, and only the RVC part comes from target-feature. Is this the intended behavior? I read on reddit (I know, it isn't canon) that target-feature is the say we're supposed to use the standard riscv extensions.