optasm way isn't tested in wasm32 CI jobs
The wasm32 target does have a native codegen, and wasm32-wasi-ghc --info
shows:
,("Have native code generator","YES")
,("Target default backend","native code generator")
So naturally the optasm
way should be tested. However, I just checked the CI job log from a recent master
validate pipeline (https://gitlab.haskell.org/ghc/ghc/-/jobs/1702594/raw), and optasm
way is not compiled/run by the test suite. The culprit seems to be hadrian which passes -e ghc_with_native_codegen=False
to the driver.