flutter-rust-ffi
flutter-rust-ffi copied to clipboard
Starter project for Flutter plugins willing to access native and synchronous rust code using FFI
when i use make all = note: ld: error: unable to find library -lgcc clang-12: error: linker command failed with exit code 1 (use -v to see invocation) error: aborting...
Is there some way to generate linux bindings, I'm building for linux arm64 and I need to access my rust code. I'm building a dbus wrapper if I can't but...
Hi thanks for this wonderful starter! As shown in the sample code of this repo, we have to manually write down allocations/frees for pointers such as Strings. That is still...
Is it possible to call flutter functions from Rust? I know it's possible when using JNI-rust (by interacting with ``JniEnv`` methods), but I'm not sure if it's possible in the...
This guy made a very very very good DartFlutter FFI automation/generation, but the project is Sponsorware: https://github.com/thlorenz/rid-examples I just wanted to make it more visible to more people can sponsor...
### Steps to reproduce 1) clone the repo. 2) cd inside 3) start an eligible x86 Android Emulator 4) `flutter run lib/mylib.dart` ### Result `$ flutter run lib/mylib.dart` Using hardware...
## Option 1 Follow https://flutter.dev/docs/development/platform-integration/c-interop#ios-symbols-stripped ## Option 2 See from https://github.com/drewcrawford/Rust-iOS-Example#the-case-of-the-missing-symbols --- What seems to happen is Xcode strips some symbols from a framework when it's built. So if you...
I tried to write some test, under both `./test` and `./example/test` but it comes with error: ```shell Invalid argument(s): Failed to lookup symbol (dlsym(RTLD_DEFAULT, my_function_name): symbol not found) dart:ffi DynamicLibrary.lookup...