rust-embedded / riscv

Low level access to RISC-V processors
818 stars 160 forks source link

Avoid spurious errors from LLVM #176

Closed romancardenas closed 7 months ago

romancardenas commented 7 months ago

Motivated by #175 , I added a provisional patch to prevent LLVM from logging spurious errors when compiling for targets with certain extensions (e.g., M or G) in release mode. The patch already contains documentation and pointers to related issues.

romancardenas commented 7 months ago

@MabezDev I had a silly issue with riscv32i targets. Could you take a second look?