From b47f936525dde91b3456078ecf8d0c11917cc6b7 Mon Sep 17 00:00:00 2001 From: Renato Zannon Date: Thu, 19 Feb 2015 19:05:18 -0200 Subject: [PATCH] fix(rustup): update feature flags --- benches/client.rs | 2 +- benches/client_mock_tcp.rs | 2 +- benches/server.rs | 2 +- examples/client.rs | 2 +- examples/hello.rs | 2 +- examples/server.rs | 2 +- src/lib.rs | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/benches/client.rs b/benches/client.rs index 060c53ab54..1582a02d8e 100644 --- a/benches/client.rs +++ b/benches/client.rs @@ -1,4 +1,4 @@ -#![feature(core, io, test)] +#![feature(core, old_io, test)] extern crate hyper; extern crate test; diff --git a/benches/client_mock_tcp.rs b/benches/client_mock_tcp.rs index 5caae756e5..370e73b942 100644 --- a/benches/client_mock_tcp.rs +++ b/benches/client_mock_tcp.rs @@ -1,4 +1,4 @@ -#![feature(collections, io, test)] +#![feature(collections, old_io, test)] extern crate hyper; extern crate test; diff --git a/benches/server.rs b/benches/server.rs index 2ffcd75ff9..57db9935a7 100644 --- a/benches/server.rs +++ b/benches/server.rs @@ -1,4 +1,4 @@ -#![feature(io, test)] +#![feature(old_io, test)] extern crate hyper; extern crate test; diff --git a/examples/client.rs b/examples/client.rs index 70edf87162..ea29965ac6 100644 --- a/examples/client.rs +++ b/examples/client.rs @@ -1,4 +1,4 @@ -#![feature(env, io)] +#![feature(env, old_io)] extern crate hyper; use std::env; diff --git a/examples/hello.rs b/examples/hello.rs index 8ed34e2bdd..188f93b084 100644 --- a/examples/hello.rs +++ b/examples/hello.rs @@ -1,4 +1,4 @@ -#![feature(io)] +#![feature(old_io)] extern crate hyper; use std::old_io::net::ip::Ipv4Addr; diff --git a/examples/server.rs b/examples/server.rs index 17c580bc84..769461e2cd 100644 --- a/examples/server.rs +++ b/examples/server.rs @@ -1,4 +1,4 @@ -#![feature(io)] +#![feature(old_io)] extern crate hyper; #[macro_use] extern crate log; diff --git a/src/lib.rs b/src/lib.rs index 4af33e7d07..cc71b61108 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ -#![feature(core, collections, hash, io, os, path, std_misc, - slicing_syntax, box_syntax, unsafe_destructor)] +#![feature(core, collections, hash, io, old_io, os, old_path, + std_misc, box_syntax, unsafe_destructor)] #![deny(missing_docs)] #![cfg_attr(test, deny(warnings))] #![cfg_attr(test, feature(alloc, test))]