Sha256: 60887514d0e60fa662b3b3a647d16c370cea61c1784a003bda8e1dd470a781b9
Contents?: true
Size: 658 Bytes
Versions: 3
Compression:
Stored size: 658 Bytes
Contents
#!/usr/bin/env python2 ''' Fast static linker for emscripten outputs. Specifically this links asm.js modules. See https://github.com/kripken/emscripten/wiki/Linking ''' import sys from tools import shared from tools.asm_module import AsmModule def run(): try: me, main, side, out = sys.argv[:4] except: print >> sys.stderr, 'usage: emlink.py [main module] [side module] [output name]' 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()
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
webruby-0.2.7 | modules/emscripten/emlink.py |
webruby-0.2.5 | modules/emscripten/emlink.py |
webruby-0.2.4 | modules/emscripten/emlink.py |