"Question for anyone here who..." <- > <@rslaw:matrix.org> Question for anyone here who knows a thing or two about `riscv-rt` - I'm currently using this for a `riscv32imfc-unknown-none-elf` target, but I'm having some issues. First one was that the floating point stuff wasn't getting preserved because of the LLVM/Rust bugs mentioned in `src/asm.rs`, but that was fixed easily enough by adding > ```rs > #[cfg(all(riscv32, riscvf))] > ".attribute arch, \"rv32imfc\"", > #[cfg(all(riscv64, riscvf))] > ".attribute arch, \"rv64imfc\"", > #[cfg(all(riscv64, riscvd))] > ".attribute arch, \"rv64imdc\"", > ``` > to the provisional patch `cfg_global_asm!()` section. However now I'm getting a fun issue with `symbol 'ExceptionHandler' is already defined` and `symbol 'DefaultHandler' is already defined`, which only seems to be a problem if setting `lto = true`. Any advice on resolving this? Are you using cargo to replace risc-rt with a patch? https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section Check `cargo tree` to ensure that only one version of the crate is getting pulled in