String _getLibPath()

in wasm/lib/src/runtime.dart [113:120]


String _getLibPath() {
  if (Platform.isAndroid) return _getLibName();
  var path = _getLibPathFrom(Platform.script.resolve('./'));
  if (path != null) return path;
  path = _getLibPathFrom(Directory.current.uri);
  if (path != null) return path;
  throw WasmError('Wasm library not found. Did you `$invocationString`?');
}