-
Notifications
You must be signed in to change notification settings - Fork 199
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
Error compiling the acir
crate
#405
Labels
bug
Something isn't working
Comments
ilitteri
added a commit
to lambdaclass/noir
that referenced
this issue
Oct 24, 2022
This commit fixes noir-lang#405. No compilation features were provided so the user is able to compile this crate successfully. Now the user could compile with the bn254 feature or the bls12_381 feature.
What is the usecase for compiling the |
See #406 closing comment. |
signorecello
added a commit
that referenced
this issue
Oct 17, 2023
signorecello
added a commit
that referenced
this issue
Oct 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Aim
To compile the
acir
crate.Expected behavior
It should compile successfully for both
bn254
andbls12_381
features (separately).Bug
acvm
is used and there is no way for the user to specify which feature to use causing a compilation error.acvm
has two features but none of them is specified in theCargo.toml
nor could be specified by the user in the terminal. Alsoacvm
has no default feature.I think that the default feature of
acvm
should bebn254
as it is innoir_fields
andacir
should inherit both features as well.To reproduce
For some crates you have two different features for compilation both related to the elliptic curves used (bn254, bls12381). In those crates there is no default feature set and you should specify which to use or you are getting a compilation error (saying that you should use a feature).
cd crates/acir
.cargo c
orcargo c --features bn254
orcargo c --features bls12_381
.Environment
The text was updated successfully, but these errors were encountered: