فهرست منبع

Made sure lazy_static works with no_std

Tom Almeida 7 سال پیش
والد
کامیت
18418254b9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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" }