Skip to content

How to run the example?Β #3

@realcarlos

Description

@realcarlos

hello , I am trying to run the example in this project , what I did :

  1. cargo build
  2. flutter_rust_bridge_codegen --rust-input rust/src/api.rs --dart-output lib/bridge_generated.dart --llvm-path /usr/local/opt/llvm/
    but I got the error below:
    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:25

Is there something I missed? thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions