Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
einar-polygon committed Aug 18, 2024
1 parent 9ecc1c2 commit bdcf935
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 29 deletions.
6 changes: 1 addition & 5 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
[build]
# https://github.com/rust-lang/rust/pull/124129
# https://github.com/dtolnay/linkme/pull/88
rustflags = ["-C", "target-cpu=native", "-Z", "linker-features=-lld"]

# https://docs.rs/embuild/latest/embuild/cargo/fn.workspace_dir.html
[env]
CARGO_WORKSPACE_DIR = { value = "", relative = true }
rustflags = ["-Z", "linker-features=-lld"]
28 changes: 4 additions & 24 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
members = [
"common",
"compat",
"evm_arithmetization",
"mpt_trie",
Expand Down Expand Up @@ -56,6 +57,7 @@ criterion = "0.5.1"
dotenvy = "0.15.7"
either = "1.12.0"
enum-as-inner = "0.6.0"
enumn = "0.1.13"
env_logger = "0.11.3"
eth_trie = "0.4.0"
ethereum-types = "0.14.1"
Expand Down Expand Up @@ -91,6 +93,7 @@ ruint = "1.12.3"
serde = "1.0.203"
serde_json = "1.0.118"
serde_path_to_error = "0.1.16"
serde_with = "3.8.1"
sha2 = "0.10.8"
static_assertions = "1.1.0"
thiserror = "1.0.61"
Expand All @@ -112,6 +115,7 @@ mpt_trie = { path = "mpt_trie", version = "0.4.1" }
proof_gen = { path = "proof_gen", version = "0.4.0" }
smt_trie = { path = "smt_trie", version = "0.1.1" }
trace_decoder = { path = "trace_decoder", version = "0.6.0" }
zk_evm_common = { path = "common", version = "0.1.0" }
zk_evm_proc_macro = { path = "proc_macro", version = "0.1.0" }

# zero-bin related dependencies
Expand All @@ -131,27 +135,3 @@ proc-macro2 = "1.0"
quote = "1.0"
syn = "2.0"
trybuild = "1.0"

[profile.release]
opt-level=3
debug=true
incremental=true
debug-assertions=true
lto=false
overflow-checks=false

[profile.test]
opt-level=3
debug=true
incremental=true
debug-assertions=true
lto=false
overflow-checks=false

[profile.dev]
opt-level=3
debug=true
incremental=true
debug-assertions=true
lto=false
overflow-checks=false

0 comments on commit bdcf935

Please sign in to comment.