Skip to content

Commit bc00208

Browse files
committed
update paths in comments
1 parent 7a8cdb2 commit bc00208

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use rand::RngCore;
2525
use crate::*;
2626

2727
// This mapping should match `decode_error_kind` in
28-
// <https://github.com/rust-lang/rust/blob/master/library/std/src/sys/unix/mod.rs>.
28+
// <https://github.com/rust-lang/rust/blob/master/library/std/src/sys/pal/unix/mod.rs>.
2929
const UNIX_IO_ERROR_TABLE: &[(&str, std::io::ErrorKind)] = {
3030
use std::io::ErrorKind::*;
3131
&[

src/shims/foreign_items.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ trait EvalContextExtPriv<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
342342
/// Returns the minimum alignment for the target architecture for allocations of the given size.
343343
fn min_align(&self, size: u64, kind: MiriMemoryKind) -> Align {
344344
let this = self.eval_context_ref();
345-
// List taken from `library/std/src/sys/common/alloc.rs`.
345+
// List taken from `library/std/src/sys/pal/common/alloc.rs`.
346346
// This list should be kept in sync with the one from libstd.
347347
let min_align = match this.tcx.sess.target.arch.as_ref() {
348348
"x86" | "arm" | "mips" | "mips32r6" | "powerpc" | "powerpc64" | "wasm32" => 8,

0 commit comments

Comments
 (0)