Closed realcarlos closed 1 year ago
Hi! Thanks for opening your first issue here! :smile:
in api.rs , an alias name is used: pub use photon_rs::Rgba as PhotonRgba;
Hmm would be great to show more logs and make a minimal reproducible sample.
Or, if you are sure it is a bug because of import alias, feel free to PR!
@fzyzcjy Found the problem, the entity type cannot be written in other packages, only in the api package
@fzyzcjy Found the problem, the entity type cannot be written in other packages, only in the api package
Hi bro , would you like to create a PR to fix this issue?
@fzyzcjy Found the problem, the entity type cannot be written in other packages, only in the api package
Hi bro, any ideas? could you tell me what I should do?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
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
flutter_rust_bridge_codegen --rust-input rust/src/api.rs --dart-output lib/bridge_generated.dart --llvm-path /usr/local/opt/llvm/
I could run the cmd above successfully in other project, but when I run it in "flutter_photon_rs-master", I got error like this: thread 'main' panicked at 'Failed to parse function output type
PhotonRgba
', /Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/flutter_rust_bridge_codegen-1.63.1/src/parser/mod.rs:234:25Codegen logs with
RUST_LOG=debug
environment variableTo Reproduce
No response
Expected behavior
No response
Generated binding code
No response
OS
No response
Version of
flutter_rust_bridge_codegen
1.63.1
Flutter info
No response
Version of
clang++
No response
Version of
ffigen
No response
Additional context
No response