Only link libc on *nix platforms

This commit is contained in:
Chris Denton 2024-08-09 21:17:32 +00:00
parent 86e7875c13
commit 2cc029edf5
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE

View File

@ -5,7 +5,7 @@
use core::fmt;
use core::fmt::Write;
#[link(name = "c")]
#[cfg_attr(not(windows), link(name = "c"))]
extern "C" {}
struct Dummy;