-
Notifications
You must be signed in to change notification settings - Fork 674
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
Remove several deprecated constants and functions #1255
Conversation
Some tests still use |
* `unistd::daemon` on Apple * `unistd::pipe2` on Apple * `sys::event::FilterFlag::NOTE_EXIT_REPARENTED` on Apple * `sys::event::FilterFlag::NOTE_REAP` on Apple * `sys::ptrace::ptrace` on Android and Linux All have been deprecated for more than two releases and one year.
f71f3b1
to
f698fd3
Compare
I fixed the cfg gate on the test, and tweaked the formatting of the man page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM.
test/test_unistd.rs
Outdated
target_os = "emscripten", | ||
target_os = "freebsd", | ||
target_os = "linux", | ||
target_os = "redox", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redox
should be last.
CHANGELOG.md
Outdated
@@ -69,6 +69,12 @@ This project adheres to [Semantic Versioning](http://semver.org/). | |||
optional arguments. | |||
(#[1242](https://github.com/nix-rust/nix/pull/1242)) | |||
|
|||
- Removed `unistd::daemon`, `unistd::pipe2`, | |||
`sys::event::FilterFlag::NOTE_EXIT_REPARENTED`, and | |||
`sys::event::FilterFlag::NOTE_REAP` on OSX and ios. Removed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd split these as separate line items since they aren't really related even though they're part of the same PR.
bors r+ |
1255: Remove several deprecated constants and functions r=asomers a=asomers * `unistd::daemon` on Apple * `unistd::pipe2` on Apple * `sys::event::FilterFlag::NOTE_EXIT_REPARENTED` on Apple * `sys::event::FilterFlag::NOTE_REAP` on Apple * `sys::ptrace::ptrace` on Android and Linux All have been deprecated for more than two releases and one year. Co-authored-by: Alan Somers <[email protected]>
Build failed: |
bors retry |
Build succeeded: |
It's unfortunate that |
unistd::daemon
on Appleunistd::pipe2
on Applesys::event::FilterFlag::NOTE_EXIT_REPARENTED
on Applesys::event::FilterFlag::NOTE_REAP
on Applesys::ptrace::ptrace
on Android and LinuxAll have been deprecated for more than two releases and one year.