use the libc crate from cargo

This commit is contained in:
edef 2015-04-23 01:14:01 +02:00
parent 15e6eee931
commit d0ee592ba1
2 changed files with 5 additions and 2 deletions

View File

@ -9,5 +9,9 @@ gcc = "0.3.3"
[features] [features]
default = ["os", "valgrind"] default = ["os", "valgrind"]
os = [] os = ["libc"]
valgrind = [] valgrind = []
[dependencies.libc]
version = "0.1.6"
optional = true

View File

@ -3,7 +3,6 @@
// See the LICENSE file included in this distribution. // See the LICENSE file included in this distribution.
#![feature(no_std)] #![feature(no_std)]
#![feature(asm, core)] #![feature(asm, core)]
#![feature(libc)]
#![no_std] #![no_std]
//! libfringe is a low-level green threading library. //! libfringe is a low-level green threading library.