Browse Source

Made sure lazy_static works with no_std

Tom Almeida 6 years ago
parent
commit
18418254b9
1 changed files with 1 additions and 1 deletions
  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" }