We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee056cc commit 2fbc4aaCopy full SHA for 2fbc4aa
cargo-miri/bin.rs
@@ -257,8 +257,7 @@ fn setup(subcommand: MiriCommand) {
257
258
// Determine where the rust sources are located. `XARGO_RUST_SRC` env var trumps everything.
259
let rust_src = match std::env::var_os("XARGO_RUST_SRC") {
260
- Some(val) => {
261
- let path = PathBuf::from(val);
+ Some(path) => {
262
// Make path absolute, but not via `canonicalize` (which does not work very well on Windows).
263
env::current_dir().unwrap().join(path)
264
}
0 commit comments