mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge pull request #18822 from bryceberger/targetdir-absolute
allow targetDir to be an absolute path
This commit is contained in:
commit
db55d9ade0
@ -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…
x
Reference in New Issue
Block a user