Skip to content

Cabal cradle doesn't recognize foreign-library sections #341

@cdsmith

Description

@cdsmith

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 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions