We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b916795 commit bd7f407Copy full SHA for bd7f407
src/bin/cargo-miri.rs
@@ -149,7 +149,7 @@ fn setup(ask_user: bool) {
149
let dirs = directories::ProjectDirs::from("miri", "miri", "miri").unwrap();
150
let dir = dirs.cache_dir();
151
if !dir.exists() {
152
- fs::create_dir(&dir).unwrap();
+ fs::create_dir_all(&dir).unwrap();
153
}
154
// The interesting bit: Xargo.toml
155
File::create(dir.join("Xargo.toml")).unwrap()
0 commit comments