Right now it is impossible to use `MemoryMap` with a file because `AsFileDesc` is in `sys_common` and thus private. We should figure out which portions of `sys` should be public.
Activity
emberian commentedon Nov 12, 2014
cc @aturon @xales
Arcterus commentedon Nov 12, 2014
We need
AsFileDesc
to fix theuutils
build as well (without resorting to hacks).aturon commentedon Nov 12, 2014
Yes, exposing file descriptors is very much part of the plan, though they will likely not be exposed directly via
sys
. More on this very soon.std::io
#19169Merge pull request rust-lang#18897 from duncanawoods/master