[BUG] Don't understand library
When trying to import a static library (originally Rust code), I get a panic from the compiler:
ghc-9.2.5: panic! (the 'impossible' happened) (GHC version 9.2.5: Don't understand library name sha3_bindings Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Steps to reproduce
cabal test cardano-crypto-tests --test-options '-p "Crypto.Hash"' should reproduce the error.
I tried reproducing the error on a smaller project, but the tests ran correctly.
Succeed in running tests, or get an error that does not request to open a GHC bug.
- GHC version used:
Build profile: -w ghc-9.2.5 -O1
- Operating System: MacOS Monterey 12.6 running on a Apple M1 Pro