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

Deprecate --cache command line flag #23415

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jan 15, 2025

This flag was already removed back in 2020 (#11094) and then restored again a year later in #13954.

The reason for the revert was the --cache was need in order to override the EM_CACHE set by emsdk.
However, emsdk has since been fixed to avoid setting EM_CACHE at all: emscripten-core/emsdk#797.

I think this means there should no longer be any valid use cases for --cache so we should be able to at least deprecate it.

This change doesn't remove the flag, only deprecates it.

I won't land this change until @juj can confirm that Unity no longer depends on passing --cache.

See #23284

This flag was already removed back in 2020 (emscripten-core#11094) and then restored
again a year later in emscripten-core#13954.

This change doesn't remove the flag, only deprecates it.  Hopefully this
was we can give folks plenty of time to stop using it.

See emscripten-core#23284
@sbc100 sbc100 marked this pull request as draft January 15, 2025 17:02
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.

1 participant