Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 4758ce7

Browse files
authored
Fix typo
1 parent 4756be8 commit 4758ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
381381
let target_os = &this.tcx.sess.target.os;
382382
assert!(
383383
target_os == "linux" || target_os == "macos",
384-
"`getcwd` is only available for the UNIX target family"
384+
"`chdir` is only available for the UNIX target family"
385385
);
386386

387387
let path = this.read_path_from_c_str(this.read_pointer(path_op)?)?;

0 commit comments

Comments
 (0)