Skip to content

FFI bindings don't get rebuild when spade interface changes #165

@icewind1991

Description

@icewind1991

When taking the code from the spade quickstart[1], building it at least once, and renaming the output parameter from out to out2 results in an error as the FFI bindings still reference the old name:

../ffi/ffi.cpp:26:21: error: ‘class Vmain’ has no member named ‘out’; did you mean ‘out2’?

Making any change to the rust side of the code will cause the bindings to be rebuild and the name changes to be picked up.

[1]: From the behavior and my (limited) understanding of how this works, I expect the other backends will also have this problem.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions