[vm/ffi] Fix native assets resolution in iOS release

TEST=Manually tested in local engine build for Flutter.

Bug: https://github.com/dart-lang/sdk/issues/50565
Change-Id: I281f2e3b2fb65091a73fc33d01c0e5e7f79beac3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/312908
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Hossein Yousefi <yousefi@google.com>
This commit is contained in:
Daco Harkes 2023-07-10 12:23:15 +00:00 committed by Commit Queue
parent daa35fd4fd
commit b3cc093e4c

View file

@ -47,7 +47,7 @@ ArrayPtr GetNativeAssetsMap(Thread* thread) {
// It is generated by: pkg/vm/lib/native_assets/synthesizer.dart
const auto& abi_map = Map::Cast(pragma);
const auto& current_abi = String::Handle(
zone, String::NewFormatted("%s_%s", kHostOperatingSystemName,
zone, String::NewFormatted("%s_%s", kTargetOperatingSystemName,
kTargetArchitectureName));
Map::Iterator abi_iterator(abi_map);
auto& abi = String::Handle(zone);