Skip to content

Commit 6d24c4b

Browse files
committed
Remove unwind from link libs
The reference to the unwind lib belongs in libstd, not here. Also fix lint error.
1 parent 517e86d commit 6d24c4b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/unix/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ cfg_if! {
231231
} else if #[cfg(target_os = "fuchsia")] {
232232
#[link(name = "c")]
233233
#[link(name = "mxio")]
234-
#[link(name = "unwind")]
235234
extern {}
236235
} else {
237236
#[link(name = "c")]

src/unix/notbsd/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ s! {
5353
pub ai_protocol: ::c_int,
5454
pub ai_addrlen: socklen_t,
5555

56-
#[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "fuchsia"))]
56+
#[cfg(any(target_os = "linux",
57+
target_os = "emscripten",
58+
target_os = "fuchsia"))]
5759
pub ai_addr: *mut ::sockaddr,
5860

5961
pub ai_canonname: *mut c_char,

0 commit comments

Comments
 (0)