6.0.6

emscripten-core/emscripten6.0.6Aug 5, 2026by emscripten-bot

Upgrading?

AI Summary

Emscripten 6.0.6 modifies the default linker behavior by disabling `DEFAULT_TO_CXX`, now requiring `em++` to be explicitly used for C++ programs. The release also updates the standard C++ libraries to LLVM 22.1.8 and introduces new Meson cross-compilation configuration files.

Key Highlights

  • Disabled `DEFAULT_TO_CXX` by default, requiring `em++` for C++ programs
  • Added Meson cross-compilation files (`wasm32-emscripten.ini` and `wasm64-emscripten.ini`)
  • Updated libcxx and libcxxabi to LLVM 22.1.8

Breaking Changes

  • `DEFAULT_TO_CXX` is now disabled by default, requiring `em++` to be used for linking C++ programs

New Features

  • Meson cross-compilation configuration files (`wasm32-emscripten.ini` and `wasm64-emscripten.ini`)

Full Release Notes

## What's Changed
- `DEFAULT_TO_CXX` is now disabled by default. This means that `em++` is now
  required when linking C++ programs, matching the behavior of clang and gcc.
  The old behavior is still available using `-sDEFAULT_TO_CXX`. (#11121)
- Added example Meson cross compilation files (`wasm32-emscripten.ini` and
  `wasm64-emscripten.ini`) in `tools/meson/`. (#27478)
- libcxx and libcxxabi were updated to LLVM 22.1.8. (#27428)


## Contributors
Thanks to the following contributors: @sbc100 (29) @aheejin (6) @guybedford (2) @tlively (1)

**Full Changelog**: https://github.com/emscripten-core/emscripten/compare/6.0.5...6.0.6

Related Repositories