Closed
Description
The following script creates a new project, compiles/runs it, creates a NTFS junction to the project, and attempts to compile/run the project through the NTFS junction. It runs successfully with the version included in Rust 1.0, but fails with the version included in Rust 1.1, with the error Could not find Cargo.toml in 'path\to\example\linked_project'
.
@echo off
cargo new normal_project --bin
cd normal_project
cargo run
cd ..
mklink /J linked_project normal_project
cd linked_project
dir
cargo run
cd ..
(This script will fail if there already exists a normal_project
or linked_project
and fails to clean after itself)
As a side note, Cargo probably shouldn't have to compile this twice, but that may be expected behavior.
Metadata
Metadata
Assignees
Labels
No labels