Skip to content

7.0.2

Latest

Choose a tag to compare

@emscripten-bot emscripten-bot released this 06 Dec 01:06
c2d8bae

What's Changed

  • Removed built-in SCons support (emscons and tools/scons), which was
    deprecated in 6.0.11 (#27848). Projects using SCons with Emscripten can
    configure CC, CXX, AR, and RANLIB directly to use emcc, em++,
    emar, and emranlib. (See #27835)
  • The WebGL extensions EXT_render_snorm, EXT_texture_mirror_clamp_to_edge,
    OES_sample_variables, OES_shader_multisample_interpolation,
    WEBGL_compressed_texture_pvrtc, WEBGL_render_shared_exponent and
    WEBGL_stencil_texturing are now enabled automatically at context creation
    and advertised in the GL_EXTENSIONS string, like the other supported
    extensions. Previously they could only be enabled by calling
    emscripten_webgl_enable_extension() explicitly. (#28372)
  • -jsDFOO=0 and -jsDFOO=false now pass FOO to JS library code as false
    rather than as the truthy strings '0' and 'false', so that #if FOO is
    false. Other values are still passed as strings. (#28364)
  • The desktop OpenGL functions glClearDepth() and glDepthRange() were
    misplaced and linked as part of WebGL and GLES2/3 targeting builds. They
    are now moved correctly into -sLEGACY_GL_EMULATION mode. In GLES and WebGL,
    use the correct API functions glClearDepthf() and glDepthRangef() instead.
    (#28379)
  • mimalloc was updated to 3.7.1. (#28399)
  • The --emrun linker flag can again be used together with -sEXIT_RUNTIME=0,
    which was made an error in 3.1.74. --emrun still enables EXIT_RUNTIME by
    default, but if it is explicitly disabled, the runtime is now kept alive
    after main() returns. emrun then captures stdout and stderr as
    before, but the page does not report an exit code to it. (#28407)

Contributors

Thanks to the following contributors: @juj (123) @sbc100 (23) @ryanking13 (4) @brendandahl (2) @b1ink0 (1) @blackbird-aslough (1) @clementperon (1) @dschuff (1) @kleisauke (1)

New Contributors

Full Changelog: 7.0.1...7.0.2