94a25f4827
Changelog: Windows and Linux desktop fixes
rust_api
Flutter Rust Bridge FFI package for FlClash. The Rust crate under rust/ is compiled by the Dart build hook in
hook/build.dart through Native Assets, so there are no platform folders: Flutter runs the hook during every build
and bundles the resulting librust_api itself.
Requirements
rustup, with the toolchain and targets pinned inrust/rust-toolchain.toml(installed on first build).- The Android NDK for Android builds.
flutter_rust_bridge_codegenmatching theflutter_rust_bridgeversion inpubspec.yaml, to regenerate bindings:
flutter_rust_bridge_codegen generate