소스 검색

Made sure lazy_static works with no_std

Tom Almeida 6 년 전
부모
커밋
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" }