-
Notifications
You must be signed in to change notification settings - Fork 710
"Build profile" now reflects optimization level set in global config #8488
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
Conversation
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.
Looks great, a good ux improvement with minimal code
I would add a regression test, i hope it will not be too difficult. And the usual changelog entry
28f3401
to
41fb733
Compare
@jneira thanks for the feedback! Test and changelog added. |
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.
lgtm, thanks
@mouse07410: could you kindly review, given that this PR is based on your input? |
@mouse07410 To test locally, it may be sufficient to download the cabal binary built by the CI run for this PR. At the very bottom of this page you can find the binaries for the three main platforms. |
I confirm that
I tried to post a review, but couldn't figure how to do it - it does not seem to let me, even after I joined the "cabal" organization (no pun intended ;)). |
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.
Tested on my Mac (with GHC-9.4.2), works as expected. Note: my testing was pretty limited.
@mouse07410 thank you! @Mikolaj do you know what’s up with permissions for @mouse07410? In the list of approvals for this PR, I see a gray check mark for them and a green one for jneira, and CI says that there’s only one approval… |
It must be what the Triage permission level enables, the one I was advised to grant by default unless a higher level is explicitly required. That's quite unfortunate... |
@mouse07410, I've promoted you to authority level WRITE. Use your new-found powers well. :) |
Thank you! I think I need to do a lot of READ before I can contemplate WRITE. ;-) |
I did a couple more tests - specifically, explicit settings in I don't recall if |
At least |
@mergify rebase |
It still reports local config's optimization level if it was set. Fix #8487.
✅ Branch has been successfully rebased |
41fb733
to
f33e5e9
Compare
It still reports local config's optimization level if it was set.
Fix #8487.
Please include the following checklist in your PR:
Please also shortly describe how you tested your change. Bonus points for added tests!