As the title suggests it complains about not finding types when using already_declared
#[swift_bridge::bridge]
mod ffi1 {
#[swift_bridge(swift_repr = "struct")]
struct Foo {
some_value: i32
}
}
use ffi1::Foo;
#[swift_bridge::bridge]
mod ffi2 {
#[swift_bridge(already_declared, swift_repr = "struct")]
struct Foo;
struct Bar {
foo: Foo, //cannot find type `Foo` in this scope
}
}
As the title suggests it complains about not finding types when using already_declared