Skip to content

Commit 8cf44be

Browse files
committed
core: Add int8_t, etc. types to libc::types::common::c99
1 parent 0622a74 commit 8cf44be

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/libcore/libc.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,16 @@ mod types {
139139
enum FILE {}
140140
enum fpos_t {}
141141
}
142-
mod c99 { }
142+
mod c99 {
143+
type int8_t = i8;
144+
type int16_t = i16;
145+
type int32_t = i32;
146+
type int64_t = i64;
147+
type uint8_t = u8;
148+
type uint16_t = u16;
149+
type uint32_t = u32;
150+
type uint64_t = u64;
151+
}
143152
mod posix88 {
144153
enum DIR {}
145154
enum dirent {}

0 commit comments

Comments
 (0)