fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
https://fzyzcjy.github.io/flutter_rust_bridge/
MIT License
4.12k stars 283 forks source link

cannot find type `MessagePort` in this scope #865

Closed coolit closed 1 year ago

coolit commented 1 year ago

Describe the bug

Anybody knows how to fix this warning in vscode? Thanks.

Codegen logs with RUST_LOG=debug environment variable

no idea how to use this, I just use just + flutter run

To Reproduce

No response

Expected behavior

No response

Generated binding code

No response

OS

No response

Version of flutter_rust_bridge_codegen

^1.15.1

Flutter info

it said: could not compile native due to previous error.

Version of clang++

No response

Version of ffigen

^7.2.0

Additional context

No response

fzyzcjy commented 1 year ago

Please provide more context, thanks

coolit commented 1 year ago

@fzyzcjy I have downloaded the new template, and changed some configs, not it is ok.

github-actions[bot] commented 1 year ago

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.