From 18418254b925a498643b988bef323b5efc200f23 Mon Sep 17 00:00:00 2001 From: Tom Almeida <tommoa256@gmail.com> Date: Sat, 23 Jun 2018 13:08:28 +0800 Subject: [PATCH] Made sure lazy_static works with no_std --- src/stdio/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdio/Cargo.toml b/src/stdio/Cargo.toml index dd1e6126..1f2f2794 100644 --- a/src/stdio/Cargo.toml +++ b/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" } -- GitLab