Merge pull request #88 from GuillaumeGomez/rust-buildchain

Make it able to build in the rust buildchain
This commit is contained in:
Alex Crichton 2017-03-24 09:37:33 -05:00 committed by GitHub
commit 2d6b4468dc

View File

@ -12,6 +12,11 @@
#![no_std]
// When compiled for the rustc compiler itself we want to make sure that this is
// an unstable crate.
#![cfg_attr(rustbuild, feature(staged_api))]
#![cfg_attr(rustbuild, unstable(feature = "rustdoc", issue = "27812"))]
#[cfg(test)]
#[macro_use]
extern crate std;