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
There currently doesn't seem to be any option to remove the packages and other artifacts from the cache, for just the scripts that don't exist anymore. The only available option is --clear-cache, which clears the entire cache, including those of the scripts that are still live.
Rationale: If you move a script from one location to another and execute it, rust-script creates a new package in the cache and leaves the old one orphaned. A user may wish to clear just the orphaned package and artifacts without losing all the useful objects in the cache.
Suggestion: Add a --gc option to do this.
Thank you!
The text was updated successfully, but these errors were encountered:
There currently doesn't seem to be any option to remove the packages and other artifacts from the cache, for just the scripts that don't exist anymore. The only available option is
--clear-cache
, which clears the entire cache, including those of the scripts that are still live.Rationale: If you move a script from one location to another and execute it, rust-script creates a new package in the cache and leaves the old one orphaned. A user may wish to clear just the orphaned package and artifacts without losing all the useful objects in the cache.
Suggestion: Add a
--gc
option to do this.Thank you!
The text was updated successfully, but these errors were encountered: