Skip to content

Commit

Permalink
Auto merge of #490 - redox-os:master, r=alexcrichton
Browse files Browse the repository at this point in the history
Remove kind='static' from Redox linkage

Our cross compiler links binaries statically, and the rustc target has dynamic linking disabled - adding kind = "static" is not necessary.
  • Loading branch information
bors committed Jan 7, 2017
2 parents 89c6c6c + 52369bc commit 95d5534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ extern {
pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void;
}

#[link(name = "c", kind = "static")]
#[link(name = "m", kind = "static")]
#[link(name = "c")]
#[link(name = "m")]
extern {}

0 comments on commit 95d5534

Please sign in to comment.