-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Recompile on profile rustflag changes #11121
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon. Please see the contribution instructions for more information. |
pub struct Profile { | ||
#[derivative(Hash = "ignore", PartialEq = "ignore")] |
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.
Could you re-do the commits so that one commit is the refactor with the other commit having the fix? And describe the problem and the fix in the PR?
This is putting the burden on the reviewer to figure out what is happening with this and the team is already strapped for availability.
@@ -539,10 +539,16 @@ pub enum ProfileRoot { | |||
|
|||
/// Profile settings used to determine which compiler flags to use for a | |||
/// target. | |||
#[derive(Clone, Eq, PartialOrd, Ord, serde::Serialize)] | |||
#[derive(Clone, Eq, PartialOrd, Ord, serde::Serialize, derivative::Derivative)] |
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.
When adding a dependency, please expand on why it is helpful and why it is worth taking on.
In particular, this is adding a dependency in place of hand-implementing one Hash
and one PartialEq
. That seems like a fairly small scope that I would expect the dependency to be pulling a lot of weight.
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.
i don't feel code like that should be allowed to exist
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.
i don't feel code like that should be allowed to exist
Please expand.
Communication is critical in open source, especially when maintains have limited availability. So far the communication has been pretty minimal between this comment, this PR, and #11120.
I can make my own guesses and some of them might be quite valid but that is a one sided conversation with myself. I'm wanting to understand your intentions and reasoning.
681775b
to
3b3f447
Compare
3b3f447
to
d8449e9
Compare
Ping @Hezuikn. Just checking in to see if you are still interested in working on this. As epage said, a good conversation often leads to a better context of understanding to the solution. If you need helps, comment here and we could take a look. |
yes! i am |
☔ The latest upstream changes (presumably #11719) made this pull request unmergeable. Please resolve the merge conflicts. |
Thank you for your interest in this. However, I'm going to close due to inactivity. Feel free to open a new one if you have a chance to work on it again. |
turns out rustflags effect compilation 4head
Fixes #11120