Skip to content
Snippets Groups Projects
Commit cd124d94 authored by Cheng Shao's avatar Cheng Shao Committed by Zubin
Browse files

hadrian/compiler: implement targetRTSLinkerOnlySupportsSharedLibs

This patch implements the targetRTSLinkerOnlySupportsSharedLibs
predicate in hadrian. Its definition in hadrian is the single source
of truth, and the information propagates to ghc settings file, ghc
driver and testsuite driver. It is used in various places to ensure
dynamic dependency is selected when the target RTS linker only
supports loading dynamic code.

(cherry picked from commit 8c74a0ed)
(cherry picked from commit 9d2e02f9)
parent 66c473f2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment