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

Fix error compiling the noirc_frontend crate #404

Conversation

ilitteri
Copy link
Contributor

@ilitteri ilitteri commented Oct 24, 2022

Related issue(s)

Resolves #403

Description

No compilation features were provided so the user wasn't able to compile this crate successfully.

Summary of changes

Added two compilation features (bn254 and bls12_381). Now the user could compile with the bn254 feature or the bls12_381 feature.

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.

Additional context

This fix solves the compilation impossibility. I don't know if the idea is to have both features available for this crate. Let me know if something is off.

This commit fixes noir-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.
Copy link
Contributor

@jfecher jfecher left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@jfecher jfecher left a comment

Choose a reason for hiding this comment

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

See #408

@ilitteri
Copy link
Contributor Author

ilitteri commented Dec 9, 2022

Closing this because not following this strategy was intentional because a lot of curves and fields are expected to be added in the future.

@ilitteri ilitteri closed this Dec 9, 2022
@ilitteri ilitteri deleted the fix/noirc_frontend_compilation_features branch December 9, 2022 12:58
signorecello added a commit that referenced this pull request Oct 17, 2023
signorecello added a commit that referenced this pull request Oct 19, 2023
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.

Error compiling the noirc_frontend crate
2 participants