代码拉取完成,页面将自动刷新
#!/usr/bin/env python3
# Copyright 2013 The Emscripten Authors. All rights reserved.
# Emscripten is available under two separate licenses, the MIT license and the
# University of Illinois/NCSA Open Source License. Both these licenses can be
# found in the LICENSE file.
"""Fast static linker for emscripten outputs. Specifically this links asm.js modules.
See https://github.com/emscripten-core/emscripten/wiki/Linking
"""
from __future__ import print_function
import sys
from tools import shared
from tools.asm_module import AsmModule
def run():
try:
me, main, side, out = sys.argv[:4]
except ValueError:
print('usage: emlink.py [main module] [side module] [output name]', file=sys.stderr)
sys.exit(1)
print('Main module:', main)
print('Side module:', side)
print('Output:', out)
shared.try_delete(out)
main = AsmModule(main)
side = AsmModule(side)
side.relocate_into(main)
main.write(out)
if __name__ == '__main__':
run()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。