-
Notifications
You must be signed in to change notification settings - Fork 697
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
Explicit export lists for Main #9890
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.
Thanks!
Wow, we missed this! Will merge soon. |
Lack of explicit export list can degrade performance. The Main module in particular should always have an explicit export list that contains just the main function.
17464e1
to
7850b6b
Compare
Need a changelog, perhaps. |
@noughtmare it was mentioned on Cabal's Matrix that it's unnatural to merge something that says "Draft" on it. Do you think it's ready? It is in my opinion (modulo changelog, which you could add but if not I can do that). |
I totally forgot about this. I was indeed probably thinking of the changelog and documentation when marking this as draft. Please merge if you think this is ready. |
* Explicit export lists for Main Lack of explicit export list can degrade performance. The Main module in particular should always have an explicit export list that contains just the main function. * add changelog --------- Co-authored-by: Artem Pelenitsyn <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Lack of explicit export list can degrade performance. The Main module in particular should always have an explicit export list that contains just the main function.
Fixes #9889
Template Α: This PR modifies
cabal
behaviourInclude the following checklist in your PR: