Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 1d0cef7

Browse files
committed
chore(compiler): rebuild wasm
1 parent 1b6b457 commit 1d0cef7

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

compiler/dist/wasm-checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const checksum = "305b2a01080197af1e73326b990e569c4d1aed9b";
1+
export const checksum = "5326c532a40ed36751b42c6bb2daba66ef823d14";

compiler/dist/wasm-pack.js

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,35 @@ function addHeapObject(obj) {
119119
heap[idx] = obj;
120120
return idx;
121121
}
122+
/**
123+
* @param {string} url
124+
* @param {string} code
125+
* @param {any} options
126+
* @returns {any}
127+
*/
128+
export function parseExportNamesSync(url, code, options) {
129+
var ptr0 = passStringToWasm0(
130+
url,
131+
wasm.__wbindgen_malloc,
132+
wasm.__wbindgen_realloc,
133+
);
134+
var len0 = WASM_VECTOR_LEN;
135+
var ptr1 = passStringToWasm0(
136+
code,
137+
wasm.__wbindgen_malloc,
138+
wasm.__wbindgen_realloc,
139+
);
140+
var len1 = WASM_VECTOR_LEN;
141+
var ret = wasm.parseExportNamesSync(
142+
ptr0,
143+
len0,
144+
ptr1,
145+
len1,
146+
addHeapObject(options),
147+
);
148+
return takeObject(ret);
149+
}
150+
122151
/**
123152
* @param {string} url
124153
* @param {string} code
@@ -174,7 +203,7 @@ async function load(module, imports) {
174203

175204
async function init(input) {
176205
if (typeof input === "undefined") {
177-
input = import.meta.url.replace(/\.js$/, "_bg.wasm");
206+
input = new URL("aleph_compiler_bg.wasm", import.meta.url);
178207
}
179208
const imports = {};
180209
imports.wbg = {};

compiler/dist/wasm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)