StephanvanSchaik / mmap-rs

A cross-platform and safe Rust API to create and manage memory mappings in the virtual address space of the calling process.
Apache License 2.0
61 stars 17 forks source link

document no-op flags #21

Closed StephanvanSchaik closed 1 year ago

StephanvanSchaik commented 1 year ago

This PR addresses the issue highlighted in PR #19 by documenting which flags may act as no-op flags on platforms that do not support the requested feature. These flags are intentionally designed to be exposed and not fail the mapping request, such that it is easier to write portable code.