mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-25 19:35:06 +00:00
allow targetDir to be an absolute path
This commit is contained in:
parent
d3dd40f636
commit
5c143aa65d
1 changed files with 1 additions and 2 deletions
|
@ -2129,8 +2129,7 @@ impl Config {
|
|||
Some(Utf8PathBuf::from("target/rust-analyzer"))
|
||||
}
|
||||
TargetDirectory::UseSubdirectory(false) => None,
|
||||
TargetDirectory::Directory(dir) if dir.is_relative() => Some(dir.clone()),
|
||||
TargetDirectory::Directory(_) => None,
|
||||
TargetDirectory::Directory(dir) => Some(dir.clone()),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue