diff options
| author | Fedor Indutny <fedor.indutny@gmail.com> | 2013-06-26 17:42:11 +0200 |
|---|---|---|
| committer | Fedor Indutny <fedor.indutny@gmail.com> | 2013-07-09 19:20:26 +0400 |
| commit | db24ee9db02acf0912a89626e09801665bbb365a (patch) | |
| tree | d8f0a542f08db501d88ec74fa7da332e81494eeb /src/test/codegen/stack-alloc-string-slice.cc | |
| parent | 4a868c7c1df6a0e68b03c1710474e83c057d69c0 (diff) | |
| download | rust-db24ee9db02acf0912a89626e09801665bbb365a.tar.gz rust-db24ee9db02acf0912a89626e09801665bbb365a.zip | |
os: introduce cross-platform MemoryMap bindings
Basically, one may just do:
MemoryMap::new(16, ~[
MapExecutable,
MapReadable,
MapWritable
])
And executable+readable+writable chunk of at least 16 bytes size will be
allocated and freed with the result of `MemoryMap::new`.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions
