We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using code from documentation:
#[swift_bridge::bridge] mod ffi { extern "Rust" { type RustApp; #[swift_bridge(init)] fn new() -> RustApp; fn generate_html(&self, rust_code: &str) -> String; } } pub struct RustApp {} impl RustApp { fn new() -> Self { RustApp {} } fn generate_html(&self, rust_code: &str) -> String { return format!("Hello, {}!", rust_code); } }
Build phases:
The text was updated successfully, but these errors were encountered:
@lockieluke
Thank you for reporting this error.
Could you share an minimal project which reproduce this issue?
Sorry, something went wrong.
No branches or pull requests
Using code from documentation:
Build phases:
The text was updated successfully, but these errors were encountered: