Remove core_intrinsics feature gate

This commit is contained in:
Mark Simulacrum
2017-07-13 11:12:57 -06:00
parent 6a85193149
commit e7b1a60ad7
10 changed files with 67 additions and 20 deletions

View File

@@ -56,6 +56,9 @@ pub trait Step<'a>: Serialize + Sized {
/// somewhat harder.
type Output: Serialize + Deserialize<'a> + 'a;
/// This type, but with a 'static bound. Used for caching the step.
type Id: 'static;
const DEFAULT: bool = false;
/// Run this rule for all hosts without cross compiling.
@@ -190,6 +193,7 @@ impl<'a> Builder<'a> {
target: &'a str,
}
impl<'a> Step<'a> for Libdir<'a> {
type Id = Libdir<'static>;
type Output = PathBuf;
fn run(self, builder: &Builder) -> PathBuf {
let compiler = self.compiler;