forked from haskell/cabal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This enables hsc2hs to depend on Haskell code via foreign export. I have an upcoming use case that requires this. Should we make this optional? I'm hoping we can get away without adding an option, because it shouldn't break any existing uses: using GHC as the linker only provides access to more symbols, which shouldn't break anything provided the libraries that GHC adds don't shadow anything, which should be the case.
- Loading branch information
Showing
2 changed files
with
36 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ module Distribution.Simple.Program.GHC ( | |
|
||
runGHC, | ||
|
||
packageDbArgs, | ||
packageDbArgsDb, | ||
normaliseGhcArgs | ||
|
||
|