Repository navigation
Conversation
|
Maybe we could land this in the short term to make This also would have the help that it skips the multithreading tests on my CI for the time being, so I can separate other remaining Chrome test failures better. |
sbc100
left a comment
There was a problem hiding this comment.
I do like this idea.
My only concern would be for any folks out there that are actually deploying multi-threaded apps today and hoping to target these engines. How broke would they be today already? i.e. would these programs already be completely unusable on chrome < 115?
On my CI I have Chrome 113 as the oldest tested one, and it is failing several dozen multithreaded tests due to this issue. The general impression I get is that it'd be pretty bad. But I think it could also depend on the expected return value from certain waits, since some of the registers get reset to zero. So some multithreaded content gets lucky. This PR doesn't actually prevent people from running the output on old Chrome, if they so wish. Just that the min version auto-bump will trigger, and my CI will autoskip those failing MT tests. |
|
Even if we land this now, someone could still later work on patching up older Chromes (e.g. via a Binaryen outlining pass), and then relax the requirement that this is imposing. |
This almost true but not quite, since: (a) Debug builds would assert on startup in
True. And I do think we should land this. I just want to check in with a few emscripten users to make sure nobody is currently depending on this working. I'd like to hear from @dschuff and @walkingeyerobot before landing.. |
Yeah, that's true. Indeed during development time that gate would trigger.. but for runtime release builds, those would be absent. |
|
This generally makes sense to me, but like @sbc100 I am a little concerned about existing users that have not been hurt by this, and that just want to keep shipping the same thing as before. If we can make this overrideable (explicit flags to ask for threads + older version makes it all work, no debug assertions etc.), that would be good? |
…minimum for multithreading
…minimum for multithreading
Require Chrome 115 and Node.js 21 as minimum for multithreading, to work around https://crbug.com/1432453.