Closed AlexV525 closed 3 months ago
Hmm, this looks like related to cargokit, thus may be great to ask there. I guess we can see how package like https://github.com/superlistapp/super_native_extensions/tree/main/super_clipboard which uses cargokit and does ignore the lock file can work.
Just done with diffing with another plugin, it appears that the custom build.rs
affects the build process which makes the tool try to seek for the pubspec.lock by manually calling the generate with the config.
Removing that immediately solves the issue!
I see. Then looks like build.rs needs to be removed, since we surely do not want to run frb codegen when user installs a Dart package!
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
Failed to generate native libraries during the integration with published packages.
Steps to reproduce
Logs
Expected behavior
A package should not generate version-checked
pubspec.lock
.Generated binding code
No response
OS
No response
Version of
flutter_rust_bridge_codegen
No response
Flutter info
No response
Version of
clang++
No response
Additional context
No response