Skip to content

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Oct 2, 2025

It looks like the last usage of this setting was removed in #22873.

@sbc100 sbc100 requested review from dschuff and juj October 2, 2025 16:55
@juj
Copy link
Collaborator

juj commented Oct 2, 2025

This probably would prevent #25466 from landing?

@sbc100
Copy link
Collaborator Author

sbc100 commented Oct 2, 2025

This probably would prevent #25466 from landing?

I just noticed that setting was redundant and unused.

I think you can still write what you want with if not feature_matrix.caniuse(feature_matrix.Feature.BULK_MEMORY):?

It looks like the last usage of this setting was removed in emscripten-core#22873.

The setting of `Feature.BULK_MEMORY` is already handled in
`apply_min_browser_versions`:

```
elif settings.WASM_WORKERS or settings.SHARED_MEMORY:
    enable_feature(Feature.BULK_MEMORY, 'shared-mem')
```
@juj
Copy link
Collaborator

juj commented Oct 2, 2025

I think you can still write what you want with if not feature_matrix.caniuse(feature_matrix.Feature.BULK_MEMORY):?

Thanks, that worked. Updated the PR to use that, and added a test.

@sbc100
Copy link
Collaborator Author

sbc100 commented Oct 2, 2025

OK to land this now?

@sbc100 sbc100 enabled auto-merge (squash) October 2, 2025 21:45
Copy link
Collaborator

@juj juj left a comment

Choose a reason for hiding this comment

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

LGTM

@sbc100 sbc100 merged commit bd4676a into emscripten-core:main Oct 2, 2025
33 checks passed
@sbc100 sbc100 deleted the BULK_MEMORY branch October 2, 2025 21:48
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