Skip to content

Commit 0f5f0e1

Browse files
committed
Fix spelling typo
1 parent bc54c76 commit 0f5f0e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/shims/foreign_items/posix/linux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
113113
this.write_scalar(Scalar::from_i32(-1), dest)?;
114114
}
115115

116-
// Incomplete shims that we "stub out" just to get pre-main initialziation code to work.
116+
// Incomplete shims that we "stub out" just to get pre-main initialization code to work.
117117
// These shims are enabled only when the caller is in the standard library.
118118
"pthread_getattr_np" if this.frame().instance.to_string().starts_with("std::sys::unix::") => {
119119
this.write_null(dest)?;

src/shims/foreign_items/posix/macos.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
8888
this.write_scalar(stack_size, dest)?;
8989
}
9090

91-
// Incomplete shims that we "stub out" just to get pre-main initialziation code to work.
91+
// Incomplete shims that we "stub out" just to get pre-main initialization code to work.
9292
// These shims are enabled only when the caller is in the standard library.
9393
"mmap" if this.frame().instance.to_string().starts_with("std::sys::unix::") => {
9494
// This is a horrible hack, but since the guard page mechanism calls mmap and expects a particular return value, we just give it that value.

src/shims/foreign_items/windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
207207
throw_unsup_format!("Miri does not support threading");
208208
}
209209

210-
// Incomplete shims that we "stub out" just to get pre-main initialziation code to work.
210+
// Incomplete shims that we "stub out" just to get pre-main initialization code to work.
211211
// These shims are enabled only when the caller is in the standard library.
212212
"GetProcessHeap" if this.frame().instance.to_string().starts_with("std::sys::windows::") => {
213213
// Just fake a HANDLE

0 commit comments

Comments
 (0)