Skip to content

Commit f937c46

Browse files
committed
chore(deps): upgrade the customized version of riscv ^0.5
Fixes build failures due to the use of now-removed `llvm_asm!`.
1 parent 0e93a76 commit f937c46

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ resolver = "2"
3030
# We need to enable `riscv/inline-asm` to work around
3131
# <https://github.com/rust-embedded/riscv/issues/69>. However, some external
3232
# crates depend on `riscv` 0.5.x, which uses the old form of `asm!` with the
33-
# LLVM syntax, which was moved to `llvm_asm!` when the new inline assembler
34-
# syntax has landed. Therefore, we have to patch `riscv` 0.5.x with the version
35-
# that uses the form of inline assembler supported by the current compiler.
33+
# LLVM syntax, which isn't supported by the current compiler anymore. Therefore,
34+
# we have to patch `riscv` 0.5.x with the version that uses the form of inline
35+
# assembler supported by the current compiler.
3636
git = "https://github.com/r3-os/rust-riscv.git"
3737
branch = "refresh/0.5"
3838

0 commit comments

Comments
 (0)