Skip to content

Make __file__ work in config file #23973

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

Merged
merged 1 commit into from
Mar 25, 2025
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Mar 24, 2025

As of today folks who want to find stuff relative to the config file itself need to do os.getenv('EM_CONFIG') which is pretty hacky.

@sbc100 sbc100 requested review from kripken and dschuff March 24, 2025 20:10
@sbc100 sbc100 enabled auto-merge (squash) March 24, 2025 20:25
As of today folks who want to find stuff relative to the config file
itself need to do `os.getenv('EM_CONFIG')` which is pretty hacky.
@sbc100 sbc100 merged commit 1296638 into emscripten-core:main Mar 25, 2025
24 checks passed
@sbc100 sbc100 deleted the config__file__ branch March 25, 2025 17:21
@kripken
Copy link
Member

kripken commented Mar 25, 2025

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.

3 participants