Skip to content

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

Merged
TomAFrench merged 2 commits intonoir-lang:masterfrom
manastech:debug-prototype-minor-borrow-refactor
Oct 13, 2023
Merged

chore(debugger): avoid taking ownership of Circuit when building debug context #3147
TomAFrench merged 2 commits intonoir-lang:masterfrom
manastech:debug-prototype-minor-borrow-refactor

Conversation

@mverzilli
Copy link
Copy Markdown
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
Copy Markdown
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 enabled auto-merge October 13, 2023 16:34
@TomAFrench TomAFrench added this pull request to the merge queue Oct 13, 2023
@TomAFrench
Copy link
Copy Markdown
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
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