зеркало из https://github.com/mozilla/gecko-dev.git
68ff8b6963
Differential Revision: https://phabricator.services.mozilla.com/D39454 --HG-- rename : third_party/rust/memmap-0.5.2/LICENSE-APACHE => third_party/rust/memmap-0.6.2/LICENSE-APACHE rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/memmap-0.6.2/LICENSE-MIT rename : third_party/rust/memmap-0.5.2/ci/install.sh => third_party/rust/memmap-0.6.2/ci/install.sh rename : third_party/rust/fs2/LICENSE-APACHE => third_party/rust/miow-0.2.1/LICENSE-APACHE rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/miow-0.2.1/LICENSE-MIT rename : third_party/rust/fs2/LICENSE-APACHE => third_party/rust/socket2/LICENSE-APACHE rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/socket2/LICENSE-MIT rename : third_party/rust/fs2/LICENSE-APACHE => third_party/rust/tokio-named-pipes/LICENSE-APACHE rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/tokio-named-pipes/LICENSE-MIT extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ci | ||
examples | ||
src | ||
.cargo-checksum.json | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
README.md
memmap
A Rust library for cross-platform memory mapped IO.
Features
- file-backed memory maps
- anonymous memory maps
- synchronous and asynchronous flushing
- copy-on-write memory maps
- read-only memory maps
- stack support (
MAP_STACK
on unix) - executable memory maps
- huge page support
Platforms
memmap
should work on any platform supported by
libc
.
memmap
requires Rust stable 1.13 or greater.
memmap
is continuously tested on:
x86_64-unknown-linux-gnu
(Linux)i686-unknown-linux-gnu
x86_64-unknown-linux-musl
(Linux MUSL)x86_64-apple-darwin
(OSX)i686-apple-darwin
x86_64-pc-windows-msvc
(Windows)i686-pc-windows-msvc
x86_64-pc-windows-gnu
i686-pc-windows-gnu
memmap
is continuously cross-compiled against:
arm-linux-androideabi
(Android)aarch64-unknown-linux-gnu
(ARM)arm-unknown-linux-gnueabihf
mips-unknown-linux-gnu
(MIPS)x86_64-apple-ios
(iOS)i686-apple-ios
License
memmap
is primarily distributed under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT for details.
Copyright (c) 2015 Dan Burkert.