Don't import libc, when not supported

This commit is contained in:
Ticki 2016-03-15 15:46:51 +01:00
parent df65cc7c56
commit f2af496bbe
1 changed files with 16 additions and 1 deletions

View File

@ -3,7 +3,22 @@ name = "libterm"
version = "0.1.0" version = "0.1.0"
authors = ["Ticki <Ticki@users.noreply.github.com>"] authors = ["Ticki <Ticki@users.noreply.github.com>"]
[dependencies] [target.i686-unknown-linux-gnu.dependencies]
libc = "0.2.8"
[target.x86_64-unknown-linux-gnu.dependencies]
libc = "0.2.8"
[target.i686-unknown-linux-musl.dependencies]
libc = "0.2.8"
[target.x86_64-unknown-linux-musl.dependencies]
libc = "0.2.8"
[target.i686-apple-darwin.dependencies]
libc = "0.2.8"
[target.x86_64-apple-darwin.dependencies]
libc = "0.2.8" libc = "0.2.8"
[features] [features]