Skip to content

Commit dbc1189

Browse files
committed
add padding to immediates
1 parent 0184e10 commit dbc1189

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shims/fs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
320320
immty_from_uint_checked(0u128, uid_t_layout)?, // st_uid
321321
immty_from_uint_checked(0u128, gid_t_layout)?, // st_gid
322322
immty_from_uint_checked(0u128, dev_t_layout)?, // st_rdev
323+
immty_from_uint_checked(0u128, dev_t_layout)?, // padding
323324
immty_from_uint_checked(access_sec, time_t_layout)?, // st_atime
324325
immty_from_uint_checked(access_nsec, long_layout)?, // st_atime_nsec
325326
immty_from_uint_checked(modified_sec, time_t_layout)?, // st_mtime

0 commit comments

Comments
 (0)