use the libc crate from cargo
This commit is contained in:
parent
15e6eee931
commit
d0ee592ba1
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue