@@ -170,63 +170,63 @@ mod arch {
170
170
171
171
#[ cfg( target_arch = "hexagon" ) ]
172
172
mod arch {
173
- use crate :: os:: raw:: { c_int, c_long, c_longlong , c_ulonglong } ;
173
+ use crate :: os:: raw:: { c_int, c_long, c_uint } ;
174
174
175
175
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
176
- pub type blkcnt_t = c_longlong ;
176
+ pub type blkcnt_t = i64 ;
177
177
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
178
178
pub type blksize_t = c_long ;
179
179
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
180
- pub type ino_t = c_ulonglong ;
180
+ pub type ino_t = u64 ;
181
181
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
182
182
pub type nlink_t = c_uint ;
183
183
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
184
- pub type off_t = c_longlong ;
184
+ pub type off_t = i64 ;
185
185
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
186
- pub type time_t = c_long ;
186
+ pub type time_t = i64 ;
187
187
188
188
#[ repr( C ) ]
189
189
#[ derive( Clone ) ]
190
190
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
191
191
pub struct stat {
192
192
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
193
- pub st_dev : :: dev_t ,
193
+ pub st_dev : u64 ,
194
194
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
195
- pub st_ino : :: c_ulonglong ,
195
+ pub st_ino : u64 ,
196
196
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
197
- pub st_mode : :: c_uint ,
197
+ pub st_mode : u32 ,
198
198
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
199
- pub st_nlink : :: c_uint ,
199
+ pub st_nlink : u32 ,
200
200
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
201
- pub st_uid : :: c_uint ,
201
+ pub st_uid : u32 ,
202
202
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
203
- pub st_gid : :: c_uint ,
203
+ pub st_gid : u32 ,
204
204
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
205
- pub st_rdev : :: c_ulonglong ,
205
+ pub st_rdev : u64 ,
206
206
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
207
- pub __pad1 : :: c_ulong ,
207
+ pub __pad1 : u32 ,
208
208
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
209
- pub st_size : :: c_longlong ,
209
+ pub st_size : i64 ,
210
210
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
211
- pub st_blksize : :: blksize_t ,
211
+ pub st_blksize : i32 ,
212
212
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
213
- pub __pad2 : :: c_int ,
213
+ pub __pad2 : i32 ,
214
214
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
215
- pub st_blocks : :: blkcnt_t ,
215
+ pub st_blocks : i64 ,
216
216
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
217
- pub st_atime : :: time_t ,
217
+ pub st_atime : i64 ,
218
218
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
219
- pub st_atime_nsec : :: c_long ,
219
+ pub st_atime_nsec : c_long ,
220
220
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
221
- pub st_mtime : :: time_t ,
221
+ pub st_mtime : i64 ,
222
222
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
223
- pub st_mtime_nsec : :: c_long ,
223
+ pub st_mtime_nsec : c_long ,
224
224
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
225
- pub st_ctime : :: time_t ,
225
+ pub st_ctime : i64 ,
226
226
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
227
- pub st_ctime_nsec : :: c_long ,
227
+ pub st_ctime_nsec : c_long ,
228
228
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
229
- pub __pad3 : [ :: c_int ; 2 ] ,
229
+ pub __pad3 : [ c_int ; 2 ] ,
230
230
}
231
231
}
232
232
0 commit comments