Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-write trace macro as a proc macro #37

Merged
merged 15 commits into from
Sep 9, 2024
22 changes: 16 additions & 6 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ members = [
"hints",
"pilout",
"proofman",
"macros",
"provers/stark",
"provers/starks-lib-c",
"transcript",
Expand All @@ -23,3 +24,4 @@ log = { version = "0.4", default-features = false }
env_logger = "0.11"
p3-goldilocks = { git = "https://github.com/Plonky3/Plonky3.git", rev = "c3d754ef77b9fce585b46b972af751fe6e7a9803" }
p3-field = { git = "https://github.com/Plonky3/Plonky3.git", rev = "c3d754ef77b9fce585b46b972af751fe6e7a9803" }
proofman-macros = { path = "macros", version = "0.1.0" }
3 changes: 2 additions & 1 deletion cli/assets/templates/pil_helpers_trace.rs.tt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// WARNING: This file has been autogenerated from the PILOUT file.
// Manual modifications are not recommended and may be overwritten.
use proofman_common::trace;
pub use proofman_macros::trace;
use proofman_common as common;

{{ for air_group in air_groups }}
{{ for air in air_group.airs }}
Expand Down
5 changes: 3 additions & 2 deletions common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ serde = { version = "1.0.130", features = ["derive"] }
serde_json = "1.0.68"
serde_derive = "1.0.196"
pilout = { path = "../pilout" }
log = { workspace = true }
log.workspace = true
transcript = { path = "../transcript" }
p3-field = { workspace = true }
p3-field.workspace = true
proofman-macros.workspace = true
proofman-util = { path = "../util" }
proofman-starks-lib-c = { path = "../provers/starks-lib-c" }
Loading
Loading