-
Notifications
You must be signed in to change notification settings - Fork 689
Add AioCb::from_boxed_slice #576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added: - arm-unknown-linux-gnueabi - arm-unknown-linux-musleabi Removed: - powerpc64-unknown-linux-gnu (not suppported by nix) - mips64el-unknown-linux-gnu (not suppported by nix) - mipsel-unknown-linux-gnu (not suppported by nix)
Removed: - mips64-unknown-linux-gnu - mips64el-unknown-linux-gnu - arm-unknown-linux-musleabi
Fixes nix-rust#529, also refer to nix-rust#529 which first added this for the old CI infrastructure. Signed-off-by: Paul Osborne <[email protected]>
We need to raise it up to 1.13 because our test infrastructure requires it
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 nix-rust#575
☔ The latest upstream changes (presumably a076c7f) made this pull request unmergeable. Please resolve the merge conflicts. |
Can you rebase onto master and update this PR? The |
Nope. Can't rebase to master because of issue #567 . But I can wait until new-ci/master is merged. |
Indeed, hoping to merge it today. |
Replaced by the rebased PR #582 |
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