emscripten-core / emscripten-core/emscripten

Should we have a setting that is the opposite of `LEGACY_VM_SUPPORT`

Open
#27,177 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

i.e. a way to say "I want to target only the current latest browsers".

Maybe there is some way to do this today, but I don't know what it is.

Setting `-sMIN_CHROME_VERSION=-1`, etc, doesn't quite work because that says we don't want support chrome at all.

Perhaps the explicit `-sLEGACY_VM_SUPPORT=0` could set all of the MIN versions to some huge value? Or is that too magical?

Perhaps a new setting list `-sBLEEDING_EDGE_VM_SUPPORT_ONLY`.. i can't think if a good/short name for that though.

Contributor guide

Open the contributing guide

Research direction

Start by locating the configuration handling for LEGACY_VM_SUPPORT and the MIN_CHROME_VERSION and related settings. Compare the current behavior when LEGACY_VM_SUPPORT is disabled with the requested current-browser-only behavior, then establish the setting name and exact version semantics before implementation; the issue names no test or file.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, wasm
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.