Skip to content

Commit

Permalink
add some additional perf features for reth dep
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed May 13, 2024
1 parent 6612bff commit 42a7f63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ clap = { workspace = true, features = ["derive", "env"] }
eyre = { workspace = true }

ethereum-consensus = { workspace = true }
reth = { workspace = true, optional = true }
reth = { workspace = true, optional = true, features = ["jemalloc"] }
1 change: 1 addition & 0 deletions nix/mev-rs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ let
pname = "mev-rs";
src = crane.cleanCargoSource (crane.path ../.);
CARGO_PROFILE = "maxperf";
RUSTFLAGS = "-C target-cpu=native";
cargoExtraArgs = "--locked ${feature-set}";
buildInputs = lib.optionals pkgs.stdenv.isLinux [
openssl
Expand Down

0 comments on commit 42a7f63

Please sign in to comment.