-
Notifications
You must be signed in to change notification settings - Fork 213
cairo1-run: honor relocate_mem and trace_enabled when relocating #2241
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
base: main
Are you sure you want to change the base?
cairo1-run: honor relocate_mem and trace_enabled when relocating #2241
Conversation
sashass1315
commented
Oct 23, 2025
- Fix cairo1-run to use Cairo1RunConfig.relocate_mem and trace_enabled in runner.relocate(...) instead of unconditionally relocating both memory and trace.
- This change brings Cairo1-run behavior in line with the Cairo 0.x runner, matches CLI expectations (trace/memory requested ⇒ relocate), and avoids unnecessary relocation work.
|
Hi @sashass1315, thanks for the contribution! Left you a small comment. Also, format seems to be failing. |
Co-authored-by: Julian Gonzalez Calderon <[email protected]>
gabrielbosio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a small suggestion. Also please fix the linter job.
|
Hi @sashass1315! Any news on this PR? |
Co-authored-by: Gabriel Bosio <[email protected]>
Hi! Updated PR! thank you for review |
JulianGCalderon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!