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

Method get_base_name

tools/system_libs.py:813–824  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

811 return cflags
812
813 def get_base_name(self):
814 name = super().get_base_name()
815 # TODO Currently emscripten-based exception is the default mode, thus no
816 # suffixes. Change the default to wasm exception later.
817 match self.eh_mode:
818 case Exceptions.NONE:
819 name += '-noexcept'
820 case Exceptions.WASM_LEGACY:
821 name += '-legacyexcept'
822 case Exceptions.WASM:
823 name += '-wasmexcept'
824 return name
825
826 @classmethod
827 def variations(cls):

Callers

nothing calls this directly

Calls 1

get_base_nameMethod · 0.45

Tested by

no test coverage detected