diff options
| author | jakhh8 <jakhh8@github.com> | 2023-04-23 21:19:40 +0200 |
|---|---|---|
| committer | jakhh8 <jakhh8@github.com> | 2023-04-23 21:19:40 +0200 |
| commit | f502169f1c76876e4ee522cd6ffbd6727ca93766 (patch) | |
| tree | 59ba3c4504b846d3cc406881b00243fd85b67a97 | |
| parent | 2feabc4dc462644287372922928110eea4c60ca7 (diff) | |
| download | rust-f502169f1c76876e4ee522cd6ffbd6727ca93766.tar.gz rust-f502169f1c76876e4ee522cd6ffbd6727ca93766.zip | |
minor: use extra_args for fetching workspace
| -rw-r--r-- | crates/project-model/src/cargo_workspace.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/project-model/src/cargo_workspace.rs b/crates/project-model/src/cargo_workspace.rs index 01162b1a8ba..2ad193d181f 100644 --- a/crates/project-model/src/cargo_workspace.rs +++ b/crates/project-model/src/cargo_workspace.rs @@ -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); } |
