Replies: 1 comment 3 replies
-
|
@Ali-Amir Are all the rust crates in different cargo workspaces? It should only run once per cargo workspace. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have multiple Rust projects in my repository that require rustup component installation (e.g., clippy). Currently, when I run
moon check --allon a fresh machine moon starts callingrustup install clippyfor each of the tasks in parallel. As a result I consistently get errors because rustup doesn't tolerate parallelism/concurrency. Is there a suggested way to handle this?I know of
concurrencyflag and mutexes to accomplish this, but is it possible to limit the locking to toolchain setup only (as opposed to the whole task)? Or is there a way to move toolchain installation to a separate task of its own (I don't know how to do it because it seems to happen automatically)?Beta Was this translation helpful? Give feedback.
All reactions