Skip to content

Commit 772efe9

Browse files
committed
Fix c_char and wchar_t for emscripten
1 parent 6324ed9 commit 772efe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/notbsd/linux/musl/b32/asmjs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
pub type c_char = u8;
2-
pub type wchar_t = u32;
1+
pub type c_char = i8;
2+
pub type wchar_t = i32;
33

44
s! {
55
pub struct stat {

0 commit comments

Comments
 (0)