We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62f37da commit cbbcd87Copy full SHA for cbbcd87
library/std/src/sys/windows/c.rs
@@ -326,7 +326,7 @@ impl Default for IO_STATUS_BLOCK {
326
}
327
328
329
-pub type LPOVERLAPPED_COMPLETION_ROUTINE = unsafe extern "C" fn(
+pub type LPOVERLAPPED_COMPLETION_ROUTINE = unsafe extern "system" fn(
330
dwErrorCode: DWORD,
331
dwNumberOfBytesTransfered: DWORD,
332
lpOverlapped: *mut OVERLAPPED,
library/std/src/sys/windows/pipe.rs
@@ -282,7 +282,7 @@ impl AnonPipe {
282
283
284
// STEP 3: The callback.
285
- unsafe extern "C" fn callback(
+ unsafe extern "system" fn callback(
286
dwErrorCode: u32,
287
dwNumberOfBytesTransfered: u32,
288
lpOverlapped: *mut c::OVERLAPPED,
0 commit comments