Only link libc on *nix platforms
This commit is contained in:
parent
86e7875c13
commit
2cc029edf5
@ -5,7 +5,7 @@
|
|||||||
use core::fmt;
|
use core::fmt;
|
||||||
use core::fmt::Write;
|
use core::fmt::Write;
|
||||||
|
|
||||||
#[link(name = "c")]
|
#[cfg_attr(not(windows), link(name = "c"))]
|
||||||
extern "C" {}
|
extern "C" {}
|
||||||
|
|
||||||
struct Dummy;
|
struct Dummy;
|
||||||
|
Loading…
Reference in New Issue
Block a user