Skip to content

Commit

Permalink
Fix for upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Feb 8, 2015
1 parent e1c53fc commit 3db7cef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion phf/src/lib.rs
Expand Up @@ -3,7 +3,7 @@
//! Keys can be string literals, byte string literals, byte literals, char
//! literals, or any of the fixed-size isizeegral types.
#![doc(html_root_url="https://sfackler.github.io/rust-phf/doc")]
#![feature(core)]
#![feature(core, no_std)]
#![warn(missing_docs)]
#![no_std]

Expand Down Expand Up @@ -38,3 +38,7 @@ mod std {
}
}

#[cfg(not(feature = "core"))]
mod core {
pub use std::{fmt, option, iter};
}
2 changes: 1 addition & 1 deletion phf_shared/src/lib.rs
@@ -1,4 +1,4 @@
#![feature(hash)]
#![feature(hash, no_std)]
#![cfg_attr(feature = "core", feature(core))]
#![no_std]
#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc")]
Expand Down

0 comments on commit 3db7cef

Please sign in to comment.