@@ -18,7 +18,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
18
18
this. write_scalar ( errno_place. to_ref ( ) . to_scalar ( ) ?, dest) ?;
19
19
}
20
20
21
- // File related shims
21
+ // File related shims (but also see "syscall" below for statx)
22
22
23
23
// The only reason this is not in the `posix` module is because the `macos` item has a
24
24
// different name.
@@ -59,8 +59,8 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
59
59
// so skip over it.
60
60
getrandom ( this, & args[ 1 ..] , dest) ?;
61
61
}
62
- // `statx` is used by `libstd` to retrieve metadata information in `linux`
63
- // instead of using `stat`,`lstat` or `fstat` as in the `macos` platform .
62
+ // `statx` is used by `libstd` to retrieve metadata information on `linux`
63
+ // instead of using `stat`,`lstat` or `fstat` as on `macos`.
64
64
id if id == sys_statx => {
65
65
// The first argument is the syscall id,
66
66
// so skip over it.
@@ -87,7 +87,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
87
87
}
88
88
}
89
89
90
- // Shims the linux ' getrandom()' syscall.
90
+ // Shims the linux ` getrandom` syscall.
91
91
fn getrandom < ' tcx > (
92
92
this : & mut MiriEvalContext < ' _ , ' tcx > ,
93
93
args : & [ OpTy < ' tcx , Tag > ] ,
0 commit comments