Skip to content

Static trampolines #65

@rweichler

Description

@rweichler

On iOS and other platforms ffi_closure_alloc can return NULL and there's not much you can do about it

I am gonna trace calls to ffi.cast, put them in a list (runtime), then use that list to codegen the C functions (compile time)

I was wondering if anyone has tried something like this or if that approach seems wrong. Generating the list at runtime can be brittle

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions