From 67d6580d2c41c584d375ca57a67405fe8f5b4339 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Tue, 10 Mar 2015 11:49:58 -0700 Subject: Track Rust nightlies --- nix-test/build.rs | 2 -- nix-test/src/lib.rs | 2 +- src/sys/socket/addr.rs | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/nix-test/build.rs b/nix-test/build.rs index cb9cae9b..b9421014 100644 --- a/nix-test/build.rs +++ b/nix-test/build.rs @@ -1,5 +1,3 @@ -#![feature(env, process)] - use std::env; use std::process::Command; diff --git a/nix-test/src/lib.rs b/nix-test/src/lib.rs index 26d7cd4d..97d6825c 100644 --- a/nix-test/src/lib.rs +++ b/nix-test/src/lib.rs @@ -1,4 +1,4 @@ -#![feature(libc, std_misc)] +#![feature(libc)] extern crate libc; diff --git a/src/sys/socket/addr.rs b/src/sys/socket/addr.rs index 2ebb5d88..26d6349e 100644 --- a/src/sys/socket/addr.rs +++ b/src/sys/socket/addr.rs @@ -329,7 +329,7 @@ impl UnixAddr { return Err(NixError::Sys(Errno::ENAMETOOLONG)); } - ptr::copy_memory( + ptr::copy( ret.sun_path.as_mut_ptr(), bytes.as_ptr() as *const i8, bytes.len()); -- cgit v1.2.3