Implement rust-analyzer feature configuration to tests.

This commit is contained in:
daxpedda
2020-07-02 16:13:24 +02:00
parent 57ed622ec4
commit eb75a644a1
2 changed files with 17 additions and 8 deletions

View File

@@ -666,7 +666,7 @@ pub(crate) fn runnable(
let workspace_root = spec.as_ref().map(|it| it.workspace_root.clone());
let target = spec.as_ref().map(|s| s.target.clone());
let (cargo_args, executable_args) =
CargoTargetSpec::runnable_args(spec, &runnable.kind, &runnable.cfg_exprs)?;
CargoTargetSpec::runnable_args(snap, spec, &runnable.kind, &runnable.cfg_exprs)?;
let label = runnable.label(target);
let location = location_link(snap, None, runnable.nav)?;