See https://github.com/emscripten-core/emscripten/pull/15992#issuecomment-1011619170