Closed
Description
First reported in rust-lang/cargo#1749, it looks like if an intermediate directory is a junction on Windows then fs::create_dir_all
will fail. Unfortunately the standard library doesn't provide away to create a junction, but a setup like this should work:
mkdir foo
mklink /J bar foo
use std::fs;
fs::create_dir_all("bar/test").unwrap() // this fails