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

A couple of fixes needed to use hie-core on Darcs #22

Merged
merged 3 commits into from
Sep 7, 2019

Conversation

hsenag
Copy link
Member

@hsenag hsenag commented Sep 6, 2019

Darcs is big enough that the ghc command-line is about 11K characters which blows the limit for
Windows batch files. We discussed this a bit in person at Munihac and decided this was the least
invasive solution.

Also needed to lift a bit more code from ghc's Main.hs to support recognising '.o' arguments coming
from C source code and passing them to the right place.

Batch files are limited by the cmd.exe arguments limit of 8191
characters, which can be exceeded by a project with a few hundred
source files.

Printing out the wrapper as a check is now skipped as it might be
an exe.
They need to be recognised and passed in DynFlags rather than as
source modules. Code copied from ghc as it's not exposed.
@mpickering mpickering merged commit e2068f2 into haskell:master Sep 7, 2019
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.

None yet

2 participants