Explorar el Código

Made sure lazy_static works with no_std

Tom Almeida hace 6 años
padre
commit
7e731e0b01
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/stdio/Cargo.toml

+ 1 - 1
src/stdio/Cargo.toml

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