Skip to content

std.builtin.TypeInfo.Declaration.data.Fn.arg_names is empty #8259

Closed
@ghost

Description

I'm trying to integrate zig with dart. Dart supports ffi with C. For the purposes of my project, zig would be a better choice than C. I need only 1-way calling : dart -> zig.
To make this possible, I have to generate a bit of glue code for dart. It would be enough for me to be able to get @typeInfo for my zig functions that includes the argument names and argument types. Currently, @typeInfo does not seem to provide this information.
Is there any workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorstage1The process of building from source via WebAssembly and the C backend.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions