@ -9,12 +9,9 @@ git = "https://github.com/rust-lang-nursery/compiler-builtins"
[dependencies.alloc_system]
git = "https://github.com/rust3ds/alloc_system3ds"
[dependencies.libc]
version = "0.2"
default-features = false
[dependencies.ctru-sys]
path = "../ctru-sys"
features = ["stdbuild"]
[features]
@ -7,8 +7,11 @@ license = "https://en.wikipedia.org/wiki/Zlib_License"
optional = true
default = ["libc"]
# This is a dummy feature that only exists to work around a Xargo issue.
# User code should not enable it.
stdbuild = []
@ -7,6 +7,8 @@
#![no_std]
#![cfg_attr(feature = "stdbuild", feature(libc))]
extern crate libc;
include!("bindings.rs");