From 4758ce74efebf59f7f31cb564541dfef00483898 Mon Sep 17 00:00:00 2001 From: InfRandomness <43730933+InfRandomness@users.noreply.github.com> Date: Tue, 7 Jun 2022 17:40:14 +0000 Subject: [PATCH] Fix typo --- src/shims/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shims/env.rs b/src/shims/env.rs index ae9b8c75145f..5cffc5c6d1d5 100644 --- a/src/shims/env.rs +++ b/src/shims/env.rs @@ -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)?)?;