Auto merge of #101643 - ChrisDenton:alloc-link-kernel32, r=thomcc
Explicitly link kernel32.lib from alloc
This commit is contained in:
commit
abd4d2ef0d
@ -16,6 +16,7 @@ mod tests;
|
||||
// Flag to indicate that the memory returned by `HeapAlloc` should be zeroed.
|
||||
const HEAP_ZERO_MEMORY: c::DWORD = 0x00000008;
|
||||
|
||||
#[link(name = "kernel32")]
|
||||
extern "system" {
|
||||
// Get a handle to the default heap of the current process, or null if the operation fails.
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user