runmat 0.2.16 → 0.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/artifacts/stdlib.snapshot +0 -0
- package/dist/lsp/runmat_lsp.d.ts +2 -2
- package/dist/lsp/runmat_lsp.js +4 -4
- package/dist/lsp/runmat_lsp_bg.wasm +0 -0
- package/dist/lsp/runmat_lsp_bg.wasm.d.ts +2 -2
- package/dist/pkg/runmat_wasm_bg.js +7 -7
- package/dist/pkg/runmat_wasm_bg.wasm +0 -0
- package/dist/pkg/runmat_wasm_bg.wasm.d.ts +3 -3
- package/dist/pkg-web/runmat_wasm_web.d.ts +3 -3
- package/dist/pkg-web/runmat_wasm_web.js +7 -7
- package/dist/pkg-web/runmat_wasm_web_bg.wasm +0 -0
- package/dist/pkg-web/runmat_wasm_web_bg.wasm.d.ts +3 -3
- package/dist/runtime/stdlib.snapshot +0 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -77,7 +77,7 @@ When calling `initRunMat`, pass a `snapshot` object to control how the initial w
|
|
|
77
77
|
```ts
|
|
78
78
|
await initRunMat({
|
|
79
79
|
snapshot: {
|
|
80
|
-
url: "https://cdn.runmat.
|
|
80
|
+
url: "https://cdn.runmat.com/snapshots/core.bin"
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
```
|
|
@@ -226,4 +226,4 @@ If the shared WebGPU device is unavailable (adapter blocked, user disables GPU,
|
|
|
226
226
|
|
|
227
227
|
### Language compatibility mode
|
|
228
228
|
|
|
229
|
-
At runtime you can flip language compatibility mode without reinitializing via `session.setLanguageCompat("strict")` or `"matlab"`.
|
|
229
|
+
At runtime you can flip language compatibility mode without reinitializing via `session.setLanguageCompat("strict")` or `"matlab"`.
|
|
Binary file
|
package/dist/lsp/runmat_lsp.d.ts
CHANGED
|
@@ -42,8 +42,8 @@ export interface InitOutput {
|
|
|
42
42
|
readonly __wbindgen_export_4: WebAssembly.Table;
|
|
43
43
|
readonly __wbindgen_export_5: WebAssembly.Table;
|
|
44
44
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
45
|
+
readonly closure2811_externref_shim: (a: number, b: number, c: any) => void;
|
|
46
|
+
readonly closure2833_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
47
47
|
readonly __wbindgen_start: () => void;
|
|
48
48
|
}
|
|
49
49
|
|
package/dist/lsp/runmat_lsp.js
CHANGED
|
@@ -405,11 +405,11 @@ export function setCompatMode(mode) {
|
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
function __wbg_adapter_32(arg0, arg1, arg2) {
|
|
408
|
-
wasm.
|
|
408
|
+
wasm.closure2811_externref_shim(arg0, arg1, arg2);
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
function __wbg_adapter_120(arg0, arg1, arg2, arg3) {
|
|
412
|
-
wasm.
|
|
412
|
+
wasm.closure2833_externref_shim(arg0, arg1, arg2, arg3);
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
const __wbindgen_enum_XmlHttpRequestResponseType = ["", "arraybuffer", "blob", "document", "json", "text"];
|
|
@@ -685,8 +685,8 @@ function __wbg_get_imports() {
|
|
|
685
685
|
const ret = false;
|
|
686
686
|
return ret;
|
|
687
687
|
};
|
|
688
|
-
imports.wbg.
|
|
689
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
688
|
+
imports.wbg.__wbindgen_closure_wrapper10413 = function(arg0, arg1, arg2) {
|
|
689
|
+
const ret = makeMutClosure(arg0, arg1, 2812, __wbg_adapter_32);
|
|
690
690
|
return ret;
|
|
691
691
|
};
|
|
692
692
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -23,6 +23,6 @@ export const __externref_table_alloc: () => number;
|
|
|
23
23
|
export const __wbindgen_export_4: WebAssembly.Table;
|
|
24
24
|
export const __wbindgen_export_5: WebAssembly.Table;
|
|
25
25
|
export const __externref_table_dealloc: (a: number) => void;
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
26
|
+
export const closure2811_externref_shim: (a: number, b: number, c: any) => void;
|
|
27
|
+
export const closure2833_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
28
28
|
export const __wbindgen_start: () => void;
|
|
@@ -571,15 +571,15 @@ export function initRunMat(options) {
|
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
574
|
-
wasm.
|
|
574
|
+
wasm.closure5854_externref_shim(arg0, arg1, arg2);
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
578
|
-
wasm.
|
|
578
|
+
wasm.closure5860_externref_shim(arg0, arg1, arg2);
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
function __wbg_adapter_561(arg0, arg1, arg2, arg3) {
|
|
582
|
-
wasm.
|
|
582
|
+
wasm.closure5904_externref_shim(arg0, arg1, arg2, arg3);
|
|
583
583
|
}
|
|
584
584
|
|
|
585
585
|
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
@@ -2092,13 +2092,13 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
2092
2092
|
return ret;
|
|
2093
2093
|
};
|
|
2094
2094
|
|
|
2095
|
-
export function
|
|
2096
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2095
|
+
export function __wbindgen_closure_wrapper17788(arg0, arg1, arg2) {
|
|
2096
|
+
const ret = makeMutClosure(arg0, arg1, 5855, __wbg_adapter_54);
|
|
2097
2097
|
return ret;
|
|
2098
2098
|
};
|
|
2099
2099
|
|
|
2100
|
-
export function
|
|
2101
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2100
|
+
export function __wbindgen_closure_wrapper18204(arg0, arg1, arg2) {
|
|
2101
|
+
const ret = makeMutClosure(arg0, arg1, 5861, __wbg_adapter_57);
|
|
2102
2102
|
return ret;
|
|
2103
2103
|
};
|
|
2104
2104
|
|
|
Binary file
|
|
@@ -61,7 +61,7 @@ export const __wbindgen_export_4: WebAssembly.Table;
|
|
|
61
61
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
62
62
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
63
63
|
export const __externref_table_dealloc: (a: number) => void;
|
|
64
|
-
export const
|
|
65
|
-
export const
|
|
66
|
-
export const
|
|
64
|
+
export const closure5854_externref_shim: (a: number, b: number, c: any) => void;
|
|
65
|
+
export const closure5860_externref_shim: (a: number, b: number, c: any) => void;
|
|
66
|
+
export const closure5904_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
67
67
|
export const __wbindgen_start: () => void;
|
|
@@ -123,9 +123,9 @@ export interface InitOutput {
|
|
|
123
123
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
124
124
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
125
125
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
126
|
-
readonly
|
|
127
|
-
readonly
|
|
128
|
-
readonly
|
|
126
|
+
readonly closure5854_externref_shim: (a: number, b: number, c: any) => void;
|
|
127
|
+
readonly closure5860_externref_shim: (a: number, b: number, c: any) => void;
|
|
128
|
+
readonly closure5904_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
129
129
|
readonly __wbindgen_start: () => void;
|
|
130
130
|
}
|
|
131
131
|
|
|
@@ -563,15 +563,15 @@ export function initRunMat(options) {
|
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
566
|
-
wasm.
|
|
566
|
+
wasm.closure5854_externref_shim(arg0, arg1, arg2);
|
|
567
567
|
}
|
|
568
568
|
|
|
569
569
|
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
570
|
-
wasm.
|
|
570
|
+
wasm.closure5860_externref_shim(arg0, arg1, arg2);
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
function __wbg_adapter_561(arg0, arg1, arg2, arg3) {
|
|
574
|
-
wasm.
|
|
574
|
+
wasm.closure5904_externref_shim(arg0, arg1, arg2, arg3);
|
|
575
575
|
}
|
|
576
576
|
|
|
577
577
|
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
@@ -1863,12 +1863,12 @@ function __wbg_get_imports() {
|
|
|
1863
1863
|
const ret = false;
|
|
1864
1864
|
return ret;
|
|
1865
1865
|
};
|
|
1866
|
-
imports.wbg.
|
|
1867
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1866
|
+
imports.wbg.__wbindgen_closure_wrapper17788 = function(arg0, arg1, arg2) {
|
|
1867
|
+
const ret = makeMutClosure(arg0, arg1, 5855, __wbg_adapter_54);
|
|
1868
1868
|
return ret;
|
|
1869
1869
|
};
|
|
1870
|
-
imports.wbg.
|
|
1871
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1870
|
+
imports.wbg.__wbindgen_closure_wrapper18204 = function(arg0, arg1, arg2) {
|
|
1871
|
+
const ret = makeMutClosure(arg0, arg1, 5861, __wbg_adapter_57);
|
|
1872
1872
|
return ret;
|
|
1873
1873
|
};
|
|
1874
1874
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
Binary file
|
|
@@ -61,7 +61,7 @@ export const __wbindgen_export_4: WebAssembly.Table;
|
|
|
61
61
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
62
62
|
export const __wbindgen_export_6: WebAssembly.Table;
|
|
63
63
|
export const __externref_table_dealloc: (a: number) => void;
|
|
64
|
-
export const
|
|
65
|
-
export const
|
|
66
|
-
export const
|
|
64
|
+
export const closure5854_externref_shim: (a: number, b: number, c: any) => void;
|
|
65
|
+
export const closure5860_externref_shim: (a: number, b: number, c: any) => void;
|
|
66
|
+
export const closure5904_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
67
67
|
export const __wbindgen_start: () => void;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "runmat",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"description": "Blazing fast runtime for math. Run MATLAB code on CPU or GPU.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN ../../LICENSE.md",
|
|
7
|
-
"homepage": "https://runmat.
|
|
7
|
+
"homepage": "https://runmat.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/runmat-org/runmat"
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
"build:wasm:web": "wasm-pack build ../../crates/runmat-wasm --target web --out-dir ../../bindings/ts/pkg-web --out-name runmat_wasm_web --release",
|
|
39
39
|
"build:lsp": "wasm-pack build ../../crates/runmat-lsp --target web --out-dir ../../bindings/ts/lsp-web --out-name runmat_lsp --release -- --no-default-features --features wasm",
|
|
40
40
|
"build:types": "tsc -p tsconfig.json",
|
|
41
|
-
"build": "
|
|
41
|
+
"build:snapshot": "mkdir -p artifacts && cargo run -p runmat -- snapshot create -o artifacts/stdlib.snapshot",
|
|
42
|
+
"build": "npm run clean && npm run build:registry && npm run build:wasm && npm run build:wasm:web && npm run build:lsp && npm run build:types && npm run build:snapshot && npm run sync:wasm",
|
|
42
43
|
"ci": "npm run build && npm run lint && npm test && cargo check -p runmat-wasm --target wasm32-unknown-unknown",
|
|
43
44
|
"lint": "tsc --noEmit",
|
|
44
45
|
"test": "vitest run",
|