Fix typo
This commit is contained in:
parent
4756be8aee
commit
4758ce74ef
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
|
|||
let target_os = &this.tcx.sess.target.os;
|
||||
assert!(
|
||||
target_os == "linux" || target_os == "macos",
|
||||
"`getcwd` is only available for the UNIX target family"
|
||||
"`chdir` is only available for the UNIX target family"
|
||||
);
|
||||
|
||||
let path = this.read_path_from_c_str(this.read_pointer(path_op)?)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue