-
Notifications
You must be signed in to change notification settings - Fork 207
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
Retrieve BACKEND_IDENTIFIER
from backend (instead of hardcoding)
#1388
Labels
Comments
Unsure if this is still relevant with the latest Happy to hear thoughts if any, cc @TomAFrench @kevaundray. Might close this as stale otherwise. |
Yes, this is still relevant as artifacts are tailored for a particular backend. |
Savio-Sou
changed the title
Backend identifier constants should be provided via backend instead
Generalize Nov 2, 2023
BACKEND_IDENTIFIER
and retrieve that from backend (instead of hardcoding)
Savio-Sou
changed the title
Generalize
Retrieve Nov 2, 2023
BACKEND_IDENTIFIER
and retrieve that from backend (instead of hardcoding)BACKEND_IDENTIFIER
from backend (instead of hardcoding)
5 tasks
github-merge-queue bot
pushed a commit
that referenced
this issue
Dec 16, 2023
# Description In `kw/remove-partial-backend-code` we removed the opcodes supported feature, which means that artifacts are no longer compiled based on a backends feature set. Closes #1388 ## Problem\* Resolves <!-- Link to GitHub Issue --> ## Summary\* ## Additional Context ## Documentation\* Check one: - [ ] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [ ] I have tested the changes locally. - [ ] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings. --------- Co-authored-by: Tom French <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Currently, we have cases in Nargo where we hardcode the
BACKEND_IDENTIFIER
asacvm-backend-barretenberg
; however, this doesn't work with alternative backends.Happy Case
Backends should provide an identifier via a function. This could also possibly include their version or other information, such as field, features, etc.
Alternatives Considered
No response
Additional Context
Work has begun in noir-lang/acvm#196 and noir-lang/acvm-backend-barretenberg#189
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: