add no_std
as default feature
This commit is contained in:
parent
c06982b7ac
commit
110d2ff415
|
@ -4,5 +4,9 @@ version = "0.1.0"
|
||||||
authors = ["Szymon Walter <walter.szymon.98@gmail.com>"]
|
authors = ["Szymon Walter <walter.szymon.98@gmail.com>"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rlibc = "1.0"
|
|
||||||
bitflags = "1.0"
|
bitflags = "1.0"
|
||||||
|
rlibc = { version = "1.0", optional = true }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["no_std"]
|
||||||
|
no_std = ["rlibc"]
|
||||||
|
|
Reference in a new issue