summaryrefslogtreecommitdiff
path: root/testsuite/tests/count-deps/CountDepsAst.stdout
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2022-01-14 14:19:11 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-08-10 09:44:46 -0400
commitf95bbdcae3e6710a92dd8244321677eef91890de (patch)
tree214a46a6f0549baf14d2749bdd60124eb03c591e /testsuite/tests/count-deps/CountDepsAst.stdout
parent823fe5b56450a7eefbf41ce8ece34095bf2217ee (diff)
downloadhaskell-f95bbdcae3e6710a92dd8244321677eef91890de.tar.gz
Add support for external static plugins (#20964)
This patch adds a new command-line flag: -fplugin-library=<file-path>;<unit-id>;<module>;<args> used like this: -fplugin-library=path/to/plugin.so;package-123;Plugin.Module;["Argument","List"] It allows a plugin to be loaded directly from a shared library. With this approach, GHC doesn't compile anything for the plugin and doesn't load any .hi file for the plugin and its dependencies. As such GHC doesn't need to support two environments (one for plugins, one for target code), which was the more ambitious approach tracked in #14335. Fix #20964 Co-authored-by: Josh Meredith <joshmeredith2008@gmail.com>
Diffstat (limited to 'testsuite/tests/count-deps/CountDepsAst.stdout')
-rw-r--r--testsuite/tests/count-deps/CountDepsAst.stdout1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/count-deps/CountDepsAst.stdout b/testsuite/tests/count-deps/CountDepsAst.stdout
index 0705d70d75..549958f44b 100644
--- a/testsuite/tests/count-deps/CountDepsAst.stdout
+++ b/testsuite/tests/count-deps/CountDepsAst.stdout
@@ -116,6 +116,7 @@ GHC.Driver.Phases
GHC.Driver.Pipeline.Monad
GHC.Driver.Pipeline.Phases
GHC.Driver.Plugins
+GHC.Driver.Plugins.External
GHC.Driver.Ppr
GHC.Driver.Session
GHC.Hs