mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-25 19:35:06 +00:00
Merge pull request #18822 from bryceberger/targetdir-absolute
allow targetDir to be an absolute path
This commit is contained in:
commit
db55d9ade0
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