GHC ticket: https://gitlab.haskell.org/ghc/ghc/-/issues/26298
GHC will be adding support for producing bytecode files and bytecode libraries in GHC-9.16.
This ticket tracks the cabal support for this feature.