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

chore(debugger): avoid taking ownership of Circuit when building debug context #3147

Merged

Conversation

mverzilli
Copy link
Contributor

Description

Problem

This is a follow up PR to #2995, addressing this comment: #2995 (comment).

Summary

Passes circuit to debugger by reference instead of moving it.

PR Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@mverzilli mverzilli force-pushed the debug-prototype-minor-borrow-refactor branch from e6fb622 to 38ad0db Compare October 13, 2023 15:58
@mverzilli mverzilli marked this pull request as ready for review October 13, 2023 15:59
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Copy link
Member

@TomAFrench TomAFrench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TomAFrench TomAFrench added this pull request to the merge queue Oct 13, 2023
@TomAFrench
Copy link
Member

Ah, this is missing out the removal of the clone of the opcodes. This is already mostly through the merge queue so I'll add it to a different PR.

Merged via the queue into noir-lang:master with commit 1b08eb6 Oct 13, 2023
24 checks passed
TomAFrench added a commit that referenced this pull request Oct 13, 2023
* master:
  chore(debugger): avoid taking ownership of Circuit when building debug context  (#3147)
@mverzilli mverzilli deleted the debug-prototype-minor-borrow-refactor branch October 17, 2023 10:51
Sakapoi pushed a commit to Sakapoi/noir_fork that referenced this pull request Oct 19, 2023
…g context (noir-lang#3147)

Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
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.

2 participants