String _getLibName()

in wasm/lib/src/runtime.dart [100:106]


String _getLibName() {
  if (Platform.isMacOS) return appleLib;
  if (Platform.isLinux || Platform.isAndroid) return linuxLib;
  if (Platform.isWindows) return windowsLib;
  // TODO(dartbug.com/37882): Support more platforms.
  throw WasmError('Wasm not currently supported on this platform');
}