Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
romancardenas committed Jan 23, 2024
1 parent 95292c8 commit aa088e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions riscv-rt/src/asm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)))]
Expand Down

0 comments on commit aa088e8

Please sign in to comment.