We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ba1abb + f0e9277 commit 54c4de6Copy full SHA for 54c4de6
std/src/sys/windows/alloc.rs
@@ -16,6 +16,7 @@ mod tests;
16
// Flag to indicate that the memory returned by `HeapAlloc` should be zeroed.
17
const HEAP_ZERO_MEMORY: c::DWORD = 0x00000008;
18
19
+#[link(name = "kernel32")]
20
extern "system" {
21
// Get a handle to the default heap of the current process, or null if the operation fails.
22
//
0 commit comments