Made external_crates feature work again.

Also added test for it.

Fixes #21928
This commit is contained in:
Alexander Light
2015-02-05 10:51:17 -05:00
parent ac134f7ca4
commit 8fded29586
3 changed files with 44 additions and 1 deletions

View File

@@ -73,7 +73,9 @@
#![feature(unboxed_closures)]
#![feature(core)]
#![feature(hash)]
#![feature(libc)]
#![cfg_attr(all(not(feature = "external_funcs"), not(feature = "external_crate")),
feature(libc))]
#[macro_use]
extern crate core;