Skip to content

Commit 47cad1f

Browse files
committed
chore(deps): patch memoffset to eliminate false clippy warnings
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
1 parent fe49122 commit 47cad1f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,11 @@ git = "https://github.com/r3-os/rust-riscv-rt.git"
5959
branch = "refresh/0.8"
6060
version = "0.6.2"
6161

62+
[patch.crates-io.memoffset]
63+
# FIXME: Waiting for the fix for false clippy warnings
64+
# <https://github.com/Gilnaa/memoffset/pull/64> to be published to crates.io
65+
git = "https://github.com/Gilnaa/memoffset.git"
66+
rev = "2a74b62c26724ff9c67e4e3ad05378a1af53f195"
67+
6268
[profile.release]
6369
debug = true

0 commit comments

Comments
 (0)