refactor: add function_runner feature flag and CairoFunctionRunner alias#2377
Open
naor-starkware wants to merge 2 commits intomainfrom
Open
refactor: add function_runner feature flag and CairoFunctionRunner alias#2377naor-starkware wants to merge 2 commits intomainfrom
naor-starkware wants to merge 2 commits intomainfrom
Conversation
- Add lean `function_runner = []` feature flag (zero extra deps) - `test_utils` now implies `function_runner` - Gate `function_runner` module on new flag instead of `test_utils` - Make module and `run_from_entrypoint`/`get_function_pc` `pub` - Add `CairoFunctionRunner` type alias for `CairoRunner` - Remove spurious `#[allow(dead_code)]` from `EntryPoint` - Update module doc comment Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collaborator
Author
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2377 +/- ##
=======================================
Coverage 96.07% 96.07%
=======================================
Files 105 105
Lines 37737 37737
=======================================
Hits 36254 36254
Misses 1483 1483 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
OmriEshhar1
approved these changes
Mar 29, 2026
Collaborator
OmriEshhar1
left a comment
There was a problem hiding this comment.
@OmriEshhar1 reviewed 3 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on efrat-starkware and YairVaknin-starkware).
|
Benchmark Results for unmodified programs 🚀
|
OmriEshhar1
approved these changes
Mar 29, 2026
Collaborator
OmriEshhar1
left a comment
There was a problem hiding this comment.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on efrat-starkware and YairVaknin-starkware).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TITLE
Description
Description of the pull request changes and motivation.
Checklist
This change is