summaryrefslogtreecommitdiff
path: root/src/sys/memfd.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2017-04-16 03:09:13 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2017-04-16 03:09:13 +0000
commite7e988d019e78e7037d8b846faddfd5ad9678345 (patch)
treed82245435de3c965e1df5eeffe48c5658eeac6e9 /src/sys/memfd.rs
parent8c47de417e71d59b0248bc3df5886bc7c4410040 (diff)
parentd3ad3c775ce55612aa0a754e010899990673661b (diff)
downloadnix-e7e988d019e78e7037d8b846faddfd5ad9678345.zip
Merge #582
582: Add AioCb::from_boxed_slice r=posborne The existing AioCb constructors work for simple programs where everything is stored on the stack. But in more complicated programs the borrow checker can't prove that a buffer will outlive the AioCb that references it. Fix this problem by introducting AioCb::from_boxed_slice, which takes a reference-counted buffer. Fixes #575
Diffstat (limited to 'src/sys/memfd.rs')
0 files changed, 0 insertions, 0 deletions