[ffi] tree-shaking does not remove dependency .so library from the build #52970
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
library-ffi
triaged
Issue has been triaged by sub team
When building a project which includes a dependency having a native .so library linked via dart:ffi, it will be included in the resulting build even thou calls to that library were removed by tree-shaking dart code.
Flutter 3.11.0-0.1.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 350d2c3a6c (8 weeks ago) • 2023-05-23 15:52:05 -0700
Engine • revision 7eca5cd1c5
Tools • Dart 3.1.0 (build 3.1.0-63.1.beta) • DevTools 2.23.1
The text was updated successfully, but these errors were encountered: