Skip to content

Commit

Permalink
chore(deps): patch memoffset to eliminate false clippy warnings
Browse files Browse the repository at this point in the history
The upstream version includes [the fix][1] that eliminates the false
clippy warnings caused by the internal implementation of `memoffset::
offset_of_tuple!`.

[1]: Gilnaa/memoffset#64
  • Loading branch information
yvt committed Mar 5, 2022
1 parent fe49122 commit 47cad1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,11 @@ git = "https://github.com/r3-os/rust-riscv-rt.git"
branch = "refresh/0.8"
version = "0.6.2"

[patch.crates-io.memoffset]
# FIXME: Waiting for the fix for false clippy warnings
# <https://github.com/Gilnaa/memoffset/pull/64> to be published to crates.io
git = "https://github.com/Gilnaa/memoffset.git"
rev = "2a74b62c26724ff9c67e4e3ad05378a1af53f195"

[profile.release]
debug = true

0 comments on commit 47cad1f

Please sign in to comment.