aot_link library

Functions

linkSlintAot(LinkInput input, LinkOutputBuilder output) Future<void>
App link hook: links the final slint-dart-aot dylib from the staticlib the build hook (aot_build.dart) routed here, keeping only the components the app's Dart code actually uses.
partitionLinkFlags(List<String> flags) LinkFlagGroups
Splits a rustc native-static-libs: flag list into -framework names, -l library names, and everything else (passed to the driver verbatim). Order and duplication are preserved — rustc says both can matter.
usedComponentNames(Recordings? recordings, List<Map<String, Object?>> components) Set<String>
Names of the components to keep, per the recorded usages.

Typedefs

LinkFlagGroups = ({List<String> frameworks, List<String> libraries, List<String> other})
Split of rustc's native-static-libs line for CLinker's parameters.