-
Notifications
You must be signed in to change notification settings - Fork 223
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
Support restricted bit sizes in noir: just support 1, 8, 32, 64, field #4162
Comments
Good to create a separate Issue for providing fallback methods to ease users' migrations. |
# Description ## Problem\* Breaking change warning for [#4162](#4162) ## Summary\* ## Additional Context ## Documentation\* Check one: - [ ] No documentation needed. - [ ] Documentation included in this PR. - [x] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings.
To go in after the PR that warns users. |
# Description Restricts allowed bit sizes for integer types to 1,8,32 and 64. ## Problem\* Resolves #4162 ## Summary\* ## Additional Context ## Documentation\* Check one: - [ ] No documentation needed. - [x] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] 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: kevaundray <[email protected]>
What happened to u16? I cannot find a relevant issue which discusses why support for it is removed. It seems like a lot of example code referenced from https://github.com/noir-lang/awesome-noir is using it, e.g. https://github.com/michaelelliot/noir-sha1. |
Ah, thanks, I thought that I was missing some reason why there shouldn't be a u16. The linked issue clarifies it 👍 |
Great question, thank you for asking it 🤝 |
Align integers in Noir with common integer sizes in other programming languages to
The text was updated successfully, but these errors were encountered: