Skip to content

Commit 20dc89c

Browse files
committed
Revert PR: 1322
1 parent 11f30a8 commit 20dc89c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/redox/mod.rs

Lines changed: 2 additions & 5 deletions
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)