Emscripten: Drop unused, deprecated EXPORTED_RUNTIME_METHODS
commit78c613d7df5138f7da9132a6e4aabb1e78321e90
authorStephan Bergmann <stephan.bergmann@allotropia.de>
Fri, 19 Apr 2024 10:31:42 +0000 (19 12:31 +0200)
committerStephan Bergmann <stephan.bergmann@allotropia.de>
Fri, 19 Apr 2024 19:21:24 +0000 (19 21:21 +0200)
treeec47f48a2ee3e5fafc31d676e951a9304f4d55c6
parent1c81f63e91d39187748ea070d064e996481dbd3d
Emscripten: Drop unused, deprecated EXPORTED_RUNTIME_METHODS

Linking Executable/soffice.html kept warning about

> warning: JS library symbol '$allocateUTF8' is deprecated. Please open a bug if you have a continuing need for this symbol [-Wdeprecated]
> warning: deprecated item in EXPORTED_RUNTIME_METHODS: printErr use err instead.
> em++: warning: warnings in JS library compilation [-Wjs-compiler]

printErr had been introduced in f090004c5f236275ca5142fc578f0375872c0336 "WASM
adapt link and debug flags" and allocateUTF8 had been introduced in
ce60a3dd4dbff0dcb5b82c9053ae5d90f8ac929d "Add LOKit functions and whitelist
export for it to WASM", but in both cases no code seems to ever have made use of
either of those two methods, before or after.

Change-Id: I1e81ca6ddad748d91653f709c272328cc8f2b679
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166296
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk