[dart-lang/sdk] 8e0ba5: [vm,gardening] Possible fix for build failure on F...

0 views
Skip to first unread message

Alexander Markov

unread,
11:08 AM (9 hours ago) 11:08 AM
to com...@dartlang.org
Branch: refs/heads/main
Home: https://github.com/dart-lang/sdk
Commit: 8e0ba59c7aad8b0f3a780ed79967b870a869d047
https://github.com/dart-lang/sdk/commit/8e0ba59c7aad8b0f3a780ed79967b870a869d047
Author: Alexander Markov <alexm...@google.com>
Date: 2026-06-11 (Thu, 11 Jun 2026)

Changed paths:
M runtime/vm/os_win.cc

Log Message:
-----------
[vm,gardening] Possible fix for build failure on Flutter bots

This is an attempt to fix the following build failure which appears
on Flutter bots but not Dart CI bots:

```
../../../flutter/third_party/dart/runtime/vm/os_win.cc(260,13): error: no matching function for call to 'ReadProcessMemory'
260 | BOOL ok = ReadProcessMemory(GetCurrentProcess(), address, buffer,
| ^~~~~~~~~~~~~~~~~
../../../flutter/third_party/depot_tools/win_toolchain/vs_files/27370823e7\Windows Kits\10\Include\10.0.22621.0\um\memoryapi.h(152,1): note: candidate function not viable: no known conversion from 'size_t *' (aka 'unsigned int *') to 'SIZE_T *' (aka 'unsigned long *') for 5th argument
152 | ReadProcessMemory(
| ^
153 | _In_ HANDLE hProcess,
154 | _In_ LPCVOID lpBaseAddress,
155 | _Out_writes_bytes_to_(nSize,*lpNumberOfBytesRead) LPVOID lpBuffer,
156 | _In_ SIZE_T nSize,
157 | _Out_opt_ SIZE_T* lpNumberOfBytesRead
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```

TEST=ci

Change-Id: Ic32a5f7750c92850e23c7a8e0e77b1d385e8fc17
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/511440
Reviewed-by: Ben Konyi <bko...@google.com>
Commit-Queue: Alexander Markov <alexm...@google.com>



To unsubscribe from these emails, change your notification settings at https://github.com/dart-lang/sdk/settings/notifications
Reply all
Reply to author
Forward
0 new messages