You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Someone is using the flowing command to install dependencies:
forge soldeer install...
So the assumption is correct in this case because otherwise that would have not be triggered. The subprocess is called by a parent process and the subprocess is a clone of the parent basically.
But thanks for bringing into my attention, i have to take care of the case when someone is trying to install a dependency using soldeer cli
Now that we have more flexibility about invoking soldeer with configurable paths, it might be possible to run soldeer install programmatically without calling to the subprocess.
At the moment, the soldeer_core::install::install_dependencies function doesn't really like recursivity. I tried to modify the install_subdependencies to call install_dependencies but I get an error that some future is not Send: beeb@b46231d
Recursive dependencies are installed using a subprocess:
soldeer/src/dependency_downloader.rs
Lines 317 to 325 in 660b6c9
This assumes that there is a
forge
, that it has asoldeer
subcommand, and that it will behave the same as the currently running process.Obviously this is not ideal since any of those things could be not true, and many more.
The text was updated successfully, but these errors were encountered: