Closed TerrorJack closed 1 year ago
@snoyberg It seems the pipeline isn't running even though I've got PRs merged before, would you be able to start it? Thanks :)
It's not giving me an option to approve starting CI, I'm not sure why.
Closing in favor of #272.
This PR corrects an unfortunate mistake in #270. The
__wasm__
macro is a builtin system macro defined byclang
when targettingwasm32
, however, the autoconf scripts in GHC will automatically add-undef
to the CPP flags that GHC uses to invokeclang
, therefore this flag is unset and will result in a link-time error forwasm32-wasi-ghc
.After this fix lands, the existing test for cross GHC will also be updated to ensure these
process
functions are included as a part of the test to avoid any regression here.