Skip to content

How to run the example? #3

Open

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 !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions