Skip to content

Commit b117b26

Browse files
authored
Merge pull request rust-lang#363 from GuillaumeLestringant/master
Corrects signedness of c_char for Linux musl Aarch64 & ppc64.
2 parents e771674 + 71304b6 commit b117b26

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
pub type c_char = u8;
2+
13
pub const SYS_perf_event_open: ::c_long = 241;

src/unix/notbsd/linux/musl/b64/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
pub type c_char = i8;
21
pub type wchar_t = i32;
32
pub type c_long = i64;
43
pub type c_ulong = u64;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
pub type c_char = u8;
2+
13
pub const SYS_perf_event_open: ::c_long = 319;

src/unix/notbsd/linux/musl/b64/x86_64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
pub type c_char = i8;
2+
13
s! {
24
pub struct mcontext_t {
35
__private: [u64; 32],

0 commit comments

Comments
 (0)