Closed
Description
I was attempting to follow the tutorial at https://nokomprendo.gitlab.io/posts/tuto_075/2021-09-12-fr-README.html
HLS is flagging the Binding module with Multi Cradle: no prefixes matched
. The module is listed in the other-modules
section of a foreign-library
section in the cabal file, as follows:
foreign-library fibohs
type: native-shared
cc-options: -std=c++17
c-sources: cbits/binding.cpp
install-includes: cbits/binding.hpp
hs-source-dirs: ffi
build-depends: ffi, base
other-modules: Binding
Adding this hie.yaml
cradle:
cabal:
fixes the problem, which indicates this is a problem with implicit-hie.
Metadata
Metadata
Assignees
Labels
No labels