Skip to content

Commit 585d45a

Browse files
committed
remove redefinition of c_char and w_char, remove typo
1 parent 6e95369 commit 585d45a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/hermit/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@ pub type intptr_t = isize;
4141
pub type uintptr_t = usize;
4242
pub type ssize_t = isize;
4343

44-
pub type c_char = i8;
4544
pub type c_long = i64;
4645
pub type c_ulong = u64;
4746

48-
pub type wchar_t = i32;
4947
pub type wint_t = u32;
5048
pub type wctype_t = i64;
5149

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ cfg_if! {
107107
mod unix;
108108
pub use unix::*;
109109
} else if #[cfg(target_os = "hermit")] {
110-
mod redox;
110+
mod hermit;
111111
pub use hermit::*;
112112
} else if #[cfg(target_env = "sgx")] {
113113
mod sgx;

0 commit comments

Comments
 (0)