diff --git a/flutter_package/lib/src/load_os.dart b/flutter_package/lib/src/load_os.dart index 46f08666..29b23419 100644 --- a/flutter_package/lib/src/load_os.dart +++ b/flutter_package/lib/src/load_os.dart @@ -165,6 +165,7 @@ class RustLibraryNew extends RustLibrary { /// Class for local native library symbols loaded with `RTLD_LOCAL`. /// This is relatively inefficient because `malloc.allocate` is required. +/// It involves extra memory copy before sending the data to Rust. class RustLibraryOld extends RustLibrary { late DynamicLibrary lib; late void Function() startRustLogicExtern;