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 -sMAYBE_WASM2JS settings #23970

Merged
merged 1 commit into from
Mar 21, 2025
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Mar 21, 2025

Users of this settings will now see:

emcc: warning: MAYBE_WASM2JS is deprecated (no known users). Please open a bug if you have a continuing need for this setting [-Wdeprecated]

See #23969

Users of this settings will now see:

```
emcc: warning: MAYBE_WASM2JS is deprecated (no known users). Please open a bug if you have a continuing need for this setting [-Wdeprecated]
```

See emscripten-core#23969
@sbc100 sbc100 requested a review from kripken March 21, 2025 22:18
@kripken
Copy link
Member

kripken commented Mar 21, 2025

sgtm, though @juj was using this at some point - @juj do you still need it?

@kripken
Copy link
Member

kripken commented Mar 21, 2025

Ah, I may have confused this with WASM=2.

Looks like wasm2js always enables MAYBE_WASM2JS. This may have been useful as a user-facing feature in the past for debugging purposes, but maybe now we can remove it from there (but keep it internally, or refactor).

@sbc100
Copy link
Collaborator Author

sbc100 commented Mar 21, 2025

Ah, I may have confused this with WASM=2.

Looks like wasm2js always enables MAYBE_WASM2JS. This may have been useful as a user-facing feature in the past for debugging purposes, but maybe now we can remove it from there (but keep it internally, or refactor).

Yes, I was think we could keep -sWASM=2 which I believe @juj uses, and either remove -sMAYBE_WASM2JS or at least make it internal.

Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Making it internal (or refactoring in some other internal way) sgtm. I'm not aware of MAYBE_WASM2JS usage without wasm2js.

@sbc100 sbc100 merged commit a741f7a into emscripten-core:main Mar 21, 2025
24 checks passed
@sbc100 sbc100 deleted the maybe_wasm2js branch March 21, 2025 23:28
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.

2 participants