mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-18 17:40:29 +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
|
||||
.into_iter()
|
||||
.flat_map(|target| ["--filter-platform".to_string(), target])
|
||||
.chain(config.extra_args.clone())
|
||||
.collect();
|
||||
meta.other_options(other_options);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue