-
Notifications
You must be signed in to change notification settings - Fork 478
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
Clean up backend features and vendor curve25519_dalek_derive #531
Conversation
Co-authored-by: Jan Bujak <[email protected]>
@@ -0,0 +1,2 @@ | |||
/target |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need a vendor/
directory?
I'd just put this in a toplevel directory called curve25519-dalek-derive
, and perhaps eventually we can move the rest of the files in the toplevel directory into curve25519-dalek
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah sure, it was already there so I thought to follow that. will move. I'll also send the workspace PR move after rc.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for doing this. It's a big PR. Left a few comments about clarity here and there.
Manually verified that |
Revert "Reduce gates in enum and allow dead_code in it" This reverts commit 35b3cef.
This reverts commit b87ad6b. When --cfg curve25519_dalek_backend="simd" is chosen it cannot be overriden as "serial" in build.rs and will result in both selected
LGTM! @pinkforest Thank you for pushing this forward! |
Closes #414 (again)
Implements:
cfg(curve25519_dalek_backend = "override")
cfg(curve25519_dalek_diagnostics="build")
now emits compile_error build diagnostics used for build script testingNotes