From 20dc89c36ef78cb630b90600b1893a35e6420d6a Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Thu, 2 May 2019 18:32:52 +0200 Subject: Revert PR: 1322 --- src/redox/mod.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/redox/mod.rs b/src/redox/mod.rs index 0d2cacc27b..ac0ae00bce 100644 --- a/src/redox/mod.rs +++ b/src/redox/mod.rs @@ -377,11 +377,8 @@ extern { -> ::ssize_t; } -#[cfg_attr(feature = "rustc-dep-of-std", - link(name = "c", kind = "static", - cfg(target_feature = "crt-static")))] -#[cfg_attr(feature = "rustc-dep-of-std", - link(name = "c", cfg(not(target_feature = "crt-static"))))] +#[link(name = "c")] +#[link(name = "m")] extern {} pub use self::net::*; -- cgit v1.2.1 From 3231740da4855de4db306ad41bd781c37ffbde98 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Thu, 2 May 2019 18:33:25 +0200 Subject: Bump patch version to 0.2.54 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a708801e38..e8492974e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libc" -version = "0.2.53" +version = "0.2.54" authors = ["The Rust Project Developers"] license = "MIT OR Apache-2.0" readme = "README.md" -- cgit v1.2.1