-
Notifications
You must be signed in to change notification settings - Fork 738
Unset emsdk-related environment variables from inactive tools #801
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
Conversation
I should probably write test for this specifically around older SDKs and |
In the long run, this change (combined with existing #797) should allow unity to move away from passing |
9771258
to
1e8edb0
Compare
When we deactivate a tool we also want to remove its environment variables. One driver for this is that modern sdks don't set `EM_CACHE` whereas old ones did and we want to make sure that `EM_CACHE` gets unset when folks upgrade (and then re-set if they downgrade). See #797.
lgtm, though this maybe a good item to throw a notification to mailing list, since this will visibly change the semantics for users. |
When we deactivate a tool we also want to remove its environment variables. One driver for this is that modern sdks don't set `EM_CACHE` whereas old ones did and we want to make sure that `EM_CACHE` gets unset when folks upgrade (and then re-set if they downgrade). See #797.
Introduced in commit b4c9194 ("Unset emsdk-related environment variable from inactive tools (emscripten-core#801)"), but no other match from "git log -GEMSDK_TTY".
Introduced in commit b4c9194 ("Unset emsdk-related environment variable from inactive tools (emscripten-core#801)"), but no other match from "git log -GEMSDK_TTY".
Introduced in commit b4c9194 ("Unset emsdk-related environment variable from inactive tools (emscripten-core#801)"), but no other match from "git log -GEMSDK_TTY".
When we deactivate a tool we also want to remove its environment
variables. One driver for this is that modern sdks don't set
EM_CACHE
whereas old ones did and we want to make sure thatEM_CACHE
gets unset when folks upgrade (and then re-set ifthey downgrade). See #797.