mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Fix reporting of build script errors
This commit is contained in:
parent
095df7bc39
commit
0ff2c81bb9
2 changed files with 21 additions and 7 deletions
|
@ -196,6 +196,10 @@ impl WorkspaceBuildScripts {
|
|||
|
||||
Ok(res)
|
||||
}
|
||||
|
||||
pub fn error(&self) -> Option<&str> {
|
||||
self.error.as_deref()
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: File a better way to know if it is a dylib.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue