Skip to content

Can not have an opaque type as a shared struct field #366

@RinLovesYou

Description

@RinLovesYou
#[swift_bridge::bridge]
mod ffi {
    extern "Swift" {
         type Foo;
    }

    #[swift_bridge(swift_repr = "struct")]
    struct Bar {
        foo: Foo
    }
}

this does not currently work

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