mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
reuse AnalysisHost in batch analysis
This commit is contained in:
parent
41c56c8a0d
commit
b0be4207d0
6 changed files with 89 additions and 108 deletions
|
@ -17,7 +17,7 @@ fn main() -> Result<()> {
|
|||
Err(_) => ra_prof::Filter::disabled(),
|
||||
});
|
||||
log::info!("lifecycle: server started");
|
||||
match ::std::panic::catch_unwind(main_inner) {
|
||||
match std::panic::catch_unwind(main_inner) {
|
||||
Ok(res) => {
|
||||
log::info!("lifecycle: terminating process with {:?}", res);
|
||||
res
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue