Skip to content

Commit

Permalink
Auto merge of rust-lang#2642 - Rageking8:followup-for-pr-2640, r=Ralf…
Browse files Browse the repository at this point in the history
…Jung

Followup for pr 2640

r? `@RalfJung`
  • Loading branch information
bors committed Oct 31, 2022
2 parents 004a460 + 64c7cf2 commit ccac25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo-miri/src/phases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ pub fn phase_runner(mut binary_args: impl Iterator<Item = String>, phase: Runner
cmd.args(binary_args);

// Make sure we use the build-time working directory for interpreting Miri/rustc arguments.
// But then we need to switch to the run-time one, which we instruct Miri do by setting `MIRI_CWD`.
// But then we need to switch to the run-time one, which we instruct Miri to do by setting `MIRI_CWD`.
cmd.current_dir(info.current_dir);
cmd.env("MIRI_CWD", env::current_dir().unwrap());

Expand Down

0 comments on commit ccac25e

Please sign in to comment.