add no_std as default feature

This commit is contained in:
Szymon Walter 2018-03-19 13:29:22 +01:00
parent c06982b7ac
commit 110d2ff415

View file

@ -4,5 +4,9 @@ version = "0.1.0"
authors = ["Szymon Walter <walter.szymon.98@gmail.com>"]
[dependencies]
rlibc = "1.0"
bitflags = "1.0"
rlibc = { version = "1.0", optional = true }
[features]
default = ["no_std"]
no_std = ["rlibc"]