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

Move profile definitions to root workspace toml. #437

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

unzvfu
Copy link
Contributor

@unzvfu unzvfu commented Jan 17, 2022

This fixes a warning about the profiles in the plonky2/Cargo.toml file by moving them to the to the top level workspace toml file (this issue probably arose in the recent crate refactor). The profiles themselves just set optimisation levels to the defaults, and so the fact that they were ignored didn't cause any issues.

The only concern might be publishing "subcrates", which might not inherit the profile correctly, as described in
rust-lang/cargo#8264.

@unzvfu unzvfu requested a review from dlubarov January 17, 2022 22:46
@unzvfu unzvfu changed the title Move profile defns to root workspace toml. Move profile definitions to root workspace toml. Jan 17, 2022
Copy link
Contributor

@dlubarov dlubarov left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing that

@unzvfu unzvfu merged commit fcdcc86 into main Jan 18, 2022
@unzvfu unzvfu deleted the hamish/fix-toml-warning branch October 7, 2022 07:53
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.

2 participants