@vercel/python-analysis 0.13.2 → 0.15.0
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/dist/index.cjs +29 -1
- package/dist/index.js +29 -1
- package/dist/manifest/pyproject/schema.zod.d.ts +35 -0
- package/dist/manifest/pyproject/types.d.ts +1 -0
- package/dist/wasm/interfaces/wasi-cli-environment.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-cli-exit.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-cli-stderr.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-cli-stdin.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-cli-stdout.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-cli-terminal-input.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-cli-terminal-output.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-cli-terminal-stderr.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-cli-terminal-stdin.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-cli-terminal-stdout.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-clocks-monotonic-clock.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-clocks-wall-clock.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-filesystem-preopens.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-filesystem-types.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-io-error.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-io-poll.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-io-streams.d.ts +1 -1
- package/dist/wasm/interfaces/wasi-random-insecure-seed.d.ts +1 -1
- package/dist/wasm/vercel_python_analysis.core.wasm +0 -0
- package/dist/wasm/vercel_python_analysis.core2.wasm +0 -0
- package/dist/wasm/vercel_python_analysis.core3.wasm +0 -0
- package/dist/wasm/vercel_python_analysis.d.ts +36 -36
- package/dist/wasm/vercel_python_analysis.js +76 -76
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1232,7 +1232,8 @@ var pyProjectDependencyGroupsSchema = import_zod4.z.record(
|
|
|
1232
1232
|
import_zod4.z.array(dependencyGroupEntrySchema)
|
|
1233
1233
|
);
|
|
1234
1234
|
var pyProjectToolVercelFastapiStaticSectionSchema = import_zod4.z.object({
|
|
1235
|
-
cdn: import_zod4.z.boolean().optional()
|
|
1235
|
+
cdn: import_zod4.z.boolean().optional(),
|
|
1236
|
+
exclude: import_zod4.z.boolean().optional()
|
|
1236
1237
|
});
|
|
1237
1238
|
var pyProjectToolVercelFastapiSectionSchema = import_zod4.z.object({
|
|
1238
1239
|
static: pyProjectToolVercelFastapiStaticSectionSchema.optional()
|
|
@@ -2017,8 +2018,35 @@ async function loadPythonManifest(root, prefix) {
|
|
|
2017
2018
|
}
|
|
2018
2019
|
}
|
|
2019
2020
|
}
|
|
2021
|
+
if (manifest != null) {
|
|
2022
|
+
normalizeDependencyGroups(manifest);
|
|
2023
|
+
}
|
|
2020
2024
|
return manifest;
|
|
2021
2025
|
}
|
|
2026
|
+
function normalizeDependencyGroups(manifest) {
|
|
2027
|
+
const groups = manifest.data["dependency-groups"];
|
|
2028
|
+
if (groups == null) {
|
|
2029
|
+
return;
|
|
2030
|
+
}
|
|
2031
|
+
const normalized = {};
|
|
2032
|
+
for (const [name, entries] of Object.entries(groups)) {
|
|
2033
|
+
const key = normalizePackageName(name);
|
|
2034
|
+
if (Object.prototype.hasOwnProperty.call(normalized, key)) {
|
|
2035
|
+
throw new PythonAnalysisError({
|
|
2036
|
+
message: `duplicate dependency group "${key}": group names must be unique after normalization`,
|
|
2037
|
+
code: "PYTHON_DUPLICATE_DEPENDENCY_GROUP",
|
|
2038
|
+
path: manifest.path
|
|
2039
|
+
});
|
|
2040
|
+
}
|
|
2041
|
+
normalized[key] = entries.map(
|
|
2042
|
+
(entry) => typeof entry === "string" ? entry : {
|
|
2043
|
+
...entry,
|
|
2044
|
+
"include-group": normalizePackageName(entry["include-group"])
|
|
2045
|
+
}
|
|
2046
|
+
);
|
|
2047
|
+
}
|
|
2048
|
+
manifest.data["dependency-groups"] = normalized;
|
|
2049
|
+
}
|
|
2022
2050
|
async function maybeLoadLockFile(root, subdir) {
|
|
2023
2051
|
const uvLockRelPath = import_node_path5.default.join(subdir, "uv.lock");
|
|
2024
2052
|
const uvLockPath = import_node_path5.default.join(root, uvLockRelPath);
|
package/dist/index.js
CHANGED
|
@@ -1146,7 +1146,8 @@ var pyProjectDependencyGroupsSchema = z4.record(
|
|
|
1146
1146
|
z4.array(dependencyGroupEntrySchema)
|
|
1147
1147
|
);
|
|
1148
1148
|
var pyProjectToolVercelFastapiStaticSectionSchema = z4.object({
|
|
1149
|
-
cdn: z4.boolean().optional()
|
|
1149
|
+
cdn: z4.boolean().optional(),
|
|
1150
|
+
exclude: z4.boolean().optional()
|
|
1150
1151
|
});
|
|
1151
1152
|
var pyProjectToolVercelFastapiSectionSchema = z4.object({
|
|
1152
1153
|
static: pyProjectToolVercelFastapiStaticSectionSchema.optional()
|
|
@@ -1931,8 +1932,35 @@ async function loadPythonManifest(root, prefix) {
|
|
|
1931
1932
|
}
|
|
1932
1933
|
}
|
|
1933
1934
|
}
|
|
1935
|
+
if (manifest != null) {
|
|
1936
|
+
normalizeDependencyGroups(manifest);
|
|
1937
|
+
}
|
|
1934
1938
|
return manifest;
|
|
1935
1939
|
}
|
|
1940
|
+
function normalizeDependencyGroups(manifest) {
|
|
1941
|
+
const groups = manifest.data["dependency-groups"];
|
|
1942
|
+
if (groups == null) {
|
|
1943
|
+
return;
|
|
1944
|
+
}
|
|
1945
|
+
const normalized = {};
|
|
1946
|
+
for (const [name, entries] of Object.entries(groups)) {
|
|
1947
|
+
const key = normalizePackageName(name);
|
|
1948
|
+
if (Object.prototype.hasOwnProperty.call(normalized, key)) {
|
|
1949
|
+
throw new PythonAnalysisError({
|
|
1950
|
+
message: `duplicate dependency group "${key}": group names must be unique after normalization`,
|
|
1951
|
+
code: "PYTHON_DUPLICATE_DEPENDENCY_GROUP",
|
|
1952
|
+
path: manifest.path
|
|
1953
|
+
});
|
|
1954
|
+
}
|
|
1955
|
+
normalized[key] = entries.map(
|
|
1956
|
+
(entry) => typeof entry === "string" ? entry : {
|
|
1957
|
+
...entry,
|
|
1958
|
+
"include-group": normalizePackageName(entry["include-group"])
|
|
1959
|
+
}
|
|
1960
|
+
);
|
|
1961
|
+
}
|
|
1962
|
+
manifest.data["dependency-groups"] = normalized;
|
|
1963
|
+
}
|
|
1936
1964
|
async function maybeLoadLockFile(root, subdir) {
|
|
1937
1965
|
const uvLockRelPath = path3.join(subdir, "uv.lock");
|
|
1938
1966
|
const uvLockPath = path3.join(root, uvLockRelPath);
|
|
@@ -197,56 +197,71 @@ export declare const pyProjectDependencyGroupsSchema: z.ZodRecord<z.ZodString, z
|
|
|
197
197
|
}>]>, "many">>;
|
|
198
198
|
export declare const pyProjectToolVercelFastapiStaticSectionSchema: z.ZodObject<{
|
|
199
199
|
cdn: z.ZodOptional<z.ZodBoolean>;
|
|
200
|
+
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
200
201
|
}, "strip", z.ZodTypeAny, {
|
|
201
202
|
cdn?: boolean | undefined;
|
|
203
|
+
exclude?: boolean | undefined;
|
|
202
204
|
}, {
|
|
203
205
|
cdn?: boolean | undefined;
|
|
206
|
+
exclude?: boolean | undefined;
|
|
204
207
|
}>;
|
|
205
208
|
export declare const pyProjectToolVercelFastapiSectionSchema: z.ZodObject<{
|
|
206
209
|
static: z.ZodOptional<z.ZodObject<{
|
|
207
210
|
cdn: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
208
212
|
}, "strip", z.ZodTypeAny, {
|
|
209
213
|
cdn?: boolean | undefined;
|
|
214
|
+
exclude?: boolean | undefined;
|
|
210
215
|
}, {
|
|
211
216
|
cdn?: boolean | undefined;
|
|
217
|
+
exclude?: boolean | undefined;
|
|
212
218
|
}>>;
|
|
213
219
|
}, "strip", z.ZodTypeAny, {
|
|
214
220
|
static?: {
|
|
215
221
|
cdn?: boolean | undefined;
|
|
222
|
+
exclude?: boolean | undefined;
|
|
216
223
|
} | undefined;
|
|
217
224
|
}, {
|
|
218
225
|
static?: {
|
|
219
226
|
cdn?: boolean | undefined;
|
|
227
|
+
exclude?: boolean | undefined;
|
|
220
228
|
} | undefined;
|
|
221
229
|
}>;
|
|
222
230
|
export declare const pyProjectToolVercelSectionSchema: z.ZodObject<{
|
|
223
231
|
fastapi: z.ZodOptional<z.ZodObject<{
|
|
224
232
|
static: z.ZodOptional<z.ZodObject<{
|
|
225
233
|
cdn: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
+
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
226
235
|
}, "strip", z.ZodTypeAny, {
|
|
227
236
|
cdn?: boolean | undefined;
|
|
237
|
+
exclude?: boolean | undefined;
|
|
228
238
|
}, {
|
|
229
239
|
cdn?: boolean | undefined;
|
|
240
|
+
exclude?: boolean | undefined;
|
|
230
241
|
}>>;
|
|
231
242
|
}, "strip", z.ZodTypeAny, {
|
|
232
243
|
static?: {
|
|
233
244
|
cdn?: boolean | undefined;
|
|
245
|
+
exclude?: boolean | undefined;
|
|
234
246
|
} | undefined;
|
|
235
247
|
}, {
|
|
236
248
|
static?: {
|
|
237
249
|
cdn?: boolean | undefined;
|
|
250
|
+
exclude?: boolean | undefined;
|
|
238
251
|
} | undefined;
|
|
239
252
|
}>>;
|
|
240
253
|
}, "strip", z.ZodTypeAny, {
|
|
241
254
|
fastapi?: {
|
|
242
255
|
static?: {
|
|
243
256
|
cdn?: boolean | undefined;
|
|
257
|
+
exclude?: boolean | undefined;
|
|
244
258
|
} | undefined;
|
|
245
259
|
} | undefined;
|
|
246
260
|
}, {
|
|
247
261
|
fastapi?: {
|
|
248
262
|
static?: {
|
|
249
263
|
cdn?: boolean | undefined;
|
|
264
|
+
exclude?: boolean | undefined;
|
|
250
265
|
} | undefined;
|
|
251
266
|
} | undefined;
|
|
252
267
|
}>;
|
|
@@ -376,30 +391,37 @@ export declare const pyProjectToolSectionSchema: z.ZodObject<{
|
|
|
376
391
|
fastapi: z.ZodOptional<z.ZodObject<{
|
|
377
392
|
static: z.ZodOptional<z.ZodObject<{
|
|
378
393
|
cdn: z.ZodOptional<z.ZodBoolean>;
|
|
394
|
+
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
379
395
|
}, "strip", z.ZodTypeAny, {
|
|
380
396
|
cdn?: boolean | undefined;
|
|
397
|
+
exclude?: boolean | undefined;
|
|
381
398
|
}, {
|
|
382
399
|
cdn?: boolean | undefined;
|
|
400
|
+
exclude?: boolean | undefined;
|
|
383
401
|
}>>;
|
|
384
402
|
}, "strip", z.ZodTypeAny, {
|
|
385
403
|
static?: {
|
|
386
404
|
cdn?: boolean | undefined;
|
|
405
|
+
exclude?: boolean | undefined;
|
|
387
406
|
} | undefined;
|
|
388
407
|
}, {
|
|
389
408
|
static?: {
|
|
390
409
|
cdn?: boolean | undefined;
|
|
410
|
+
exclude?: boolean | undefined;
|
|
391
411
|
} | undefined;
|
|
392
412
|
}>>;
|
|
393
413
|
}, "strip", z.ZodTypeAny, {
|
|
394
414
|
fastapi?: {
|
|
395
415
|
static?: {
|
|
396
416
|
cdn?: boolean | undefined;
|
|
417
|
+
exclude?: boolean | undefined;
|
|
397
418
|
} | undefined;
|
|
398
419
|
} | undefined;
|
|
399
420
|
}, {
|
|
400
421
|
fastapi?: {
|
|
401
422
|
static?: {
|
|
402
423
|
cdn?: boolean | undefined;
|
|
424
|
+
exclude?: boolean | undefined;
|
|
403
425
|
} | undefined;
|
|
404
426
|
} | undefined;
|
|
405
427
|
}>>;
|
|
@@ -435,6 +457,7 @@ export declare const pyProjectToolSectionSchema: z.ZodObject<{
|
|
|
435
457
|
fastapi?: {
|
|
436
458
|
static?: {
|
|
437
459
|
cdn?: boolean | undefined;
|
|
460
|
+
exclude?: boolean | undefined;
|
|
438
461
|
} | undefined;
|
|
439
462
|
} | undefined;
|
|
440
463
|
} | undefined;
|
|
@@ -470,6 +493,7 @@ export declare const pyProjectToolSectionSchema: z.ZodObject<{
|
|
|
470
493
|
fastapi?: {
|
|
471
494
|
static?: {
|
|
472
495
|
cdn?: boolean | undefined;
|
|
496
|
+
exclude?: boolean | undefined;
|
|
473
497
|
} | undefined;
|
|
474
498
|
} | undefined;
|
|
475
499
|
} | undefined;
|
|
@@ -733,30 +757,37 @@ export declare const pyProjectTomlSchema: z.ZodObject<{
|
|
|
733
757
|
fastapi: z.ZodOptional<z.ZodObject<{
|
|
734
758
|
static: z.ZodOptional<z.ZodObject<{
|
|
735
759
|
cdn: z.ZodOptional<z.ZodBoolean>;
|
|
760
|
+
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
736
761
|
}, "strip", z.ZodTypeAny, {
|
|
737
762
|
cdn?: boolean | undefined;
|
|
763
|
+
exclude?: boolean | undefined;
|
|
738
764
|
}, {
|
|
739
765
|
cdn?: boolean | undefined;
|
|
766
|
+
exclude?: boolean | undefined;
|
|
740
767
|
}>>;
|
|
741
768
|
}, "strip", z.ZodTypeAny, {
|
|
742
769
|
static?: {
|
|
743
770
|
cdn?: boolean | undefined;
|
|
771
|
+
exclude?: boolean | undefined;
|
|
744
772
|
} | undefined;
|
|
745
773
|
}, {
|
|
746
774
|
static?: {
|
|
747
775
|
cdn?: boolean | undefined;
|
|
776
|
+
exclude?: boolean | undefined;
|
|
748
777
|
} | undefined;
|
|
749
778
|
}>>;
|
|
750
779
|
}, "strip", z.ZodTypeAny, {
|
|
751
780
|
fastapi?: {
|
|
752
781
|
static?: {
|
|
753
782
|
cdn?: boolean | undefined;
|
|
783
|
+
exclude?: boolean | undefined;
|
|
754
784
|
} | undefined;
|
|
755
785
|
} | undefined;
|
|
756
786
|
}, {
|
|
757
787
|
fastapi?: {
|
|
758
788
|
static?: {
|
|
759
789
|
cdn?: boolean | undefined;
|
|
790
|
+
exclude?: boolean | undefined;
|
|
760
791
|
} | undefined;
|
|
761
792
|
} | undefined;
|
|
762
793
|
}>>;
|
|
@@ -792,6 +823,7 @@ export declare const pyProjectTomlSchema: z.ZodObject<{
|
|
|
792
823
|
fastapi?: {
|
|
793
824
|
static?: {
|
|
794
825
|
cdn?: boolean | undefined;
|
|
826
|
+
exclude?: boolean | undefined;
|
|
795
827
|
} | undefined;
|
|
796
828
|
} | undefined;
|
|
797
829
|
} | undefined;
|
|
@@ -827,6 +859,7 @@ export declare const pyProjectTomlSchema: z.ZodObject<{
|
|
|
827
859
|
fastapi?: {
|
|
828
860
|
static?: {
|
|
829
861
|
cdn?: boolean | undefined;
|
|
862
|
+
exclude?: boolean | undefined;
|
|
830
863
|
} | undefined;
|
|
831
864
|
} | undefined;
|
|
832
865
|
} | undefined;
|
|
@@ -902,6 +935,7 @@ export declare const pyProjectTomlSchema: z.ZodObject<{
|
|
|
902
935
|
fastapi?: {
|
|
903
936
|
static?: {
|
|
904
937
|
cdn?: boolean | undefined;
|
|
938
|
+
exclude?: boolean | undefined;
|
|
905
939
|
} | undefined;
|
|
906
940
|
} | undefined;
|
|
907
941
|
} | undefined;
|
|
@@ -977,6 +1011,7 @@ export declare const pyProjectTomlSchema: z.ZodObject<{
|
|
|
977
1011
|
fastapi?: {
|
|
978
1012
|
static?: {
|
|
979
1013
|
cdn?: boolean | undefined;
|
|
1014
|
+
exclude?: boolean | undefined;
|
|
980
1015
|
} | undefined;
|
|
981
1016
|
} | undefined;
|
|
982
1017
|
} | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @module Interface wasi:cli/environment@0.2.
|
|
1
|
+
/** @module Interface wasi:cli/environment@0.2.12 **/
|
|
2
2
|
export function getEnvironment(): Array<[string, string]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @module Interface wasi:clocks/monotonic-clock@0.2.
|
|
1
|
+
/** @module Interface wasi:clocks/monotonic-clock@0.2.12 **/
|
|
2
2
|
export function subscribeDuration(when: Duration): Pollable;
|
|
3
3
|
export type Duration = bigint;
|
|
4
4
|
export type Pollable = import('./wasi-io-poll.js').Pollable;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @module Interface wasi:io/streams@0.2.
|
|
1
|
+
/** @module Interface wasi:io/streams@0.2.12 **/
|
|
2
2
|
export type Error = import('./wasi-io-error.js').Error;
|
|
3
3
|
export type StreamError = StreamErrorLastOperationFailed | StreamErrorClosed;
|
|
4
4
|
export interface StreamErrorLastOperationFailed {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @module Interface wasi:random/insecure-seed@0.2.
|
|
1
|
+
/** @module Interface wasi:random/insecure-seed@0.2.12 **/
|
|
2
2
|
export function insecureSeed(): [bigint, bigint];
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -85,44 +85,44 @@ export interface ParsedRequirementsTxt {
|
|
|
85
85
|
noIndex: boolean,
|
|
86
86
|
}
|
|
87
87
|
import type * as VercelPythonAnalysisHostUtils from './interfaces/vercel-python-analysis-host-utils.js'; // vercel:python-analysis/host-utils
|
|
88
|
-
import type * as WasiCliEnvironment from './interfaces/wasi-cli-environment.js'; // wasi:cli/environment@0.2.
|
|
89
|
-
import type * as WasiCliExit from './interfaces/wasi-cli-exit.js'; // wasi:cli/exit@0.2.
|
|
90
|
-
import type * as WasiCliStderr from './interfaces/wasi-cli-stderr.js'; // wasi:cli/stderr@0.2.
|
|
91
|
-
import type * as WasiCliStdin from './interfaces/wasi-cli-stdin.js'; // wasi:cli/stdin@0.2.
|
|
92
|
-
import type * as WasiCliStdout from './interfaces/wasi-cli-stdout.js'; // wasi:cli/stdout@0.2.
|
|
93
|
-
import type * as WasiCliTerminalInput from './interfaces/wasi-cli-terminal-input.js'; // wasi:cli/terminal-input@0.2.
|
|
94
|
-
import type * as WasiCliTerminalOutput from './interfaces/wasi-cli-terminal-output.js'; // wasi:cli/terminal-output@0.2.
|
|
95
|
-
import type * as WasiCliTerminalStderr from './interfaces/wasi-cli-terminal-stderr.js'; // wasi:cli/terminal-stderr@0.2.
|
|
96
|
-
import type * as WasiCliTerminalStdin from './interfaces/wasi-cli-terminal-stdin.js'; // wasi:cli/terminal-stdin@0.2.
|
|
97
|
-
import type * as WasiCliTerminalStdout from './interfaces/wasi-cli-terminal-stdout.js'; // wasi:cli/terminal-stdout@0.2.
|
|
98
|
-
import type * as WasiClocksMonotonicClock from './interfaces/wasi-clocks-monotonic-clock.js'; // wasi:clocks/monotonic-clock@0.2.
|
|
99
|
-
import type * as WasiClocksWallClock from './interfaces/wasi-clocks-wall-clock.js'; // wasi:clocks/wall-clock@0.2.
|
|
100
|
-
import type * as WasiFilesystemPreopens from './interfaces/wasi-filesystem-preopens.js'; // wasi:filesystem/preopens@0.2.
|
|
101
|
-
import type * as WasiFilesystemTypes from './interfaces/wasi-filesystem-types.js'; // wasi:filesystem/types@0.2.
|
|
102
|
-
import type * as WasiIoError from './interfaces/wasi-io-error.js'; // wasi:io/error@0.2.
|
|
103
|
-
import type * as WasiIoPoll from './interfaces/wasi-io-poll.js'; // wasi:io/poll@0.2.
|
|
104
|
-
import type * as WasiIoStreams from './interfaces/wasi-io-streams.js'; // wasi:io/streams@0.2.
|
|
105
|
-
import type * as WasiRandomInsecureSeed from './interfaces/wasi-random-insecure-seed.js'; // wasi:random/insecure-seed@0.2.
|
|
88
|
+
import type * as WasiCliEnvironment from './interfaces/wasi-cli-environment.js'; // wasi:cli/environment@0.2.12
|
|
89
|
+
import type * as WasiCliExit from './interfaces/wasi-cli-exit.js'; // wasi:cli/exit@0.2.12
|
|
90
|
+
import type * as WasiCliStderr from './interfaces/wasi-cli-stderr.js'; // wasi:cli/stderr@0.2.12
|
|
91
|
+
import type * as WasiCliStdin from './interfaces/wasi-cli-stdin.js'; // wasi:cli/stdin@0.2.12
|
|
92
|
+
import type * as WasiCliStdout from './interfaces/wasi-cli-stdout.js'; // wasi:cli/stdout@0.2.12
|
|
93
|
+
import type * as WasiCliTerminalInput from './interfaces/wasi-cli-terminal-input.js'; // wasi:cli/terminal-input@0.2.12
|
|
94
|
+
import type * as WasiCliTerminalOutput from './interfaces/wasi-cli-terminal-output.js'; // wasi:cli/terminal-output@0.2.12
|
|
95
|
+
import type * as WasiCliTerminalStderr from './interfaces/wasi-cli-terminal-stderr.js'; // wasi:cli/terminal-stderr@0.2.12
|
|
96
|
+
import type * as WasiCliTerminalStdin from './interfaces/wasi-cli-terminal-stdin.js'; // wasi:cli/terminal-stdin@0.2.12
|
|
97
|
+
import type * as WasiCliTerminalStdout from './interfaces/wasi-cli-terminal-stdout.js'; // wasi:cli/terminal-stdout@0.2.12
|
|
98
|
+
import type * as WasiClocksMonotonicClock from './interfaces/wasi-clocks-monotonic-clock.js'; // wasi:clocks/monotonic-clock@0.2.12
|
|
99
|
+
import type * as WasiClocksWallClock from './interfaces/wasi-clocks-wall-clock.js'; // wasi:clocks/wall-clock@0.2.12
|
|
100
|
+
import type * as WasiFilesystemPreopens from './interfaces/wasi-filesystem-preopens.js'; // wasi:filesystem/preopens@0.2.12
|
|
101
|
+
import type * as WasiFilesystemTypes from './interfaces/wasi-filesystem-types.js'; // wasi:filesystem/types@0.2.12
|
|
102
|
+
import type * as WasiIoError from './interfaces/wasi-io-error.js'; // wasi:io/error@0.2.12
|
|
103
|
+
import type * as WasiIoPoll from './interfaces/wasi-io-poll.js'; // wasi:io/poll@0.2.12
|
|
104
|
+
import type * as WasiIoStreams from './interfaces/wasi-io-streams.js'; // wasi:io/streams@0.2.12
|
|
105
|
+
import type * as WasiRandomInsecureSeed from './interfaces/wasi-random-insecure-seed.js'; // wasi:random/insecure-seed@0.2.12
|
|
106
106
|
export interface ImportObject {
|
|
107
107
|
'vercel:python-analysis/host-utils': typeof VercelPythonAnalysisHostUtils,
|
|
108
|
-
'wasi:cli/environment@0.2.
|
|
109
|
-
'wasi:cli/exit@0.2.
|
|
110
|
-
'wasi:cli/stderr@0.2.
|
|
111
|
-
'wasi:cli/stdin@0.2.
|
|
112
|
-
'wasi:cli/stdout@0.2.
|
|
113
|
-
'wasi:cli/terminal-input@0.2.
|
|
114
|
-
'wasi:cli/terminal-output@0.2.
|
|
115
|
-
'wasi:cli/terminal-stderr@0.2.
|
|
116
|
-
'wasi:cli/terminal-stdin@0.2.
|
|
117
|
-
'wasi:cli/terminal-stdout@0.2.
|
|
118
|
-
'wasi:clocks/monotonic-clock@0.2.
|
|
119
|
-
'wasi:clocks/wall-clock@0.2.
|
|
120
|
-
'wasi:filesystem/preopens@0.2.
|
|
121
|
-
'wasi:filesystem/types@0.2.
|
|
122
|
-
'wasi:io/error@0.2.
|
|
123
|
-
'wasi:io/poll@0.2.
|
|
124
|
-
'wasi:io/streams@0.2.
|
|
125
|
-
'wasi:random/insecure-seed@0.2.
|
|
108
|
+
'wasi:cli/environment@0.2.12': typeof WasiCliEnvironment,
|
|
109
|
+
'wasi:cli/exit@0.2.12': typeof WasiCliExit,
|
|
110
|
+
'wasi:cli/stderr@0.2.12': typeof WasiCliStderr,
|
|
111
|
+
'wasi:cli/stdin@0.2.12': typeof WasiCliStdin,
|
|
112
|
+
'wasi:cli/stdout@0.2.12': typeof WasiCliStdout,
|
|
113
|
+
'wasi:cli/terminal-input@0.2.12': typeof WasiCliTerminalInput,
|
|
114
|
+
'wasi:cli/terminal-output@0.2.12': typeof WasiCliTerminalOutput,
|
|
115
|
+
'wasi:cli/terminal-stderr@0.2.12': typeof WasiCliTerminalStderr,
|
|
116
|
+
'wasi:cli/terminal-stdin@0.2.12': typeof WasiCliTerminalStdin,
|
|
117
|
+
'wasi:cli/terminal-stdout@0.2.12': typeof WasiCliTerminalStdout,
|
|
118
|
+
'wasi:clocks/monotonic-clock@0.2.12': typeof WasiClocksMonotonicClock,
|
|
119
|
+
'wasi:clocks/wall-clock@0.2.12': typeof WasiClocksWallClock,
|
|
120
|
+
'wasi:filesystem/preopens@0.2.12': typeof WasiFilesystemPreopens,
|
|
121
|
+
'wasi:filesystem/types@0.2.12': typeof WasiFilesystemTypes,
|
|
122
|
+
'wasi:io/error@0.2.12': typeof WasiIoError,
|
|
123
|
+
'wasi:io/poll@0.2.12': typeof WasiIoPoll,
|
|
124
|
+
'wasi:io/streams@0.2.12': typeof WasiIoStreams,
|
|
125
|
+
'wasi:random/insecure-seed@0.2.12': typeof WasiRandomInsecureSeed,
|
|
126
126
|
}
|
|
127
127
|
export interface Root {
|
|
128
128
|
findAppOrHandler(source: string): string | undefined,
|
|
@@ -853,12 +853,12 @@ let gen = (function* _initGenerator () {
|
|
|
853
853
|
throw new TypeError('invalid variant discriminant for expected');
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
_debugLog('[iface="wasi:cli/exit@0.2.
|
|
856
|
+
_debugLog('[iface="wasi:cli/exit@0.2.12", function="exit"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
857
857
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'exit');
|
|
858
858
|
exit(variant0);
|
|
859
|
-
_debugLog('[iface="wasi:cli/exit@0.2.
|
|
859
|
+
_debugLog('[iface="wasi:cli/exit@0.2.12", function="exit"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
860
860
|
endCurrentTask(0);
|
|
861
|
-
_debugLog('[iface="wasi:cli/exit@0.2.
|
|
861
|
+
_debugLog('[iface="wasi:cli/exit@0.2.12", function="exit"][Instruction::Return]', {
|
|
862
862
|
funcName: 'exit',
|
|
863
863
|
paramCount: 0,
|
|
864
864
|
async: false,
|
|
@@ -881,16 +881,16 @@ let gen = (function* _initGenerator () {
|
|
|
881
881
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
882
882
|
}
|
|
883
883
|
curResourceBorrows.push(rsc0);
|
|
884
|
-
_debugLog('[iface="wasi:io/poll@0.2.
|
|
884
|
+
_debugLog('[iface="wasi:io/poll@0.2.12", function="[method]pollable.block"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
885
885
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]pollable.block');
|
|
886
886
|
rsc0.block();
|
|
887
|
-
_debugLog('[iface="wasi:io/poll@0.2.
|
|
887
|
+
_debugLog('[iface="wasi:io/poll@0.2.12", function="[method]pollable.block"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
888
888
|
for (const rsc of curResourceBorrows) {
|
|
889
889
|
rsc[symbolRscHandle] = undefined;
|
|
890
890
|
}
|
|
891
891
|
curResourceBorrows = [];
|
|
892
892
|
endCurrentTask(0);
|
|
893
|
-
_debugLog('[iface="wasi:io/poll@0.2.
|
|
893
|
+
_debugLog('[iface="wasi:io/poll@0.2.12", function="[method]pollable.block"][Instruction::Return]', {
|
|
894
894
|
funcName: '[method]pollable.block',
|
|
895
895
|
paramCount: 0,
|
|
896
896
|
async: false,
|
|
@@ -913,10 +913,10 @@ let gen = (function* _initGenerator () {
|
|
|
913
913
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
914
914
|
}
|
|
915
915
|
curResourceBorrows.push(rsc0);
|
|
916
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
916
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.subscribe"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
917
917
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]output-stream.subscribe');
|
|
918
918
|
const ret = rsc0.subscribe();
|
|
919
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
919
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.subscribe"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
920
920
|
for (const rsc of curResourceBorrows) {
|
|
921
921
|
rsc[symbolRscHandle] = undefined;
|
|
922
922
|
}
|
|
@@ -931,7 +931,7 @@ let gen = (function* _initGenerator () {
|
|
|
931
931
|
captureTable0.set(rep, ret);
|
|
932
932
|
handle3 = rscTableCreateOwn(handleTable0, rep);
|
|
933
933
|
}
|
|
934
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
934
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.subscribe"][Instruction::Return]', {
|
|
935
935
|
funcName: '[method]output-stream.subscribe',
|
|
936
936
|
paramCount: 1,
|
|
937
937
|
async: false,
|
|
@@ -946,10 +946,10 @@ let gen = (function* _initGenerator () {
|
|
|
946
946
|
handleTables[2] = handleTable2;
|
|
947
947
|
|
|
948
948
|
function trampoline10() {
|
|
949
|
-
_debugLog('[iface="wasi:cli/stdin@0.2.
|
|
949
|
+
_debugLog('[iface="wasi:cli/stdin@0.2.12", function="get-stdin"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
950
950
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-stdin');
|
|
951
951
|
const ret = getStdin();
|
|
952
|
-
_debugLog('[iface="wasi:cli/stdin@0.2.
|
|
952
|
+
_debugLog('[iface="wasi:cli/stdin@0.2.12", function="get-stdin"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
953
953
|
endCurrentTask(0);
|
|
954
954
|
if (!(ret instanceof InputStream)) {
|
|
955
955
|
throw new TypeError('Resource error: Not a valid "InputStream" resource.');
|
|
@@ -960,7 +960,7 @@ let gen = (function* _initGenerator () {
|
|
|
960
960
|
captureTable2.set(rep, ret);
|
|
961
961
|
handle0 = rscTableCreateOwn(handleTable2, rep);
|
|
962
962
|
}
|
|
963
|
-
_debugLog('[iface="wasi:cli/stdin@0.2.
|
|
963
|
+
_debugLog('[iface="wasi:cli/stdin@0.2.12", function="get-stdin"][Instruction::Return]', {
|
|
964
964
|
funcName: 'get-stdin',
|
|
965
965
|
paramCount: 1,
|
|
966
966
|
async: false,
|
|
@@ -971,10 +971,10 @@ let gen = (function* _initGenerator () {
|
|
|
971
971
|
|
|
972
972
|
|
|
973
973
|
function trampoline11() {
|
|
974
|
-
_debugLog('[iface="wasi:cli/stdout@0.2.
|
|
974
|
+
_debugLog('[iface="wasi:cli/stdout@0.2.12", function="get-stdout"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
975
975
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-stdout');
|
|
976
976
|
const ret = getStdout();
|
|
977
|
-
_debugLog('[iface="wasi:cli/stdout@0.2.
|
|
977
|
+
_debugLog('[iface="wasi:cli/stdout@0.2.12", function="get-stdout"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
978
978
|
endCurrentTask(0);
|
|
979
979
|
if (!(ret instanceof OutputStream)) {
|
|
980
980
|
throw new TypeError('Resource error: Not a valid "OutputStream" resource.');
|
|
@@ -985,7 +985,7 @@ let gen = (function* _initGenerator () {
|
|
|
985
985
|
captureTable3.set(rep, ret);
|
|
986
986
|
handle0 = rscTableCreateOwn(handleTable3, rep);
|
|
987
987
|
}
|
|
988
|
-
_debugLog('[iface="wasi:cli/stdout@0.2.
|
|
988
|
+
_debugLog('[iface="wasi:cli/stdout@0.2.12", function="get-stdout"][Instruction::Return]', {
|
|
989
989
|
funcName: 'get-stdout',
|
|
990
990
|
paramCount: 1,
|
|
991
991
|
async: false,
|
|
@@ -996,10 +996,10 @@ let gen = (function* _initGenerator () {
|
|
|
996
996
|
|
|
997
997
|
|
|
998
998
|
function trampoline12() {
|
|
999
|
-
_debugLog('[iface="wasi:cli/stderr@0.2.
|
|
999
|
+
_debugLog('[iface="wasi:cli/stderr@0.2.12", function="get-stderr"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1000
1000
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-stderr');
|
|
1001
1001
|
const ret = getStderr();
|
|
1002
|
-
_debugLog('[iface="wasi:cli/stderr@0.2.
|
|
1002
|
+
_debugLog('[iface="wasi:cli/stderr@0.2.12", function="get-stderr"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1003
1003
|
endCurrentTask(0);
|
|
1004
1004
|
if (!(ret instanceof OutputStream)) {
|
|
1005
1005
|
throw new TypeError('Resource error: Not a valid "OutputStream" resource.');
|
|
@@ -1010,7 +1010,7 @@ let gen = (function* _initGenerator () {
|
|
|
1010
1010
|
captureTable3.set(rep, ret);
|
|
1011
1011
|
handle0 = rscTableCreateOwn(handleTable3, rep);
|
|
1012
1012
|
}
|
|
1013
|
-
_debugLog('[iface="wasi:cli/stderr@0.2.
|
|
1013
|
+
_debugLog('[iface="wasi:cli/stderr@0.2.12", function="get-stderr"][Instruction::Return]', {
|
|
1014
1014
|
funcName: 'get-stderr',
|
|
1015
1015
|
paramCount: 1,
|
|
1016
1016
|
async: false,
|
|
@@ -1021,10 +1021,10 @@ let gen = (function* _initGenerator () {
|
|
|
1021
1021
|
|
|
1022
1022
|
|
|
1023
1023
|
function trampoline13(arg0) {
|
|
1024
|
-
_debugLog('[iface="wasi:clocks/monotonic-clock@0.2.
|
|
1024
|
+
_debugLog('[iface="wasi:clocks/monotonic-clock@0.2.12", function="subscribe-duration"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1025
1025
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'subscribe-duration');
|
|
1026
1026
|
const ret = subscribeDuration(BigInt.asUintN(64, arg0));
|
|
1027
|
-
_debugLog('[iface="wasi:clocks/monotonic-clock@0.2.
|
|
1027
|
+
_debugLog('[iface="wasi:clocks/monotonic-clock@0.2.12", function="subscribe-duration"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1028
1028
|
endCurrentTask(0);
|
|
1029
1029
|
if (!(ret instanceof Pollable)) {
|
|
1030
1030
|
throw new TypeError('Resource error: Not a valid "Pollable" resource.');
|
|
@@ -1035,7 +1035,7 @@ let gen = (function* _initGenerator () {
|
|
|
1035
1035
|
captureTable0.set(rep, ret);
|
|
1036
1036
|
handle0 = rscTableCreateOwn(handleTable0, rep);
|
|
1037
1037
|
}
|
|
1038
|
-
_debugLog('[iface="wasi:clocks/monotonic-clock@0.2.
|
|
1038
|
+
_debugLog('[iface="wasi:clocks/monotonic-clock@0.2.12", function="subscribe-duration"][Instruction::Return]', {
|
|
1039
1039
|
funcName: 'subscribe-duration',
|
|
1040
1040
|
paramCount: 1,
|
|
1041
1041
|
async: false,
|
|
@@ -1165,15 +1165,15 @@ let gen = (function* _initGenerator () {
|
|
|
1165
1165
|
|
|
1166
1166
|
|
|
1167
1167
|
function trampoline17(arg0) {
|
|
1168
|
-
_debugLog('[iface="wasi:random/insecure-seed@0.2.
|
|
1168
|
+
_debugLog('[iface="wasi:random/insecure-seed@0.2.12", function="insecure-seed"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1169
1169
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'insecure-seed');
|
|
1170
1170
|
const ret = insecureSeed();
|
|
1171
|
-
_debugLog('[iface="wasi:random/insecure-seed@0.2.
|
|
1171
|
+
_debugLog('[iface="wasi:random/insecure-seed@0.2.12", function="insecure-seed"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1172
1172
|
endCurrentTask(0);
|
|
1173
1173
|
var [tuple0_0, tuple0_1] = ret;
|
|
1174
1174
|
dataView(memory0).setBigInt64(arg0 + 0, toUint64(tuple0_0), true);
|
|
1175
1175
|
dataView(memory0).setBigInt64(arg0 + 8, toUint64(tuple0_1), true);
|
|
1176
|
-
_debugLog('[iface="wasi:random/insecure-seed@0.2.
|
|
1176
|
+
_debugLog('[iface="wasi:random/insecure-seed@0.2.12", function="insecure-seed"][Instruction::Return]', {
|
|
1177
1177
|
funcName: 'insecure-seed',
|
|
1178
1178
|
paramCount: 0,
|
|
1179
1179
|
async: false,
|
|
@@ -1199,10 +1199,10 @@ let gen = (function* _initGenerator () {
|
|
|
1199
1199
|
curResourceBorrows.push(rsc0);
|
|
1200
1200
|
result3.push(rsc0);
|
|
1201
1201
|
}
|
|
1202
|
-
_debugLog('[iface="wasi:io/poll@0.2.
|
|
1202
|
+
_debugLog('[iface="wasi:io/poll@0.2.12", function="poll"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1203
1203
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'poll');
|
|
1204
1204
|
const ret = poll(result3);
|
|
1205
|
-
_debugLog('[iface="wasi:io/poll@0.2.
|
|
1205
|
+
_debugLog('[iface="wasi:io/poll@0.2.12", function="poll"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1206
1206
|
for (const rsc of curResourceBorrows) {
|
|
1207
1207
|
rsc[symbolRscHandle] = undefined;
|
|
1208
1208
|
}
|
|
@@ -1215,7 +1215,7 @@ let gen = (function* _initGenerator () {
|
|
|
1215
1215
|
(new Uint8Array(memory0.buffer, ptr4, len4 * 4)).set(src4);
|
|
1216
1216
|
dataView(memory0).setUint32(arg2 + 4, len4, true);
|
|
1217
1217
|
dataView(memory0).setUint32(arg2 + 0, ptr4, true);
|
|
1218
|
-
_debugLog('[iface="wasi:io/poll@0.2.
|
|
1218
|
+
_debugLog('[iface="wasi:io/poll@0.2.12", function="poll"][Instruction::Return]', {
|
|
1219
1219
|
funcName: 'poll',
|
|
1220
1220
|
paramCount: 0,
|
|
1221
1221
|
async: false,
|
|
@@ -1238,7 +1238,7 @@ let gen = (function* _initGenerator () {
|
|
|
1238
1238
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1239
1239
|
}
|
|
1240
1240
|
curResourceBorrows.push(rsc0);
|
|
1241
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1241
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.check-write"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1242
1242
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]output-stream.check-write');
|
|
1243
1243
|
let ret;
|
|
1244
1244
|
try {
|
|
@@ -1246,7 +1246,7 @@ let gen = (function* _initGenerator () {
|
|
|
1246
1246
|
} catch (e) {
|
|
1247
1247
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1248
1248
|
}
|
|
1249
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1249
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.check-write"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1250
1250
|
for (const rsc of curResourceBorrows) {
|
|
1251
1251
|
rsc[symbolRscHandle] = undefined;
|
|
1252
1252
|
}
|
|
@@ -1294,7 +1294,7 @@ let gen = (function* _initGenerator () {
|
|
|
1294
1294
|
throw new TypeError('invalid variant specified for result');
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1297
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.check-write"][Instruction::Return]', {
|
|
1298
1298
|
funcName: '[method]output-stream.check-write',
|
|
1299
1299
|
paramCount: 0,
|
|
1300
1300
|
async: false,
|
|
@@ -1316,7 +1316,7 @@ let gen = (function* _initGenerator () {
|
|
|
1316
1316
|
var ptr3 = arg1;
|
|
1317
1317
|
var len3 = arg2;
|
|
1318
1318
|
var result3 = new Uint8Array(memory0.buffer.slice(ptr3, ptr3 + len3 * 1));
|
|
1319
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1319
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.write"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1320
1320
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]output-stream.write');
|
|
1321
1321
|
let ret;
|
|
1322
1322
|
try {
|
|
@@ -1324,7 +1324,7 @@ let gen = (function* _initGenerator () {
|
|
|
1324
1324
|
} catch (e) {
|
|
1325
1325
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1326
1326
|
}
|
|
1327
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1327
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.write"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1328
1328
|
for (const rsc of curResourceBorrows) {
|
|
1329
1329
|
rsc[symbolRscHandle] = undefined;
|
|
1330
1330
|
}
|
|
@@ -1371,7 +1371,7 @@ let gen = (function* _initGenerator () {
|
|
|
1371
1371
|
throw new TypeError('invalid variant specified for result');
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1374
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.write"][Instruction::Return]', {
|
|
1375
1375
|
funcName: '[method]output-stream.write',
|
|
1376
1376
|
paramCount: 0,
|
|
1377
1377
|
async: false,
|
|
@@ -1390,7 +1390,7 @@ let gen = (function* _initGenerator () {
|
|
|
1390
1390
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1391
1391
|
}
|
|
1392
1392
|
curResourceBorrows.push(rsc0);
|
|
1393
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1393
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.blocking-flush"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1394
1394
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]output-stream.blocking-flush');
|
|
1395
1395
|
let ret;
|
|
1396
1396
|
try {
|
|
@@ -1398,7 +1398,7 @@ let gen = (function* _initGenerator () {
|
|
|
1398
1398
|
} catch (e) {
|
|
1399
1399
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1400
1400
|
}
|
|
1401
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1401
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.blocking-flush"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1402
1402
|
for (const rsc of curResourceBorrows) {
|
|
1403
1403
|
rsc[symbolRscHandle] = undefined;
|
|
1404
1404
|
}
|
|
@@ -1445,7 +1445,7 @@ let gen = (function* _initGenerator () {
|
|
|
1445
1445
|
throw new TypeError('invalid variant specified for result');
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1448
|
+
_debugLog('[iface="wasi:io/streams@0.2.12", function="[method]output-stream.blocking-flush"][Instruction::Return]', {
|
|
1449
1449
|
funcName: '[method]output-stream.blocking-flush',
|
|
1450
1450
|
paramCount: 0,
|
|
1451
1451
|
async: false,
|
|
@@ -1468,7 +1468,7 @@ let gen = (function* _initGenerator () {
|
|
|
1468
1468
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1469
1469
|
}
|
|
1470
1470
|
curResourceBorrows.push(rsc0);
|
|
1471
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1471
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.read-via-stream"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1472
1472
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.read-via-stream');
|
|
1473
1473
|
let ret;
|
|
1474
1474
|
try {
|
|
@@ -1476,7 +1476,7 @@ let gen = (function* _initGenerator () {
|
|
|
1476
1476
|
} catch (e) {
|
|
1477
1477
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1478
1478
|
}
|
|
1479
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1479
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.read-via-stream"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1480
1480
|
for (const rsc of curResourceBorrows) {
|
|
1481
1481
|
rsc[symbolRscHandle] = undefined;
|
|
1482
1482
|
}
|
|
@@ -1668,7 +1668,7 @@ let gen = (function* _initGenerator () {
|
|
|
1668
1668
|
throw new TypeError('invalid variant specified for result');
|
|
1669
1669
|
}
|
|
1670
1670
|
}
|
|
1671
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1671
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.read-via-stream"][Instruction::Return]', {
|
|
1672
1672
|
funcName: '[method]descriptor.read-via-stream',
|
|
1673
1673
|
paramCount: 0,
|
|
1674
1674
|
async: false,
|
|
@@ -1687,7 +1687,7 @@ let gen = (function* _initGenerator () {
|
|
|
1687
1687
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1688
1688
|
}
|
|
1689
1689
|
curResourceBorrows.push(rsc0);
|
|
1690
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1690
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.write-via-stream"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1691
1691
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.write-via-stream');
|
|
1692
1692
|
let ret;
|
|
1693
1693
|
try {
|
|
@@ -1695,7 +1695,7 @@ let gen = (function* _initGenerator () {
|
|
|
1695
1695
|
} catch (e) {
|
|
1696
1696
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1697
1697
|
}
|
|
1698
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1698
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.write-via-stream"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1699
1699
|
for (const rsc of curResourceBorrows) {
|
|
1700
1700
|
rsc[symbolRscHandle] = undefined;
|
|
1701
1701
|
}
|
|
@@ -1887,7 +1887,7 @@ let gen = (function* _initGenerator () {
|
|
|
1887
1887
|
throw new TypeError('invalid variant specified for result');
|
|
1888
1888
|
}
|
|
1889
1889
|
}
|
|
1890
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1890
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.write-via-stream"][Instruction::Return]', {
|
|
1891
1891
|
funcName: '[method]descriptor.write-via-stream',
|
|
1892
1892
|
paramCount: 0,
|
|
1893
1893
|
async: false,
|
|
@@ -1906,7 +1906,7 @@ let gen = (function* _initGenerator () {
|
|
|
1906
1906
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1907
1907
|
}
|
|
1908
1908
|
curResourceBorrows.push(rsc0);
|
|
1909
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1909
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.append-via-stream"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1910
1910
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.append-via-stream');
|
|
1911
1911
|
let ret;
|
|
1912
1912
|
try {
|
|
@@ -1914,7 +1914,7 @@ let gen = (function* _initGenerator () {
|
|
|
1914
1914
|
} catch (e) {
|
|
1915
1915
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1916
1916
|
}
|
|
1917
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1917
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.append-via-stream"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1918
1918
|
for (const rsc of curResourceBorrows) {
|
|
1919
1919
|
rsc[symbolRscHandle] = undefined;
|
|
1920
1920
|
}
|
|
@@ -2106,7 +2106,7 @@ let gen = (function* _initGenerator () {
|
|
|
2106
2106
|
throw new TypeError('invalid variant specified for result');
|
|
2107
2107
|
}
|
|
2108
2108
|
}
|
|
2109
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2109
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.append-via-stream"][Instruction::Return]', {
|
|
2110
2110
|
funcName: '[method]descriptor.append-via-stream',
|
|
2111
2111
|
paramCount: 0,
|
|
2112
2112
|
async: false,
|
|
@@ -2125,7 +2125,7 @@ let gen = (function* _initGenerator () {
|
|
|
2125
2125
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
2126
2126
|
}
|
|
2127
2127
|
curResourceBorrows.push(rsc0);
|
|
2128
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2128
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.get-flags"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
2129
2129
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.get-flags');
|
|
2130
2130
|
let ret;
|
|
2131
2131
|
try {
|
|
@@ -2133,7 +2133,7 @@ let gen = (function* _initGenerator () {
|
|
|
2133
2133
|
} catch (e) {
|
|
2134
2134
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
2135
2135
|
}
|
|
2136
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2136
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.get-flags"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
2137
2137
|
for (const rsc of curResourceBorrows) {
|
|
2138
2138
|
rsc[symbolRscHandle] = undefined;
|
|
2139
2139
|
}
|
|
@@ -2322,7 +2322,7 @@ let gen = (function* _initGenerator () {
|
|
|
2322
2322
|
throw new TypeError('invalid variant specified for result');
|
|
2323
2323
|
}
|
|
2324
2324
|
}
|
|
2325
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2325
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.get-flags"][Instruction::Return]', {
|
|
2326
2326
|
funcName: '[method]descriptor.get-flags',
|
|
2327
2327
|
paramCount: 0,
|
|
2328
2328
|
async: false,
|
|
@@ -2341,7 +2341,7 @@ let gen = (function* _initGenerator () {
|
|
|
2341
2341
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
2342
2342
|
}
|
|
2343
2343
|
curResourceBorrows.push(rsc0);
|
|
2344
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2344
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.stat"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
2345
2345
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.stat');
|
|
2346
2346
|
let ret;
|
|
2347
2347
|
try {
|
|
@@ -2349,7 +2349,7 @@ let gen = (function* _initGenerator () {
|
|
|
2349
2349
|
} catch (e) {
|
|
2350
2350
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
2351
2351
|
}
|
|
2352
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2352
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.stat"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
2353
2353
|
for (const rsc of curResourceBorrows) {
|
|
2354
2354
|
rsc[symbolRscHandle] = undefined;
|
|
2355
2355
|
}
|
|
@@ -2608,7 +2608,7 @@ let gen = (function* _initGenerator () {
|
|
|
2608
2608
|
throw new TypeError('invalid variant specified for result');
|
|
2609
2609
|
}
|
|
2610
2610
|
}
|
|
2611
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2611
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.stat"][Instruction::Return]', {
|
|
2612
2612
|
funcName: '[method]descriptor.stat',
|
|
2613
2613
|
paramCount: 0,
|
|
2614
2614
|
async: false,
|
|
@@ -2636,7 +2636,7 @@ let gen = (function* _initGenerator () {
|
|
|
2636
2636
|
var ptr4 = arg2;
|
|
2637
2637
|
var len4 = arg3;
|
|
2638
2638
|
var result4 = utf8Decoder.decode(new Uint8Array(memory0.buffer, ptr4, len4));
|
|
2639
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2639
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.stat-at"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
2640
2640
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.stat-at');
|
|
2641
2641
|
let ret;
|
|
2642
2642
|
try {
|
|
@@ -2644,7 +2644,7 @@ let gen = (function* _initGenerator () {
|
|
|
2644
2644
|
} catch (e) {
|
|
2645
2645
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
2646
2646
|
}
|
|
2647
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2647
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.stat-at"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
2648
2648
|
for (const rsc of curResourceBorrows) {
|
|
2649
2649
|
rsc[symbolRscHandle] = undefined;
|
|
2650
2650
|
}
|
|
@@ -2903,7 +2903,7 @@ let gen = (function* _initGenerator () {
|
|
|
2903
2903
|
throw new TypeError('invalid variant specified for result');
|
|
2904
2904
|
}
|
|
2905
2905
|
}
|
|
2906
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2906
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.stat-at"][Instruction::Return]', {
|
|
2907
2907
|
funcName: '[method]descriptor.stat-at',
|
|
2908
2908
|
paramCount: 0,
|
|
2909
2909
|
async: false,
|
|
@@ -2922,7 +2922,7 @@ let gen = (function* _initGenerator () {
|
|
|
2922
2922
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
2923
2923
|
}
|
|
2924
2924
|
curResourceBorrows.push(rsc0);
|
|
2925
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2925
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.metadata-hash"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
2926
2926
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.metadata-hash');
|
|
2927
2927
|
let ret;
|
|
2928
2928
|
try {
|
|
@@ -2930,7 +2930,7 @@ let gen = (function* _initGenerator () {
|
|
|
2930
2930
|
} catch (e) {
|
|
2931
2931
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
2932
2932
|
}
|
|
2933
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2933
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.metadata-hash"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
2934
2934
|
for (const rsc of curResourceBorrows) {
|
|
2935
2935
|
rsc[symbolRscHandle] = undefined;
|
|
2936
2936
|
}
|
|
@@ -3115,7 +3115,7 @@ let gen = (function* _initGenerator () {
|
|
|
3115
3115
|
throw new TypeError('invalid variant specified for result');
|
|
3116
3116
|
}
|
|
3117
3117
|
}
|
|
3118
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
3118
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.metadata-hash"][Instruction::Return]', {
|
|
3119
3119
|
funcName: '[method]descriptor.metadata-hash',
|
|
3120
3120
|
paramCount: 0,
|
|
3121
3121
|
async: false,
|
|
@@ -3143,7 +3143,7 @@ let gen = (function* _initGenerator () {
|
|
|
3143
3143
|
var ptr4 = arg2;
|
|
3144
3144
|
var len4 = arg3;
|
|
3145
3145
|
var result4 = utf8Decoder.decode(new Uint8Array(memory0.buffer, ptr4, len4));
|
|
3146
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
3146
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.metadata-hash-at"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3147
3147
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.metadata-hash-at');
|
|
3148
3148
|
let ret;
|
|
3149
3149
|
try {
|
|
@@ -3151,7 +3151,7 @@ let gen = (function* _initGenerator () {
|
|
|
3151
3151
|
} catch (e) {
|
|
3152
3152
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
3153
3153
|
}
|
|
3154
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
3154
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.metadata-hash-at"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3155
3155
|
for (const rsc of curResourceBorrows) {
|
|
3156
3156
|
rsc[symbolRscHandle] = undefined;
|
|
3157
3157
|
}
|
|
@@ -3336,7 +3336,7 @@ let gen = (function* _initGenerator () {
|
|
|
3336
3336
|
throw new TypeError('invalid variant specified for result');
|
|
3337
3337
|
}
|
|
3338
3338
|
}
|
|
3339
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
3339
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.12", function="[method]descriptor.metadata-hash-at"][Instruction::Return]', {
|
|
3340
3340
|
funcName: '[method]descriptor.metadata-hash-at',
|
|
3341
3341
|
paramCount: 0,
|
|
3342
3342
|
async: false,
|
|
@@ -3346,10 +3346,10 @@ let gen = (function* _initGenerator () {
|
|
|
3346
3346
|
|
|
3347
3347
|
|
|
3348
3348
|
function trampoline30(arg0) {
|
|
3349
|
-
_debugLog('[iface="wasi:cli/environment@0.2.
|
|
3349
|
+
_debugLog('[iface="wasi:cli/environment@0.2.12", function="get-environment"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3350
3350
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-environment');
|
|
3351
3351
|
const ret = getEnvironment();
|
|
3352
|
-
_debugLog('[iface="wasi:cli/environment@0.2.
|
|
3352
|
+
_debugLog('[iface="wasi:cli/environment@0.2.12", function="get-environment"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3353
3353
|
endCurrentTask(0);
|
|
3354
3354
|
var vec3 = ret;
|
|
3355
3355
|
var len3 = vec3.length;
|
|
@@ -3368,7 +3368,7 @@ let gen = (function* _initGenerator () {
|
|
|
3368
3368
|
}
|
|
3369
3369
|
dataView(memory0).setUint32(arg0 + 4, len3, true);
|
|
3370
3370
|
dataView(memory0).setUint32(arg0 + 0, result3, true);
|
|
3371
|
-
_debugLog('[iface="wasi:cli/environment@0.2.
|
|
3371
|
+
_debugLog('[iface="wasi:cli/environment@0.2.12", function="get-environment"][Instruction::Return]', {
|
|
3372
3372
|
funcName: 'get-environment',
|
|
3373
3373
|
paramCount: 0,
|
|
3374
3374
|
async: false,
|
|
@@ -3382,10 +3382,10 @@ let gen = (function* _initGenerator () {
|
|
|
3382
3382
|
handleTables[4] = handleTable4;
|
|
3383
3383
|
|
|
3384
3384
|
function trampoline31(arg0) {
|
|
3385
|
-
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.
|
|
3385
|
+
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.12", function="get-terminal-stdin"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3386
3386
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-terminal-stdin');
|
|
3387
3387
|
const ret = getTerminalStdin();
|
|
3388
|
-
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.
|
|
3388
|
+
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.12", function="get-terminal-stdin"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3389
3389
|
endCurrentTask(0);
|
|
3390
3390
|
var variant1 = ret;
|
|
3391
3391
|
if (variant1 === null || variant1=== undefined) {
|
|
@@ -3404,7 +3404,7 @@ let gen = (function* _initGenerator () {
|
|
|
3404
3404
|
}
|
|
3405
3405
|
dataView(memory0).setInt32(arg0 + 4, handle0, true);
|
|
3406
3406
|
}
|
|
3407
|
-
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.
|
|
3407
|
+
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.12", function="get-terminal-stdin"][Instruction::Return]', {
|
|
3408
3408
|
funcName: 'get-terminal-stdin',
|
|
3409
3409
|
paramCount: 0,
|
|
3410
3410
|
async: false,
|
|
@@ -3418,10 +3418,10 @@ let gen = (function* _initGenerator () {
|
|
|
3418
3418
|
handleTables[5] = handleTable5;
|
|
3419
3419
|
|
|
3420
3420
|
function trampoline32(arg0) {
|
|
3421
|
-
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.
|
|
3421
|
+
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.12", function="get-terminal-stdout"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3422
3422
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-terminal-stdout');
|
|
3423
3423
|
const ret = getTerminalStdout();
|
|
3424
|
-
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.
|
|
3424
|
+
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.12", function="get-terminal-stdout"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3425
3425
|
endCurrentTask(0);
|
|
3426
3426
|
var variant1 = ret;
|
|
3427
3427
|
if (variant1 === null || variant1=== undefined) {
|
|
@@ -3440,7 +3440,7 @@ let gen = (function* _initGenerator () {
|
|
|
3440
3440
|
}
|
|
3441
3441
|
dataView(memory0).setInt32(arg0 + 4, handle0, true);
|
|
3442
3442
|
}
|
|
3443
|
-
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.
|
|
3443
|
+
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.12", function="get-terminal-stdout"][Instruction::Return]', {
|
|
3444
3444
|
funcName: 'get-terminal-stdout',
|
|
3445
3445
|
paramCount: 0,
|
|
3446
3446
|
async: false,
|
|
@@ -3450,10 +3450,10 @@ let gen = (function* _initGenerator () {
|
|
|
3450
3450
|
|
|
3451
3451
|
|
|
3452
3452
|
function trampoline33(arg0) {
|
|
3453
|
-
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.
|
|
3453
|
+
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.12", function="get-terminal-stderr"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3454
3454
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-terminal-stderr');
|
|
3455
3455
|
const ret = getTerminalStderr();
|
|
3456
|
-
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.
|
|
3456
|
+
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.12", function="get-terminal-stderr"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3457
3457
|
endCurrentTask(0);
|
|
3458
3458
|
var variant1 = ret;
|
|
3459
3459
|
if (variant1 === null || variant1=== undefined) {
|
|
@@ -3472,7 +3472,7 @@ let gen = (function* _initGenerator () {
|
|
|
3472
3472
|
}
|
|
3473
3473
|
dataView(memory0).setInt32(arg0 + 4, handle0, true);
|
|
3474
3474
|
}
|
|
3475
|
-
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.
|
|
3475
|
+
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.12", function="get-terminal-stderr"][Instruction::Return]', {
|
|
3476
3476
|
funcName: 'get-terminal-stderr',
|
|
3477
3477
|
paramCount: 0,
|
|
3478
3478
|
async: false,
|
|
@@ -3482,10 +3482,10 @@ let gen = (function* _initGenerator () {
|
|
|
3482
3482
|
|
|
3483
3483
|
|
|
3484
3484
|
function trampoline34(arg0) {
|
|
3485
|
-
_debugLog('[iface="wasi:filesystem/preopens@0.2.
|
|
3485
|
+
_debugLog('[iface="wasi:filesystem/preopens@0.2.12", function="get-directories"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3486
3486
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-directories');
|
|
3487
3487
|
const ret = getDirectories();
|
|
3488
|
-
_debugLog('[iface="wasi:filesystem/preopens@0.2.
|
|
3488
|
+
_debugLog('[iface="wasi:filesystem/preopens@0.2.12", function="get-directories"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3489
3489
|
endCurrentTask(0);
|
|
3490
3490
|
var vec3 = ret;
|
|
3491
3491
|
var len3 = vec3.length;
|
|
@@ -3510,7 +3510,7 @@ let gen = (function* _initGenerator () {
|
|
|
3510
3510
|
}
|
|
3511
3511
|
dataView(memory0).setUint32(arg0 + 4, len3, true);
|
|
3512
3512
|
dataView(memory0).setUint32(arg0 + 0, result3, true);
|
|
3513
|
-
_debugLog('[iface="wasi:filesystem/preopens@0.2.
|
|
3513
|
+
_debugLog('[iface="wasi:filesystem/preopens@0.2.12", function="get-directories"][Instruction::Return]', {
|
|
3514
3514
|
funcName: 'get-directories',
|
|
3515
3515
|
paramCount: 0,
|
|
3516
3516
|
async: false,
|
|
@@ -3689,7 +3689,7 @@ let gen = (function* _initGenerator () {
|
|
|
3689
3689
|
'[resource-drop]input-stream': trampoline2,
|
|
3690
3690
|
'[resource-drop]output-stream': trampoline3,
|
|
3691
3691
|
},
|
|
3692
|
-
'wasi:random/insecure-seed@0.2.
|
|
3692
|
+
'wasi:random/insecure-seed@0.2.12': {
|
|
3693
3693
|
'insecure-seed': exports0['3'],
|
|
3694
3694
|
},
|
|
3695
3695
|
}));
|