Replies: 1 comment 5 replies
-
|
Hi, it would be great to give a minimal reproducible sample. For example, just one function with minimal signature, then it is easier to know what happens :) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
This is my first time using Rust, but I wanted to try it out and learn something using this bridge to write a simple Matrix client with it in Flutter. I made sure I can run the frb_example with_flutter, and the matrix-rust-sdk example correctly.
I copy-pasted the example from here, added
pubbefore every function, and changed the Cargo.toml to the following:I also renamed
maintostartin the code and removed the tokyo directive above it, as I figured I would call this function manually from Flutter to test that the bridge is working. However, when I try to run the codegen, I'm getting a lot of errors. I tried my best to look through the docs but I clearly am missing something.If I change every
&PathtoPath, I get the same error but aboutClient, which is a type inside of the sdk that I am trying to use, so I don't think this is productive, hence asking here.Beta Was this translation helpful? Give feedback.
All reactions