Skip to content

Commit

Permalink
Merge pull request rust-lang#363 from GuillaumeLestringant/master
Browse files Browse the repository at this point in the history
Corrects signedness of c_char for Linux musl Aarch64 & ppc64.
  • Loading branch information
alexcrichton authored Aug 22, 2016
2 parents e771674 + 71304b6 commit b117b26
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/unix/notbsd/linux/musl/b64/aarch64.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
pub type c_char = u8;

pub const SYS_perf_event_open: ::c_long = 241;
1 change: 0 additions & 1 deletion src/unix/notbsd/linux/musl/b64/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub type c_char = i8;
pub type wchar_t = i32;
pub type c_long = i64;
pub type c_ulong = u64;
Expand Down
2 changes: 2 additions & 0 deletions src/unix/notbsd/linux/musl/b64/powerpc64.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
pub type c_char = u8;

pub const SYS_perf_event_open: ::c_long = 319;
2 changes: 2 additions & 0 deletions src/unix/notbsd/linux/musl/b64/x86_64.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pub type c_char = i8;

s! {
pub struct mcontext_t {
__private: [u64; 32],
Expand Down

0 comments on commit b117b26

Please sign in to comment.