Skip to content

Commit

Permalink
use patched revm-primitives for "pure" building
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed Oct 19, 2023
1 parent 4cf26a7 commit 00945be
Show file tree
Hide file tree
Showing 2 changed files with 8 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.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@ reth-interfaces = { git = "https://github.com/paradigmxyz/reth", rev = "5dd5555c
reth-revm = { git = "https://github.com/paradigmxyz/reth", rev = "5dd5555c5c7d8e43420e273e7005b8af63a847a5" }
reth = { git = "https://github.com/paradigmxyz/reth", rev = "5dd5555c5c7d8e43420e273e7005b8af63a847a5" }
revm = "3.5.0"

[patch.crates-io]
# We patch `revm-primitives` so that all generated files go into the expected place ("OUT_DIR") which
# works well with rust `nix` builders and does not work well otherwise.
# TODO: It looks like later versions of this crate remove the problematic build script and so once `reth` updates
# (which indirectly uses this dependency) then we can drop this patch.
revm-primitives = { git = "https://github.com/ralexstokes/revm", rev = "929530a5b2575c97f3c055f4f8d8b9ba273cb3dd" }

0 comments on commit 00945be

Please sign in to comment.