Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put all cached artifacts under the ~/.wasmer/cache/ directory #4021

Merged
merged 3 commits into from
Jun 21, 2023

Conversation

Michael-F-Bryan
Copy link
Contributor

DO NOT MERGE! This requires #4013 to be merged first

I've modified the wasmer CLI to put all cached artefacts (compiled modules, downloaded packages, etc.) under the ~/.wasmer/cache/ directory and added a --cache flag to WasmerEnv (also settable via $WASMER_CACHE_DIR). This should make it easier for people to delete their cache and keep the ~/.wasmer/ directory cleaner.

Fixes #4017

@syrusakbary syrusakbary merged commit 993234a into master Jun 21, 2023
@syrusakbary syrusakbary deleted the cache-dir branch June 21, 2023 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All caches should be nested under $WASMER_DIR/cache/
2 participants