Skip to content

Commit 39ca01c

Browse files
committed
Auto merge of #1331 - gnzlbg:revert_1322, r=alexcrichton
Revert PR 1322 Reverts PR #1322 . cc rust-lang/rust#60117
2 parents 11f30a8 + 3231740 commit 39ca01c

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libc"
3-
version = "0.2.53"
3+
version = "0.2.54"
44
authors = ["The Rust Project Developers"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"

src/redox/mod.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,8 @@ extern {
377377
-> ::ssize_t;
378378
}
379379

380-
#[cfg_attr(feature = "rustc-dep-of-std",
381-
link(name = "c", kind = "static",
382-
cfg(target_feature = "crt-static")))]
383-
#[cfg_attr(feature = "rustc-dep-of-std",
384-
link(name = "c", cfg(not(target_feature = "crt-static"))))]
380+
#[link(name = "c")]
381+
#[link(name = "m")]
385382
extern {}
386383

387384
pub use self::net::*;

0 commit comments

Comments
 (0)