From 7b66f6e1b9c2c75c8a08bd43025a95c093822bad Mon Sep 17 00:00:00 2001 From: Ryan Lester Date: Mon, 19 Jun 2017 15:14:11 -0400 Subject: [PATCH] deprecate MEM_INIT_METHOD 2 (#5296) --- src/settings.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/settings.js b/src/settings.js index cee0a46e83684..0021a926756f1 100644 --- a/src/settings.js +++ b/src/settings.js @@ -51,7 +51,10 @@ var MEM_INIT_METHOD = 0; // How to represent the initial memory content. // 1: create a *.mem file containing the binary data of the initial memory; // use the --memory-init-file command line switch to select this method // 2: embed a string literal representing that initial memory data - // XXX this is known to have bugs on windows, see https://github.com/kripken/emscripten/pull/3326 + // XXX this is known to have bugs on windows, see https://github.com/kripken/emscripten/pull/3326; + // due to mode 0's recent upgrade to space-efficient base64 encoding + // and the long-standing issues with this mode, this mode is now + // deprecated in favor of mode 0 var TOTAL_STACK = 5*1024*1024; // The total stack size. There is no way to enlarge the stack, so this // value must be large enough for the program's requirements. If // assertions are on, we will assert on not exceeding this, otherwise,