Skip to content

ctypes: missing rule for stubs when only using a type description #9300

@emillon

Description

@emillon

Hi,

When a ctypes description has just a type description, Dune does not setup a rule for a stubs file it tries to use.

(library
 (name l)
 (ctypes
  (external_library_name none)
  (build_flags_resolver vendored)
  (type_description
   (functor bindings)
   (instance types))
  (generated_entry_point c)))
  Error: No rule found for libl_stubs.a

Metadata

Metadata

Assignees

Labels

c-bindingsWhen dune is trying to interop with C

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions