Skip to content

Commit

Permalink
Fix breakages
Browse files Browse the repository at this point in the history
  • Loading branch information
regexident committed Dec 10, 2024
1 parent 974f80b commit e2541b9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use ra_ap_ide::{self as ide};
use ra_ap_ide_db::{self as ide_db};
use ra_ap_load_cargo::{self as load_cargo};
use ra_ap_paths::{self as paths};
use ra_ap_project_model::{self as project_model};
use ra_ap_project_model::{self as project_model, SysrootQueryMetadata};
use ra_ap_syntax::{self as syntax, ast, AstNode as _};
use ra_ap_vfs::{self as vfs};

Expand Down Expand Up @@ -104,6 +104,9 @@ pub fn cargo_config(
None
};

let sysroot_query_metadata = SysrootQueryMetadata::None;
let sysroot_src = None;

// Rustc private crate source
let rustc_source = None;

Expand Down Expand Up @@ -139,8 +142,6 @@ pub fn cargo_config(

let invocation_strategy = project_model::InvocationStrategy::PerWorkspace;

let sysroot_src = None;

let extra_args = vec![];

let target_dir = None;
Expand All @@ -152,13 +153,14 @@ pub fn cargo_config(
features,
target,
sysroot,
sysroot_query_metadata,
sysroot_src,
rustc_source,
cfg_overrides,
wrap_rustc_in_build_scripts,
run_build_script_command,
extra_env,
invocation_strategy,
sysroot_src,
extra_args,
target_dir,
set_test,
Expand Down

0 comments on commit e2541b9

Please sign in to comment.