Backed out 2 changesets (bug 1605215) for perma fails on test_emitter.py. CLOSED TREE

Backed out changeset 2e26df04968e (bug 1605215)
Backed out changeset de5881f3d6ce (bug 1605215)
This commit is contained in:
Razvan Maries 2019-12-19 23:36:43 +02:00
Родитель 4200948394
Коммит eef36cc7e7
2 изменённых файлов: 0 добавлений и 19 удалений

Просмотреть файл

@ -24,13 +24,6 @@ endif
INSTALL_TARGETS += SHARED_LIBRARY
endif # SHARED_LIBRARY
ifdef WASM_LIBRARY
WASM_LIBRARY_FILES = $(WASM_LIBRARY)
WASM_LIBRARY_DEST ?= $(FINAL_TARGET)
WASM_LIBRARY_TARGET = target
INSTALL_TARGETS += WASM_LIBRARY
endif
ifneq (,$(strip $(HOST_SIMPLE_PROGRAMS)))
HOST_PROGRAMS_EXECUTABLES = $(HOST_SIMPLE_PROGRAMS) $(HOST_RUST_PROGRAMS)
HOST_PROGRAMS_DEST ?= $(DIST)/host/bin

Просмотреть файл

@ -679,18 +679,6 @@ class SandboxedWasmLibrary(Library):
def __init__(self, context, basename, real_name=None):
Library.__init__(self, context, basename, real_name)
# TODO: WASM sandboxed libraries are in a weird place: they are
# built in a different way, but they should share some code with
# SharedLibrary. This is the minimal configuration needed to work
# with Linux, but it would need to be extended for other platforms.
assert context.config.substs['OS_TARGET'] == 'Linux'
self.lib_name = '%s%s%s' % (
context.config.dll_prefix,
real_name or basename,
context.config.dll_suffix,
)
def _obj_suffix(self):
"""Can be overridden by a base class for custom behavior."""
return self.config.substs.get('WASM_OBJ_SUFFIX', '')