You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, do you mean dart-lang/sdk#53875? Looks like the feature is not stablized yet.
Secondly, I guess the fix would not be very hard: We just firstly find out the pubspec.lock location, and after that everything is the same. Feel free to PR! Alternatively, I will work on it but when it stablizes, since if it is not stablized, things can change, and at the same time only a small portion of users will use it. If you want to use it now, a quick workaround may be to PR, such that when pubspec.lock does not exist, we warn user (and skip sanity checks) instead of error.
But if other people are facing this issue, feel free to comment below! If many people are using this before it stablizes, I can prioritize it.
fzyzcjy
added
the
awaiting
Waiting for responses, PR, further discussions, upstream release, etc
label
Sep 8, 2024
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
I just realized that when utilizing the new pub workspaces feature for mono-repos, flutter_rust_bridge fails as there is no longer a pubspec.lock.
Steps to reproduce
I have my generated code in a separate "rust" package:
Logs
Error: missing pubspec.lock in .../app/flutter/packages/rust
Expected behavior
Run generation
Generated binding code
No response
OS
macOS
Version of
flutter_rust_bridge_codegen
2.3.0
Flutter info
No response
Version of
clang++
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: