mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-25 15:49:55 +00:00
Fix libc dependency in no_std test
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -4,5 +4,6 @@ version = "0.0.0"
|
|||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
libc = { version = "0.2", default-features = false }
|
||||||
serde = { path = "../../serde", default-features = false }
|
serde = { path = "../../serde", default-features = false }
|
||||||
serde_derive = { path = "../../serde_derive" }
|
serde_derive = { path = "../../serde_derive" }
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#![feature(lang_items, start, libc, compiler_builtins_lib)]
|
#![feature(lang_items, start, compiler_builtins_lib)]
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|||||||
Reference in new issue
Block a user