Add an option to control binaryen validation, and turn it off by default (except in EMCC_DEBUG)
4 files changed
tree: f9edb7e4944a87679813479002dd2241d7e159e2
  1. .circleci/
  2. .github/
  3. cmake/
  4. docs/
  5. media/
  6. site/
  7. src/
  8. system/
  9. tests/
  10. third_party/
  11. tools/
  12. .clang-format
  13. .editorconfig
  14. .eslintrc.yml
  15. .flake8
  16. .gitattributes
  17. .gitignore
  18. .gitmodules
  19. .style.yapf
  20. AUTHORS
  21. ChangeLog.md
  22. CONTRIBUTING.md
  23. em++
  24. em++.bat
  25. em++.py
  26. em-config
  27. em-config.bat
  28. em-config.py
  29. emar
  30. emar.bat
  31. emar.py
  32. embuilder
  33. embuilder.bat
  34. embuilder.py
  35. emcc
  36. emcc.bat
  37. emcc.py
  38. emcmake
  39. emcmake.bat
  40. emcmake.py
  41. emconfigure
  42. emconfigure.bat
  43. emconfigure.py
  44. emmake
  45. emmake.bat
  46. emmake.py
  47. emranlib
  48. emranlib.bat
  49. emranlib.py
  50. emrun
  51. emrun.bat
  52. emrun.py
  53. emscons
  54. emscons.bat
  55. emscons.py
  56. emscripten-version.txt
  57. emscripten.py
  58. emsize
  59. emsize.bat
  60. emsize.py
  61. LICENSE
  62. Makefile
  63. package-lock.json
  64. package.json
  65. README.md
  66. requirements-dev.txt
README.md

emscripten logo

Main project page: https://emscripten.org

GitHub CI status: CircleCI

Chromium builder status: emscripten-releases

Overview

Emscripten compiles C and C++ to WebAssembly using LLVM and Binaryen. Emscripten output can run on the Web, in Node.js, and in wasm runtimes.

Emscripten provides Web support for popular portable APIs such as OpenGL and SDL2, allowing complex graphical native applications to be ported, such as the Unity game engine and Google Earth. It can probably port your codebase, too!

While Emscripten mostly focuses on compiling C and C++ using Clang, it can be integrated with other LLVM-using compilers (for example, Rust has Emscripten integration, with the wasm32-unknown-emscripten and asmjs-unknown-emscripten targets).

License

Emscripten is available under 2 licenses, the MIT license and the University of Illinois/NCSA Open Source License.

Both are permissive open source licenses, with little if any practical difference between them.

The reason for offering both is that (1) the MIT license is well-known and suitable for a compiler toolchain, while (2) LLVM‘s original license, the University of Illinois/NCSA Open Source License, was also offered to allow Emscripten’s code to be integrated upstream into LLVM. The second reason became less important after Emscripten switched to the LLVM wasm backend, at which point there isn't any code we expect to move back and forth between the projects; also, LLVM relicensed to Apache 2.0 + exceptions meanwhile. In practice you can just consider Emscripten as MIT licensed (which allows you to do pretty much anything you want with a compiler, including commercial and non-commercial use).

See LICENSE for the full content of the licenses.