[vm] Use a non-native definition of the runtime function structure.
Attempting to use the native definition when available causes problems
when cross-compiling, and the original attempts to avoid this broke in
subtle ways. Instead, just make a non-native definition that mimics
the native definition and use that with reinterpret_casts when sending
uses of the non-native definition to Windows API calls that expect
a value of the native definition.
TEST=windows ci
Fixes: https://github.com/dart-lang/sdk/issues/60771
Change-Id: I347fcaf8cccd809a3d8e6f041cc7e360b0b8226e
Cq-Include-Trybots: luci.dart.try:vm-aot-win-release-arm64-try,vm-aot-win-release-x64-try,vm-win-release-arm64-try,vm-win-release-x64-try,vm-aot-win-debug-arm64-try,vm-aot-win-debug-x64-try,pkg-win-release-try,pkg-win-release-arm64-try,dart-sdk-win-try,dart-sdk-win-arm64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/430400
Reviewed-by: Slava Egorov <vegorov@google.com>
https://dart.googlesource.com/sdk/+/9a2234461a1bf9994f7dd30ae3d828510cf3d23f
diff --git a/DEPS b/DEPS
index 7d2ffd9..fb2d8e2 100644
--- a/DEPS
+++ b/DEPS
@@ -234,7 +234,7 @@
]
deps = {
- 'flutter/engine/src/flutter/third_party/dart': Var('dart_git') + '/sdk' + '@' + '94a36d59ff68b3e53ceacd9b954528365eca8b22',
+ 'flutter/engine/src/flutter/third_party/dart': Var('dart_git') + '/sdk' + '@' + '9a2234461a1bf9994f7dd30ae3d828510cf3d23f',
'flutter': Var('flutter_git') + '/mirrors/flutter' + '@' + 'd5ae7839620b810608551ef886fe12196b612490',
diff --git a/commits.json b/commits.json
index 5da3e26..eacfc3c 100644
--- a/commits.json
+++ b/commits.json
@@ -1,4 +1,4 @@
{
"flutter":"d5ae7839620b810608551ef886fe12196b612490",
- "flutter/engine/src/flutter/third_party/dart":"94a36d59ff68b3e53ceacd9b954528365eca8b22"
+ "flutter/engine/src/flutter/third_party/dart":"9a2234461a1bf9994f7dd30ae3d828510cf3d23f"
}
\ No newline at end of file