diff options
| author | John Ericson <Ericson2314@Yahoo.com> | 2014-12-26 01:38:07 +0100 |
|---|---|---|
| committer | John Ericson <Ericson2314@Yahoo.com> | 2015-01-07 19:18:59 +0000 |
| commit | f67a7227b7052608a23d1e324c29f8ec6addf58a (patch) | |
| tree | 251843330dd4e22189d8a81490d75e0cb65f6298 /src/liballoc | |
| parent | 2a8cb678e61e91c160d80794b5fdd723d0d4211c (diff) | |
| download | rust-f67a7227b7052608a23d1e324c29f8ec6addf58a.tar.gz rust-f67a7227b7052608a23d1e324c29f8ec6addf58a.zip | |
liballoc does not need liblibc under certain configurations
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index ba6e89cdd76..3de77b05228 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -69,6 +69,8 @@ #[macro_use] extern crate core; + +#[cfg(all(not(external_funcs), not(external_crate)))] extern crate libc; // Allow testing this library |
