Closed kljohnsonn closed 9 months ago
Firstly, maybe ensure your generated binary (.so/.dylib/whatever) is up-to-date.
Secondly, v2 will handle all these compilation for you :)
Hi, v2 has been released, and feel free to create issues if the error still exists (I guess it will be fixed since v2 handles the symbols etc by default)!
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.
Describe the bug
When trying to pass an argument like
(url: String)
i seem to encounter an error on the flutter side of my code telling me that my .so, .dll or .dylib has no symbol:The rust code i used to generate this was:
I have no clue what the issue is, im very new so im not sure how i am suppose to pass arguments.
Codegen logs with
RUST_LOG=debug
environment variableTo Reproduce
Just reuse my code in your .api.rs file and use the codegen
Expected behavior
No error should appear and my code should display a http response
Generated binding code
Version of
clang++
Ubuntu clang version 14.0.0-1ubuntu1.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin
Version of
ffigen
9.0.0
Additional context
No response