2
0
Эх сурвалжийг харах

Made sure lazy_static works with no_std

Tom Almeida 7 жил өмнө
parent
commit
7e731e0b01

+ 1 - 1
src/stdio/Cargo.toml

@@ -10,7 +10,7 @@ cbindgen = { path = "../../cbindgen" }
 [dependencies]
 [dependencies]
 errno = { path = "../errno"}
 errno = { path = "../errno"}
 fcntl = { path = "../fcntl" }
 fcntl = { path = "../fcntl" }
-lazy_static = "*"
+lazy_static = { version = "*", features = ["nightly", "spin_no_std"] }
 platform = { path = "../platform" }
 platform = { path = "../platform" }
 ralloc = { path = "../../ralloc" }
 ralloc = { path = "../../ralloc" }
 string = { path = "../string" }
 string = { path = "../string" }