6.0.12

droidrun/mobilerun6.0.12Oct 8, 2026by emscripten-bot

Upgrading?

AI Summary

This release focuses on memory management improvements and introduces new system-level event listeners for Emscripten. It also updates how memory limits are honored when importing memory.

Key Highlights

  • Added experimental `emscripten_epoll_listener_add` and `emscripten_epoll_listener_remove` in `<emscripten/epoll.h>`.
  • The `MAXIMUM_MEMORY` setting is now properly honored with `IMPORTED_MEMORY` even without `ALLOW_MEMORY_GROWTH`.
  • Deprecated `getInheritedInstanceCount` and `getLiveInheritedInstances` library functions.

New Features

  • Experimental epoll listeners for main thread event delivery

Full Release Notes

## What's Changed
- The embind library functions `getInheritedInstanceCount` and
  `getLiveInheritedInstances` were marked as deprecated. (#27899)
- `MAXIMUM_MEMORY` is now honored with `IMPORTED_MEMORY` even without
  `ALLOW_MEMORY_GROWTH`: the module accepts an imported memory of any size up to
  the maximum, but never grows it. Previously the maximum was ignored, with a
  warning, and only a memory of exactly `INITIAL_MEMORY` was accepted.
  (#27859)
- Added experimental `emscripten_epoll_listener_add` and
  `emscripten_epoll_listener_remove` in the new `<emscripten/epoll.h>`. These
  listeners deliver an epoll set's readiness to a callback, supported on the
  main thread only. The callback itself is then able to collect the events via
  a zero-timeout `epoll_wait`, without an `ASYNCIFY`/`JSPI` requirement.
  (#27547)


## Contributors
Thanks to the following contributors: @sbc100 (31) @Benedikt-Brunner (2) @guybedford (2) @JosepMariaBlasco (2) @tomayac (2) @brendandahl (1) @hoodmane (1) @JulesPatmanidis (1) @typedrat (1)

## New Contributors
* @Benedikt-Brunner made their first contribution in https://github.com/emscripten-core/emscripten/pull/27861
* @JosepMariaBlasco made their first contribution in https://github.com/emscripten-core/emscripten/pull/27890

**Full Changelog**: https://github.com/emscripten-core/emscripten/compare/6.0.11...6.0.12

Related Repositories