aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2015-02-01 08:36:16 -0800
committerSteven Fackler <[email protected]>2015-02-01 08:36:16 -0800
commit0638c8d793b710cde475938fa7a5773ff2120016 (patch)
tree0b48a6173e8d42986b09f1463251d187ac234ddd /openssl-sys/src
parentFix for stability changes (diff)
parentDeclare the use of unstable libstd APIs (diff)
downloadrust-openssl-0638c8d793b710cde475938fa7a5773ff2120016.tar.xz
rust-openssl-0638c8d793b710cde475938fa7a5773ff2120016.zip
Merge pull request #151 from gkoz/std_stability_warns
Declare the use of unstable libstd APIs
Diffstat (limited to 'openssl-sys/src')
-rw-r--r--openssl-sys/src/build.rs2
-rw-r--r--openssl-sys/src/lib.rs3
2 files changed, 3 insertions, 2 deletions
diff --git a/openssl-sys/src/build.rs b/openssl-sys/src/build.rs
index 3f3053f0..cb1b41c5 100644
--- a/openssl-sys/src/build.rs
+++ b/openssl-sys/src/build.rs
@@ -1,4 +1,4 @@
-#![allow(unstable)]
+#![feature(core, collections, os)]
extern crate "pkg-config" as pkg_config;
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index b2e2d312..84bd004b 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -1,5 +1,6 @@
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
-#![allow(dead_code, unstable)]
+#![allow(dead_code)]
+#![feature(core, io, libc, os, path, std_misc)]
extern crate libc;