You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to specify which acvm feature to use.
acvm has two features but none of them is specified in the Cargo.toml nor could be specified by the user in the terminal. Also acvm has no default feature.
I think that the default feature of acvm should be bn254 as it is in noir_fields and noirc_frontend 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).
Clone the repo.
cd crates/noirc_frontend.
cargo c or cargo c --features bn254 or cargo c --features bls12_381.
Environment
OS: macOS Monterey 12.6
The text was updated successfully, but these errors were encountered:
This commit fixesnoir-lang#403.
No compilation features were provided so the user wasn't able to compile this crate successfully.
Now the user could compile with the bn254 feature or the bls12_381 feature.
Description
Aim
To compile
noirc_frontend
crate.Expected behavior
It should compile successfully.
Bug
There is no way to specify which
acvm
feature to use.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
andnoirc_frontend
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/noirc_frontend
.cargo c
orcargo c --features bn254
orcargo c --features bls12_381
.Environment
The text was updated successfully, but these errors were encountered: