Skip to content

Don't expose bignum backend in ghc --info (#20495)

Sylvain Henry requested to merge hsyl20/ghc:hsyl20/bignum-info into master

ghc-bignum will become reinstallable (potentially with different backends) and GHC itself is backend agnostic. So don't expose bignum backend with ghc --info (which can be wrong, cf #20495 (closed)) but expose it with GHC.Num.Backend.backendName.

Querying the backend can now easily be done with:

❯ _build/stage1/bin/ghc -e "GHC.Num.Backend.backendName"  
"native"

Merge request reports