Skip to content

Commit

Permalink
Auto merge of #488 - redox-os:redox, r=alexcrichton
Browse files Browse the repository at this point in the history
Link libc and libm in Redox [critical]

This is critical to being able to set up a proper cross compilation setup for Redox. Due to the way libc is vendored, I have to have this change merged in and have liblibc updated in the Rust repository as well before I can have a working buildbot for Redox.
  • Loading branch information
bors committed Jan 6, 2017
2 parents 3ae8c85 + 7459003 commit c900083
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/redox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ s! {
extern {
pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void;
}

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

0 comments on commit c900083

Please sign in to comment.