MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / get_default_variation

Method get_default_variation

tools/system_libs.py:835–845  ·  view source on GitHub ↗
(cls, **kwargs)

Source from the content-addressed store, hash-verified

833
834 @classmethod
835 def get_default_variation(cls, **kwargs):
836 if settings.WASM_EXCEPTIONS:
837 if settings.WASM_LEGACY_EXCEPTIONS:
838 eh_mode = Exceptions.WASM_LEGACY
839 else:
840 eh_mode = Exceptions.WASM
841 elif settings.DISABLE_EXCEPTION_CATCHING == 1:
842 eh_mode = Exceptions.NONE
843 else:
844 eh_mode = Exceptions.EMSCRIPTEN
845 return super().get_default_variation(eh_mode=eh_mode, **kwargs)
846
847
848class SjLjLibrary(Library):

Callers

nothing calls this directly

Calls 1

get_default_variationMethod · 0.45

Tested by

no test coverage detected