mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-19 01:50:32 +00:00
minor: use extra_args for fetching workspace
This commit is contained in:
parent
2feabc4dc4
commit
f502169f1c
1 changed files with 1 additions and 0 deletions
|
@ -297,6 +297,7 @@ impl CargoWorkspace {
|
||||||
let other_options: Vec<_> = targets
|
let other_options: Vec<_> = targets
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.flat_map(|target| ["--filter-platform".to_string(), target])
|
.flat_map(|target| ["--filter-platform".to_string(), target])
|
||||||
|
.chain(config.extra_args.clone())
|
||||||
.collect();
|
.collect();
|
||||||
meta.other_options(other_options);
|
meta.other_options(other_options);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue