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

Method get_runtime_paths

test/test_other.py:2437–2440  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

2435 self.run_js('a.out.js')
2436
2437 def get_runtime_paths(path):
2438 with webassembly.Module(path) as module:
2439 dylink_section = module.parse_dylink_section()
2440 return dylink_section.runtime_paths
2441
2442 self.assertEqual(get_runtime_paths('libside2.so'), [])
2443 self.assertEqual(get_runtime_paths('libside1.so'), ['$ORIGIN'])

Callers

nothing calls this directly

Calls 1

parse_dylink_sectionMethod · 0.80

Tested by

no test coverage detected