-
Notifications
You must be signed in to change notification settings - Fork 667
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
Replace all calls to mem::uninitialized with MaybeUninit #1096
Milestone
Comments
asomers
added a commit
to asomers/nix
that referenced
this issue
Jul 11, 2019
This fixes the tests on Rust 1.38.0. We'll fix them for real after release 0.15.0. Issue nix-rust#1096
asomers
added a commit
to asomers/nix
that referenced
this issue
Jul 13, 2019
This fixes the tests on Rust 1.38.0. We'll fix them for real after release 0.15.0. Issue nix-rust#1096
asomers
added a commit
to asomers/nix
that referenced
this issue
Jul 13, 2019
This fixes the tests on Rust 1.38.0. We'll fix them for real after release 0.15.0. Issue nix-rust#1096
scottlamb
pushed a commit
to scottlamb/nix
that referenced
this issue
Jul 17, 2019
This fixes the tests on Rust 1.38.0. We'll fix them for real after release 0.15.0. Issue nix-rust#1096
asomers
added a commit
to asomers/nix
that referenced
this issue
Sep 3, 2019
Only two instances remain: * For the deprecated sys::socket::CmsgSpace::new. We should probably just remove that method. * For sys::termios::Termios::default_uninit. This will require some more thought. Fixes nix-rust#1096
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rust will deprecate
mem::uninitialized
beginning with Rust 1.38.0. The recommended replacement isMaybeUninit
. Unfortunately,MaybeUninit
was only introduced in Rust 1.36.0. So we'll have to raise the MSRV. We should therefore wait to fix this issue until shortly before 1.38.0 is released, which will be sometime around September-29.https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html
The text was updated successfully, but these errors were encountered: