mmap-rs 0.1.0

A cross-platform and safe Rust API to create and manage memory mappings in the virtual address space of the calling process.
Documentation
1
2
3
4
5
6
7
8
9
10
fn main() {
    #[cfg(windows)]
    windows::build! {
        Windows::Win32::Foundation::CloseHandle,
        Windows::Win32::System::Diagnostics::Debug::FlushInstructionCache,
        Windows::Win32::System::Memory::*,
        Windows::Win32::System::SystemInformation::GetSystemInfo,
        Windows::Win32::System::Threading::GetCurrentProcess,
    }
}