From aa088e847446b616eafd615a8bb36a4a5c9aa7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rom=C3=A1n=20C=C3=A1rdenas?= Date: Wed, 24 Jan 2024 00:10:32 +0100 Subject: [PATCH] minor fix --- riscv-rt/src/asm.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/riscv-rt/src/asm.rs b/riscv-rt/src/asm.rs index 4c242238..ea4b5233 100644 --- a/riscv-rt/src/asm.rs +++ b/riscv-rt/src/asm.rs @@ -30,6 +30,7 @@ macro_rules! cfg_global_asm { // - /~https://github.com/rust-lang/rust/issues/80608 // - /~https://github.com/llvm/llvm-project/issues/61991 cfg_global_asm!( + "// Provisional patch to avoid LLVM spurious errors when compiling in release mode.", #[cfg(all(riscv32, riscvm))] ".attribute arch, \"rv32im\"", #[cfg(all(riscv64, riscvm, not(riscvg)))]