Skip to content

Commit c0cbbbe

Browse files
committed
Auto merge of #2605 - solid-rs:fix-solid-wchar, r=Amanieu
kmc-solid: `wchar_t` is `u32` This PR fixes the definition of `wchar_t` for the [`*-kmc-solid_*`](https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html) targets.
2 parents 5e95cbb + c70ddd4 commit c0cbbbe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/solid/aarch64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub type c_char = i8;
2-
pub type wchar_t = i16;
2+
pub type wchar_t = u32;
33
pub type c_long = i64;
44
pub type c_ulong = u64;

src/solid/arm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub type c_char = i8;
2-
pub type wchar_t = i16;
2+
pub type wchar_t = u32;
33
pub type c_long = i32;
44
pub type c_ulong = u32;

0 commit comments

Comments
 (0)