summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi
diff options
context:
space:
mode:
authorPhuong Trinh <lolotp@fb.com>2019-03-30 19:00:12 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-04-08 14:35:43 -0400
commit2b3f4718502465e2b4dfa4a7868ed7a3ad5e4ff1 (patch)
treeefa049b8a63f6fee669379b6a09e301ea7da7ec9 /testsuite/tests/ffi
parent63b7d5fb9d695dafc243cbf6f9f70b06030c0dea (diff)
downloadhaskell-2b3f4718502465e2b4dfa4a7868ed7a3ad5e4ff1.tar.gz
Fix #16500: look for interface files in -hidir flag in OneShot mode
We are currently ignoring options set in the hiDir field of hsc_dflags when looking for interface files while compiling in OneShot mode. This is inconsistent with the behaviour of other directory redirecting fields (such as objectDir or hieDir). It is also inconsistent with the behaviour of compilation in CompManager mode (a.k.a `ghc --make`) which looks for interface files in the directory set in hidir flag. This changes Finder.hs so that we use the value of hiDir while looking for interface in OneShot mode.
Diffstat (limited to 'testsuite/tests/ffi')
0 files changed, 0 insertions, 0 deletions