mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 02:52:11 +00:00
Merge pull request #20178 from ShoyuVanilla/cargo-config-cleanup
Some checks failed
metrics / build_metrics (push) Has been cancelled
rustdoc / rustdoc (push) Has been cancelled
metrics / other_metrics (diesel-1.4.8) (push) Has been cancelled
metrics / other_metrics (hyper-0.14.18) (push) Has been cancelled
metrics / other_metrics (ripgrep-13.0.0) (push) Has been cancelled
metrics / other_metrics (self) (push) Has been cancelled
metrics / other_metrics (webrender-2022) (push) Has been cancelled
metrics / generate_final_metrics (push) Has been cancelled
Some checks failed
metrics / build_metrics (push) Has been cancelled
rustdoc / rustdoc (push) Has been cancelled
metrics / other_metrics (diesel-1.4.8) (push) Has been cancelled
metrics / other_metrics (hyper-0.14.18) (push) Has been cancelled
metrics / other_metrics (ripgrep-13.0.0) (push) Has been cancelled
metrics / other_metrics (self) (push) Has been cancelled
metrics / other_metrics (webrender-2022) (push) Has been cancelled
metrics / generate_final_metrics (push) Has been cancelled
chore: Cleanup cargo config queries
This commit is contained in:
commit
f76d2ef4d9
12 changed files with 420 additions and 375 deletions
|
|
@ -9,6 +9,7 @@ use hir::{ChangeWithProcMacros, Crate};
|
|||
use ide::{AnalysisHost, DiagnosticCode, DiagnosticsConfig};
|
||||
use ide_db::base_db;
|
||||
use itertools::Either;
|
||||
use paths::Utf8PathBuf;
|
||||
use profile::StopWatch;
|
||||
use project_model::toolchain_info::{QueryConfig, target_data_layout};
|
||||
use project_model::{
|
||||
|
|
@ -79,6 +80,7 @@ impl Tester {
|
|||
&RustSourceWorkspaceConfig::default_cargo(),
|
||||
false,
|
||||
&path,
|
||||
&Utf8PathBuf::default(),
|
||||
&|_| (),
|
||||
);
|
||||
if let Some(loaded_sysroot) = loaded_sysroot {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue