[wasm] Use INITIAL_MEMORY instead of TOTAL_MEMORY (#65790)
authorRadek Doulik <radekdoulik@gmail.com>
Fri, 4 Mar 2022 19:36:48 +0000 (20:36 +0100)
committerGitHub <noreply@github.com>
Fri, 4 Mar 2022 19:36:48 +0000 (14:36 -0500)
commit94b830f2a8599ea44e719d23f2132069a02bbc44
tree384c4118f727793e76d65d5944f655f11c4cb06f
parent8d418afe1bfd84edb227eaf170a077d667e468e3
[wasm] Use INITIAL_MEMORY instead of TOTAL_MEMORY (#65790)

* [wasm] Use INITIAL_MEMORY instead of TOTAL_MEMORY

It was renamed in emscripten 1.39.9:

    - Rename `TOTAL_MEMORY` to `INITIAL_MEMORY` and `WASM_MEM_MAX` to `MAXIMUM_MEMORY`,
      which are more accurate and match wasm conventions. The old names are still
      supported as aliases.

* Add EmccInitialMemory property
src/mono/wasm/build/WasmApp.Native.targets
src/mono/wasm/build/WasmApp.targets