You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var libName = pkgName.replaceAll('-', '_') + '.wasm';
57
+
if (!(libName in LDSO.loadedLibsByName)) {
58
+
// Always print to console, avoid problems with automatic error suppression.
59
+
console.error(`gdext could not find the Wasm module '${libName}', needed to load the '${pkgName}' crate's GDExtension. Please ensure a file named '${libName}' exists in the game's web export files.`);
60
+
throw new Error(`Wasm module '${libName}' not found.`);
61
+
}
57
62
var dso = LDSO.loadedLibsByName[libName];
58
63
// This property was renamed as of emscripten 3.1.34
59
64
var dso_exports = "module" in dso ? dso["module"] : dso["exports"];
0 commit comments