We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99be0b1 commit 2debf96Copy full SHA for 2debf96
wpc-plugin/src/WPC/GhcStgApp.hs
@@ -105,6 +105,7 @@ writeGhcStgApp dflags unit_env hpt = do
105
writeFile (output_fn ++ "." ++ objectSuf dflags ++ "_ghc_stgapp") $ showSDoc dflags $ renderYAML $ JSObject
106
[ ("ghc-name", JSString . ghcNameVersion_programName $ ue_namever unit_env)
107
, ("ghc-version", JSString . ghcNameVersion_projectVersion $ ue_namever unit_env)
108
+ , ("target-platform", JSString . platformMisc_targetPlatformString $ platformMisc dflags)
109
, ("platform-os", JSString . stringEncodeOS . platformOS $ targetPlatform dflags)
110
, ("no-hs-main", JSBool $ gopt Opt_NoHsMain dflags)
111
, ("o-suffix", JSString $ objectSuf dflags)
0 commit comments