Skip to content

feat(cli): add compile subcommand and rename circuit-stats#422

Merged
Bisht13 merged 2 commits into
v1from
px/provekit-cli-compile
Apr 23, 2026
Merged

feat(cli): add compile subcommand and rename circuit-stats#422
Bisht13 merged 2 commits into
v1from
px/provekit-cli-compile

Conversation

@Bisht13
Copy link
Copy Markdown
Collaborator

@Bisht13 Bisht13 commented Apr 23, 2026

Summary

  • Adds provekit-cli compile, which drives the Noir compiler crates (nargo::ops, nargo_toml, noir_artifact_cli) directly. The produced ACIR artifact is byte-identical to nargo compile except for noir_version, which correctly records the forked compiler build.
  • Renames the existing circuit_stats subcommand to circuit-stats to match the hyphen convention already used by show-inputs and analyze-pkp.

Test plan

  • cargo build -p provekit-cli --bin provekit-cli
  • cargo clippy -p provekit-cli --bin provekit-cli --no-deps (no new warnings)
  • Parity check on noir-examples/basic-2: provekit-cli compile output and nargo compile output diff only in noir_version; bytecode, abi, debug_symbols, file_map, hash, names, brillig_names match.
  • provekit-cli --help lists compile and circuit-stats.
  • provekit-cli compile --help shows flag set.

Bisht13 added 2 commits April 23, 2026 19:30
Add `provekit-cli compile`, driving the Noir compiler crates directly
(`nargo::ops`, `nargo_toml`, `noir_artifact_cli`) so the produced ACIR
artifact is byte-identical to `nargo compile` (only `noir_version`
differs, recording the forked compiler build).

Rename the existing `circuit_stats` subcommand to `circuit-stats` to
match the hyphen convention already used by `show-inputs` and
`analyze-pkp`.
@Bisht13 Bisht13 force-pushed the px/provekit-cli-compile branch from ae23355 to ffddb41 Compare April 23, 2026 14:05
@Bisht13 Bisht13 merged commit 7f2b963 into v1 Apr 23, 2026
2 of 3 checks passed
@Bisht13 Bisht13 deleted the px/provekit-cli-compile branch April 23, 2026 15:49
dcbuild3r pushed a commit that referenced this pull request May 16, 2026
feat(cli): add compile subcommand and rename circuit-stats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant