mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-30 06:21:26 +00:00
Fix libc dependency in no_std test
This commit is contained in:
parent
9c679d9082
commit
775e8154e7
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user