@vercel/python-analysis 0.15.1 → 0.15.2
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/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-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 -2
- 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 +34 -36
- package/dist/wasm/vercel_python_analysis.js +127 -200
- package/package.json +1 -1
- package/dist/wasm/interfaces/wasi-clocks-monotonic-clock.d.ts +0 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @module Interface wasi:cli/environment@0.2.
|
|
1
|
+
/** @module Interface wasi:cli/environment@0.2.6 **/
|
|
2
2
|
export function getEnvironment(): Array<[string, string]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @module Interface wasi:io/streams@0.2.
|
|
1
|
+
/** @module Interface wasi:io/streams@0.2.6 **/
|
|
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.6 **/
|
|
2
2
|
export function insecureSeed(): [bigint, bigint];
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -85,44 +85,42 @@ 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
|
|
99
|
-
import type * as
|
|
100
|
-
import type * as
|
|
101
|
-
import type * as
|
|
102
|
-
import type * as
|
|
103
|
-
import type * as
|
|
104
|
-
import type * as
|
|
105
|
-
import type * as WasiRandomInsecureSeed from './interfaces/wasi-random-insecure-seed.js'; // wasi:random/insecure-seed@0.2.12
|
|
88
|
+
import type * as WasiCliEnvironment from './interfaces/wasi-cli-environment.js'; // wasi:cli/environment@0.2.6
|
|
89
|
+
import type * as WasiCliExit from './interfaces/wasi-cli-exit.js'; // wasi:cli/exit@0.2.6
|
|
90
|
+
import type * as WasiCliStderr from './interfaces/wasi-cli-stderr.js'; // wasi:cli/stderr@0.2.6
|
|
91
|
+
import type * as WasiCliStdin from './interfaces/wasi-cli-stdin.js'; // wasi:cli/stdin@0.2.6
|
|
92
|
+
import type * as WasiCliStdout from './interfaces/wasi-cli-stdout.js'; // wasi:cli/stdout@0.2.6
|
|
93
|
+
import type * as WasiCliTerminalInput from './interfaces/wasi-cli-terminal-input.js'; // wasi:cli/terminal-input@0.2.6
|
|
94
|
+
import type * as WasiCliTerminalOutput from './interfaces/wasi-cli-terminal-output.js'; // wasi:cli/terminal-output@0.2.6
|
|
95
|
+
import type * as WasiCliTerminalStderr from './interfaces/wasi-cli-terminal-stderr.js'; // wasi:cli/terminal-stderr@0.2.6
|
|
96
|
+
import type * as WasiCliTerminalStdin from './interfaces/wasi-cli-terminal-stdin.js'; // wasi:cli/terminal-stdin@0.2.6
|
|
97
|
+
import type * as WasiCliTerminalStdout from './interfaces/wasi-cli-terminal-stdout.js'; // wasi:cli/terminal-stdout@0.2.6
|
|
98
|
+
import type * as WasiClocksWallClock from './interfaces/wasi-clocks-wall-clock.js'; // wasi:clocks/wall-clock@0.2.6
|
|
99
|
+
import type * as WasiFilesystemPreopens from './interfaces/wasi-filesystem-preopens.js'; // wasi:filesystem/preopens@0.2.6
|
|
100
|
+
import type * as WasiFilesystemTypes from './interfaces/wasi-filesystem-types.js'; // wasi:filesystem/types@0.2.6
|
|
101
|
+
import type * as WasiIoError from './interfaces/wasi-io-error.js'; // wasi:io/error@0.2.6
|
|
102
|
+
import type * as WasiIoPoll from './interfaces/wasi-io-poll.js'; // wasi:io/poll@0.2.6
|
|
103
|
+
import type * as WasiIoStreams from './interfaces/wasi-io-streams.js'; // wasi:io/streams@0.2.6
|
|
104
|
+
import type * as WasiRandomInsecureSeed from './interfaces/wasi-random-insecure-seed.js'; // wasi:random/insecure-seed@0.2.6
|
|
106
105
|
export interface ImportObject {
|
|
107
106
|
'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/
|
|
119
|
-
'wasi:
|
|
120
|
-
'wasi:filesystem/
|
|
121
|
-
'wasi:
|
|
122
|
-
'wasi:io/
|
|
123
|
-
'wasi:io/
|
|
124
|
-
'wasi:
|
|
125
|
-
'wasi:random/insecure-seed@0.2.12': typeof WasiRandomInsecureSeed,
|
|
107
|
+
'wasi:cli/environment@0.2.6': typeof WasiCliEnvironment,
|
|
108
|
+
'wasi:cli/exit@0.2.6': typeof WasiCliExit,
|
|
109
|
+
'wasi:cli/stderr@0.2.6': typeof WasiCliStderr,
|
|
110
|
+
'wasi:cli/stdin@0.2.6': typeof WasiCliStdin,
|
|
111
|
+
'wasi:cli/stdout@0.2.6': typeof WasiCliStdout,
|
|
112
|
+
'wasi:cli/terminal-input@0.2.6': typeof WasiCliTerminalInput,
|
|
113
|
+
'wasi:cli/terminal-output@0.2.6': typeof WasiCliTerminalOutput,
|
|
114
|
+
'wasi:cli/terminal-stderr@0.2.6': typeof WasiCliTerminalStderr,
|
|
115
|
+
'wasi:cli/terminal-stdin@0.2.6': typeof WasiCliTerminalStdin,
|
|
116
|
+
'wasi:cli/terminal-stdout@0.2.6': typeof WasiCliTerminalStdout,
|
|
117
|
+
'wasi:clocks/wall-clock@0.2.6': typeof WasiClocksWallClock,
|
|
118
|
+
'wasi:filesystem/preopens@0.2.6': typeof WasiFilesystemPreopens,
|
|
119
|
+
'wasi:filesystem/types@0.2.6': typeof WasiFilesystemTypes,
|
|
120
|
+
'wasi:io/error@0.2.6': typeof WasiIoError,
|
|
121
|
+
'wasi:io/poll@0.2.6': typeof WasiIoPoll,
|
|
122
|
+
'wasi:io/streams@0.2.6': typeof WasiIoStreams,
|
|
123
|
+
'wasi:random/insecure-seed@0.2.6': typeof WasiRandomInsecureSeed,
|
|
126
124
|
}
|
|
127
125
|
export interface Root {
|
|
128
126
|
findAppOrHandler(source: string): string | undefined,
|
|
@@ -822,11 +822,10 @@ const { TerminalOutput } = imports['wasi:cli/terminal-output'];
|
|
|
822
822
|
const { getTerminalStderr } = imports['wasi:cli/terminal-stderr'];
|
|
823
823
|
const { getTerminalStdin } = imports['wasi:cli/terminal-stdin'];
|
|
824
824
|
const { getTerminalStdout } = imports['wasi:cli/terminal-stdout'];
|
|
825
|
-
const { subscribeDuration } = imports['wasi:clocks/monotonic-clock'];
|
|
826
825
|
const { getDirectories } = imports['wasi:filesystem/preopens'];
|
|
827
826
|
const { Descriptor } = imports['wasi:filesystem/types'];
|
|
828
827
|
const { Error: Error$1 } = imports['wasi:io/error'];
|
|
829
|
-
const { Pollable
|
|
828
|
+
const { Pollable } = imports['wasi:io/poll'];
|
|
830
829
|
const { InputStream, OutputStream } = imports['wasi:io/streams'];
|
|
831
830
|
const { insecureSeed } = imports['wasi:random/insecure-seed'];
|
|
832
831
|
let gen = (function* _initGenerator () {
|
|
@@ -853,12 +852,12 @@ let gen = (function* _initGenerator () {
|
|
|
853
852
|
throw new TypeError('invalid variant discriminant for expected');
|
|
854
853
|
}
|
|
855
854
|
}
|
|
856
|
-
_debugLog('[iface="wasi:cli/exit@0.2.
|
|
855
|
+
_debugLog('[iface="wasi:cli/exit@0.2.6", function="exit"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
857
856
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'exit');
|
|
858
857
|
exit(variant0);
|
|
859
|
-
_debugLog('[iface="wasi:cli/exit@0.2.
|
|
858
|
+
_debugLog('[iface="wasi:cli/exit@0.2.6", function="exit"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
860
859
|
endCurrentTask(0);
|
|
861
|
-
_debugLog('[iface="wasi:cli/exit@0.2.
|
|
860
|
+
_debugLog('[iface="wasi:cli/exit@0.2.6", function="exit"][Instruction::Return]', {
|
|
862
861
|
funcName: 'exit',
|
|
863
862
|
paramCount: 0,
|
|
864
863
|
async: false,
|
|
@@ -881,16 +880,16 @@ let gen = (function* _initGenerator () {
|
|
|
881
880
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
882
881
|
}
|
|
883
882
|
curResourceBorrows.push(rsc0);
|
|
884
|
-
_debugLog('[iface="wasi:io/poll@0.2.
|
|
883
|
+
_debugLog('[iface="wasi:io/poll@0.2.6", function="[method]pollable.block"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
885
884
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]pollable.block');
|
|
886
885
|
rsc0.block();
|
|
887
|
-
_debugLog('[iface="wasi:io/poll@0.2.
|
|
886
|
+
_debugLog('[iface="wasi:io/poll@0.2.6", function="[method]pollable.block"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
888
887
|
for (const rsc of curResourceBorrows) {
|
|
889
888
|
rsc[symbolRscHandle] = undefined;
|
|
890
889
|
}
|
|
891
890
|
curResourceBorrows = [];
|
|
892
891
|
endCurrentTask(0);
|
|
893
|
-
_debugLog('[iface="wasi:io/poll@0.2.
|
|
892
|
+
_debugLog('[iface="wasi:io/poll@0.2.6", function="[method]pollable.block"][Instruction::Return]', {
|
|
894
893
|
funcName: '[method]pollable.block',
|
|
895
894
|
paramCount: 0,
|
|
896
895
|
async: false,
|
|
@@ -913,10 +912,10 @@ let gen = (function* _initGenerator () {
|
|
|
913
912
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
914
913
|
}
|
|
915
914
|
curResourceBorrows.push(rsc0);
|
|
916
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
915
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.subscribe"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
917
916
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]output-stream.subscribe');
|
|
918
917
|
const ret = rsc0.subscribe();
|
|
919
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
918
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.subscribe"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
920
919
|
for (const rsc of curResourceBorrows) {
|
|
921
920
|
rsc[symbolRscHandle] = undefined;
|
|
922
921
|
}
|
|
@@ -931,7 +930,7 @@ let gen = (function* _initGenerator () {
|
|
|
931
930
|
captureTable0.set(rep, ret);
|
|
932
931
|
handle3 = rscTableCreateOwn(handleTable0, rep);
|
|
933
932
|
}
|
|
934
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
933
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.subscribe"][Instruction::Return]', {
|
|
935
934
|
funcName: '[method]output-stream.subscribe',
|
|
936
935
|
paramCount: 1,
|
|
937
936
|
async: false,
|
|
@@ -946,10 +945,10 @@ let gen = (function* _initGenerator () {
|
|
|
946
945
|
handleTables[2] = handleTable2;
|
|
947
946
|
|
|
948
947
|
function trampoline10() {
|
|
949
|
-
_debugLog('[iface="wasi:cli/stdin@0.2.
|
|
948
|
+
_debugLog('[iface="wasi:cli/stdin@0.2.6", function="get-stdin"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
950
949
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-stdin');
|
|
951
950
|
const ret = getStdin();
|
|
952
|
-
_debugLog('[iface="wasi:cli/stdin@0.2.
|
|
951
|
+
_debugLog('[iface="wasi:cli/stdin@0.2.6", function="get-stdin"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
953
952
|
endCurrentTask(0);
|
|
954
953
|
if (!(ret instanceof InputStream)) {
|
|
955
954
|
throw new TypeError('Resource error: Not a valid "InputStream" resource.');
|
|
@@ -960,7 +959,7 @@ let gen = (function* _initGenerator () {
|
|
|
960
959
|
captureTable2.set(rep, ret);
|
|
961
960
|
handle0 = rscTableCreateOwn(handleTable2, rep);
|
|
962
961
|
}
|
|
963
|
-
_debugLog('[iface="wasi:cli/stdin@0.2.
|
|
962
|
+
_debugLog('[iface="wasi:cli/stdin@0.2.6", function="get-stdin"][Instruction::Return]', {
|
|
964
963
|
funcName: 'get-stdin',
|
|
965
964
|
paramCount: 1,
|
|
966
965
|
async: false,
|
|
@@ -971,10 +970,10 @@ let gen = (function* _initGenerator () {
|
|
|
971
970
|
|
|
972
971
|
|
|
973
972
|
function trampoline11() {
|
|
974
|
-
_debugLog('[iface="wasi:cli/stdout@0.2.
|
|
973
|
+
_debugLog('[iface="wasi:cli/stdout@0.2.6", function="get-stdout"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
975
974
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-stdout');
|
|
976
975
|
const ret = getStdout();
|
|
977
|
-
_debugLog('[iface="wasi:cli/stdout@0.2.
|
|
976
|
+
_debugLog('[iface="wasi:cli/stdout@0.2.6", function="get-stdout"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
978
977
|
endCurrentTask(0);
|
|
979
978
|
if (!(ret instanceof OutputStream)) {
|
|
980
979
|
throw new TypeError('Resource error: Not a valid "OutputStream" resource.');
|
|
@@ -985,7 +984,7 @@ let gen = (function* _initGenerator () {
|
|
|
985
984
|
captureTable3.set(rep, ret);
|
|
986
985
|
handle0 = rscTableCreateOwn(handleTable3, rep);
|
|
987
986
|
}
|
|
988
|
-
_debugLog('[iface="wasi:cli/stdout@0.2.
|
|
987
|
+
_debugLog('[iface="wasi:cli/stdout@0.2.6", function="get-stdout"][Instruction::Return]', {
|
|
989
988
|
funcName: 'get-stdout',
|
|
990
989
|
paramCount: 1,
|
|
991
990
|
async: false,
|
|
@@ -996,10 +995,10 @@ let gen = (function* _initGenerator () {
|
|
|
996
995
|
|
|
997
996
|
|
|
998
997
|
function trampoline12() {
|
|
999
|
-
_debugLog('[iface="wasi:cli/stderr@0.2.
|
|
998
|
+
_debugLog('[iface="wasi:cli/stderr@0.2.6", function="get-stderr"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1000
999
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-stderr');
|
|
1001
1000
|
const ret = getStderr();
|
|
1002
|
-
_debugLog('[iface="wasi:cli/stderr@0.2.
|
|
1001
|
+
_debugLog('[iface="wasi:cli/stderr@0.2.6", function="get-stderr"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1003
1002
|
endCurrentTask(0);
|
|
1004
1003
|
if (!(ret instanceof OutputStream)) {
|
|
1005
1004
|
throw new TypeError('Resource error: Not a valid "OutputStream" resource.');
|
|
@@ -1010,7 +1009,7 @@ let gen = (function* _initGenerator () {
|
|
|
1010
1009
|
captureTable3.set(rep, ret);
|
|
1011
1010
|
handle0 = rscTableCreateOwn(handleTable3, rep);
|
|
1012
1011
|
}
|
|
1013
|
-
_debugLog('[iface="wasi:cli/stderr@0.2.
|
|
1012
|
+
_debugLog('[iface="wasi:cli/stderr@0.2.6", function="get-stderr"][Instruction::Return]', {
|
|
1014
1013
|
funcName: 'get-stderr',
|
|
1015
1014
|
paramCount: 1,
|
|
1016
1015
|
async: false,
|
|
@@ -1019,36 +1018,11 @@ let gen = (function* _initGenerator () {
|
|
|
1019
1018
|
return handle0;
|
|
1020
1019
|
}
|
|
1021
1020
|
|
|
1022
|
-
|
|
1023
|
-
function trampoline13(arg0) {
|
|
1024
|
-
_debugLog('[iface="wasi:clocks/monotonic-clock@0.2.12", function="subscribe-duration"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1025
|
-
const _interface_call_currentTaskID = startCurrentTask(0, false, 'subscribe-duration');
|
|
1026
|
-
const ret = subscribeDuration(BigInt.asUintN(64, arg0));
|
|
1027
|
-
_debugLog('[iface="wasi:clocks/monotonic-clock@0.2.12", function="subscribe-duration"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1028
|
-
endCurrentTask(0);
|
|
1029
|
-
if (!(ret instanceof Pollable)) {
|
|
1030
|
-
throw new TypeError('Resource error: Not a valid "Pollable" resource.');
|
|
1031
|
-
}
|
|
1032
|
-
var handle0 = ret[symbolRscHandle];
|
|
1033
|
-
if (!handle0) {
|
|
1034
|
-
const rep = ret[symbolRscRep] || ++captureCnt0;
|
|
1035
|
-
captureTable0.set(rep, ret);
|
|
1036
|
-
handle0 = rscTableCreateOwn(handleTable0, rep);
|
|
1037
|
-
}
|
|
1038
|
-
_debugLog('[iface="wasi:clocks/monotonic-clock@0.2.12", function="subscribe-duration"][Instruction::Return]', {
|
|
1039
|
-
funcName: 'subscribe-duration',
|
|
1040
|
-
paramCount: 1,
|
|
1041
|
-
async: false,
|
|
1042
|
-
postReturn: false
|
|
1043
|
-
});
|
|
1044
|
-
return handle0;
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
1021
|
let exports1;
|
|
1048
1022
|
let memory0;
|
|
1049
1023
|
let realloc0;
|
|
1050
1024
|
|
|
1051
|
-
function
|
|
1025
|
+
function trampoline13(arg0, arg1, arg2) {
|
|
1052
1026
|
var ptr0 = arg0;
|
|
1053
1027
|
var len0 = arg1;
|
|
1054
1028
|
var result0 = utf8Decoder.decode(new Uint8Array(memory0.buffer, ptr0, len0));
|
|
@@ -1095,7 +1069,7 @@ let gen = (function* _initGenerator () {
|
|
|
1095
1069
|
}
|
|
1096
1070
|
|
|
1097
1071
|
|
|
1098
|
-
function
|
|
1072
|
+
function trampoline14(arg0, arg1, arg2) {
|
|
1099
1073
|
var ptr0 = arg0;
|
|
1100
1074
|
var len0 = arg1;
|
|
1101
1075
|
var result0 = utf8Decoder.decode(new Uint8Array(memory0.buffer, ptr0, len0));
|
|
@@ -1117,7 +1091,7 @@ let gen = (function* _initGenerator () {
|
|
|
1117
1091
|
}
|
|
1118
1092
|
|
|
1119
1093
|
|
|
1120
|
-
function
|
|
1094
|
+
function trampoline15(arg0, arg1, arg2) {
|
|
1121
1095
|
var ptr0 = arg0;
|
|
1122
1096
|
var len0 = arg1;
|
|
1123
1097
|
var result0 = utf8Decoder.decode(new Uint8Array(memory0.buffer, ptr0, len0));
|
|
@@ -1164,16 +1138,16 @@ let gen = (function* _initGenerator () {
|
|
|
1164
1138
|
}
|
|
1165
1139
|
|
|
1166
1140
|
|
|
1167
|
-
function
|
|
1168
|
-
_debugLog('[iface="wasi:random/insecure-seed@0.2.
|
|
1141
|
+
function trampoline16(arg0) {
|
|
1142
|
+
_debugLog('[iface="wasi:random/insecure-seed@0.2.6", function="insecure-seed"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1169
1143
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'insecure-seed');
|
|
1170
1144
|
const ret = insecureSeed();
|
|
1171
|
-
_debugLog('[iface="wasi:random/insecure-seed@0.2.
|
|
1145
|
+
_debugLog('[iface="wasi:random/insecure-seed@0.2.6", function="insecure-seed"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1172
1146
|
endCurrentTask(0);
|
|
1173
1147
|
var [tuple0_0, tuple0_1] = ret;
|
|
1174
1148
|
dataView(memory0).setBigInt64(arg0 + 0, toUint64(tuple0_0), true);
|
|
1175
1149
|
dataView(memory0).setBigInt64(arg0 + 8, toUint64(tuple0_1), true);
|
|
1176
|
-
_debugLog('[iface="wasi:random/insecure-seed@0.2.
|
|
1150
|
+
_debugLog('[iface="wasi:random/insecure-seed@0.2.6", function="insecure-seed"][Instruction::Return]', {
|
|
1177
1151
|
funcName: 'insecure-seed',
|
|
1178
1152
|
paramCount: 0,
|
|
1179
1153
|
async: false,
|
|
@@ -1181,54 +1155,12 @@ let gen = (function* _initGenerator () {
|
|
|
1181
1155
|
});
|
|
1182
1156
|
}
|
|
1183
1157
|
|
|
1184
|
-
|
|
1185
|
-
function trampoline18(arg0, arg1, arg2) {
|
|
1186
|
-
var len3 = arg1;
|
|
1187
|
-
var base3 = arg0;
|
|
1188
|
-
var result3 = [];
|
|
1189
|
-
for (let i = 0; i < len3; i++) {
|
|
1190
|
-
const base = base3 + i * 4;
|
|
1191
|
-
var handle1 = dataView(memory0).getInt32(base + 0, true);
|
|
1192
|
-
var rep2 = handleTable0[(handle1 << 1) + 1] & ~T_FLAG;
|
|
1193
|
-
var rsc0 = captureTable0.get(rep2);
|
|
1194
|
-
if (!rsc0) {
|
|
1195
|
-
rsc0 = Object.create(Pollable.prototype);
|
|
1196
|
-
Object.defineProperty(rsc0, symbolRscHandle, { writable: true, value: handle1});
|
|
1197
|
-
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1198
|
-
}
|
|
1199
|
-
curResourceBorrows.push(rsc0);
|
|
1200
|
-
result3.push(rsc0);
|
|
1201
|
-
}
|
|
1202
|
-
_debugLog('[iface="wasi:io/poll@0.2.12", function="poll"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1203
|
-
const _interface_call_currentTaskID = startCurrentTask(0, false, 'poll');
|
|
1204
|
-
const ret = poll(result3);
|
|
1205
|
-
_debugLog('[iface="wasi:io/poll@0.2.12", function="poll"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1206
|
-
for (const rsc of curResourceBorrows) {
|
|
1207
|
-
rsc[symbolRscHandle] = undefined;
|
|
1208
|
-
}
|
|
1209
|
-
curResourceBorrows = [];
|
|
1210
|
-
endCurrentTask(0);
|
|
1211
|
-
var val4 = ret;
|
|
1212
|
-
var len4 = val4.length;
|
|
1213
|
-
var ptr4 = realloc0(0, 0, 4, len4 * 4);
|
|
1214
|
-
var src4 = new Uint8Array(val4.buffer, val4.byteOffset, len4 * 4);
|
|
1215
|
-
(new Uint8Array(memory0.buffer, ptr4, len4 * 4)).set(src4);
|
|
1216
|
-
dataView(memory0).setUint32(arg2 + 4, len4, true);
|
|
1217
|
-
dataView(memory0).setUint32(arg2 + 0, ptr4, true);
|
|
1218
|
-
_debugLog('[iface="wasi:io/poll@0.2.12", function="poll"][Instruction::Return]', {
|
|
1219
|
-
funcName: 'poll',
|
|
1220
|
-
paramCount: 0,
|
|
1221
|
-
async: false,
|
|
1222
|
-
postReturn: false
|
|
1223
|
-
});
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
1158
|
const handleTable1 = [T_FLAG, 0];
|
|
1227
1159
|
const captureTable1= new Map();
|
|
1228
1160
|
let captureCnt1 = 0;
|
|
1229
1161
|
handleTables[1] = handleTable1;
|
|
1230
1162
|
|
|
1231
|
-
function
|
|
1163
|
+
function trampoline17(arg0, arg1) {
|
|
1232
1164
|
var handle1 = arg0;
|
|
1233
1165
|
var rep2 = handleTable3[(handle1 << 1) + 1] & ~T_FLAG;
|
|
1234
1166
|
var rsc0 = captureTable3.get(rep2);
|
|
@@ -1238,7 +1170,7 @@ let gen = (function* _initGenerator () {
|
|
|
1238
1170
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1239
1171
|
}
|
|
1240
1172
|
curResourceBorrows.push(rsc0);
|
|
1241
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1173
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.check-write"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1242
1174
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]output-stream.check-write');
|
|
1243
1175
|
let ret;
|
|
1244
1176
|
try {
|
|
@@ -1246,7 +1178,7 @@ let gen = (function* _initGenerator () {
|
|
|
1246
1178
|
} catch (e) {
|
|
1247
1179
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1248
1180
|
}
|
|
1249
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1181
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.check-write"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1250
1182
|
for (const rsc of curResourceBorrows) {
|
|
1251
1183
|
rsc[symbolRscHandle] = undefined;
|
|
1252
1184
|
}
|
|
@@ -1294,7 +1226,7 @@ let gen = (function* _initGenerator () {
|
|
|
1294
1226
|
throw new TypeError('invalid variant specified for result');
|
|
1295
1227
|
}
|
|
1296
1228
|
}
|
|
1297
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1229
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.check-write"][Instruction::Return]', {
|
|
1298
1230
|
funcName: '[method]output-stream.check-write',
|
|
1299
1231
|
paramCount: 0,
|
|
1300
1232
|
async: false,
|
|
@@ -1303,7 +1235,7 @@ let gen = (function* _initGenerator () {
|
|
|
1303
1235
|
}
|
|
1304
1236
|
|
|
1305
1237
|
|
|
1306
|
-
function
|
|
1238
|
+
function trampoline18(arg0, arg1, arg2, arg3) {
|
|
1307
1239
|
var handle1 = arg0;
|
|
1308
1240
|
var rep2 = handleTable3[(handle1 << 1) + 1] & ~T_FLAG;
|
|
1309
1241
|
var rsc0 = captureTable3.get(rep2);
|
|
@@ -1316,7 +1248,7 @@ let gen = (function* _initGenerator () {
|
|
|
1316
1248
|
var ptr3 = arg1;
|
|
1317
1249
|
var len3 = arg2;
|
|
1318
1250
|
var result3 = new Uint8Array(memory0.buffer.slice(ptr3, ptr3 + len3 * 1));
|
|
1319
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1251
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.write"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1320
1252
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]output-stream.write');
|
|
1321
1253
|
let ret;
|
|
1322
1254
|
try {
|
|
@@ -1324,7 +1256,7 @@ let gen = (function* _initGenerator () {
|
|
|
1324
1256
|
} catch (e) {
|
|
1325
1257
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1326
1258
|
}
|
|
1327
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1259
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.write"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1328
1260
|
for (const rsc of curResourceBorrows) {
|
|
1329
1261
|
rsc[symbolRscHandle] = undefined;
|
|
1330
1262
|
}
|
|
@@ -1371,7 +1303,7 @@ let gen = (function* _initGenerator () {
|
|
|
1371
1303
|
throw new TypeError('invalid variant specified for result');
|
|
1372
1304
|
}
|
|
1373
1305
|
}
|
|
1374
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1306
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.write"][Instruction::Return]', {
|
|
1375
1307
|
funcName: '[method]output-stream.write',
|
|
1376
1308
|
paramCount: 0,
|
|
1377
1309
|
async: false,
|
|
@@ -1380,7 +1312,7 @@ let gen = (function* _initGenerator () {
|
|
|
1380
1312
|
}
|
|
1381
1313
|
|
|
1382
1314
|
|
|
1383
|
-
function
|
|
1315
|
+
function trampoline19(arg0, arg1) {
|
|
1384
1316
|
var handle1 = arg0;
|
|
1385
1317
|
var rep2 = handleTable3[(handle1 << 1) + 1] & ~T_FLAG;
|
|
1386
1318
|
var rsc0 = captureTable3.get(rep2);
|
|
@@ -1390,7 +1322,7 @@ let gen = (function* _initGenerator () {
|
|
|
1390
1322
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1391
1323
|
}
|
|
1392
1324
|
curResourceBorrows.push(rsc0);
|
|
1393
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1325
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.blocking-flush"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1394
1326
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]output-stream.blocking-flush');
|
|
1395
1327
|
let ret;
|
|
1396
1328
|
try {
|
|
@@ -1398,7 +1330,7 @@ let gen = (function* _initGenerator () {
|
|
|
1398
1330
|
} catch (e) {
|
|
1399
1331
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1400
1332
|
}
|
|
1401
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1333
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.blocking-flush"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1402
1334
|
for (const rsc of curResourceBorrows) {
|
|
1403
1335
|
rsc[symbolRscHandle] = undefined;
|
|
1404
1336
|
}
|
|
@@ -1445,7 +1377,7 @@ let gen = (function* _initGenerator () {
|
|
|
1445
1377
|
throw new TypeError('invalid variant specified for result');
|
|
1446
1378
|
}
|
|
1447
1379
|
}
|
|
1448
|
-
_debugLog('[iface="wasi:io/streams@0.2.
|
|
1380
|
+
_debugLog('[iface="wasi:io/streams@0.2.6", function="[method]output-stream.blocking-flush"][Instruction::Return]', {
|
|
1449
1381
|
funcName: '[method]output-stream.blocking-flush',
|
|
1450
1382
|
paramCount: 0,
|
|
1451
1383
|
async: false,
|
|
@@ -1458,7 +1390,7 @@ let gen = (function* _initGenerator () {
|
|
|
1458
1390
|
let captureCnt6 = 0;
|
|
1459
1391
|
handleTables[6] = handleTable6;
|
|
1460
1392
|
|
|
1461
|
-
function
|
|
1393
|
+
function trampoline20(arg0, arg1, arg2) {
|
|
1462
1394
|
var handle1 = arg0;
|
|
1463
1395
|
var rep2 = handleTable6[(handle1 << 1) + 1] & ~T_FLAG;
|
|
1464
1396
|
var rsc0 = captureTable6.get(rep2);
|
|
@@ -1468,7 +1400,7 @@ let gen = (function* _initGenerator () {
|
|
|
1468
1400
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1469
1401
|
}
|
|
1470
1402
|
curResourceBorrows.push(rsc0);
|
|
1471
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1403
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.read-via-stream"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1472
1404
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.read-via-stream');
|
|
1473
1405
|
let ret;
|
|
1474
1406
|
try {
|
|
@@ -1476,7 +1408,7 @@ let gen = (function* _initGenerator () {
|
|
|
1476
1408
|
} catch (e) {
|
|
1477
1409
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1478
1410
|
}
|
|
1479
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1411
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.read-via-stream"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1480
1412
|
for (const rsc of curResourceBorrows) {
|
|
1481
1413
|
rsc[symbolRscHandle] = undefined;
|
|
1482
1414
|
}
|
|
@@ -1668,7 +1600,7 @@ let gen = (function* _initGenerator () {
|
|
|
1668
1600
|
throw new TypeError('invalid variant specified for result');
|
|
1669
1601
|
}
|
|
1670
1602
|
}
|
|
1671
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1603
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.read-via-stream"][Instruction::Return]', {
|
|
1672
1604
|
funcName: '[method]descriptor.read-via-stream',
|
|
1673
1605
|
paramCount: 0,
|
|
1674
1606
|
async: false,
|
|
@@ -1677,7 +1609,7 @@ let gen = (function* _initGenerator () {
|
|
|
1677
1609
|
}
|
|
1678
1610
|
|
|
1679
1611
|
|
|
1680
|
-
function
|
|
1612
|
+
function trampoline21(arg0, arg1, arg2) {
|
|
1681
1613
|
var handle1 = arg0;
|
|
1682
1614
|
var rep2 = handleTable6[(handle1 << 1) + 1] & ~T_FLAG;
|
|
1683
1615
|
var rsc0 = captureTable6.get(rep2);
|
|
@@ -1687,7 +1619,7 @@ let gen = (function* _initGenerator () {
|
|
|
1687
1619
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1688
1620
|
}
|
|
1689
1621
|
curResourceBorrows.push(rsc0);
|
|
1690
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1622
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.write-via-stream"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1691
1623
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.write-via-stream');
|
|
1692
1624
|
let ret;
|
|
1693
1625
|
try {
|
|
@@ -1695,7 +1627,7 @@ let gen = (function* _initGenerator () {
|
|
|
1695
1627
|
} catch (e) {
|
|
1696
1628
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1697
1629
|
}
|
|
1698
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1630
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.write-via-stream"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1699
1631
|
for (const rsc of curResourceBorrows) {
|
|
1700
1632
|
rsc[symbolRscHandle] = undefined;
|
|
1701
1633
|
}
|
|
@@ -1887,7 +1819,7 @@ let gen = (function* _initGenerator () {
|
|
|
1887
1819
|
throw new TypeError('invalid variant specified for result');
|
|
1888
1820
|
}
|
|
1889
1821
|
}
|
|
1890
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1822
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.write-via-stream"][Instruction::Return]', {
|
|
1891
1823
|
funcName: '[method]descriptor.write-via-stream',
|
|
1892
1824
|
paramCount: 0,
|
|
1893
1825
|
async: false,
|
|
@@ -1896,7 +1828,7 @@ let gen = (function* _initGenerator () {
|
|
|
1896
1828
|
}
|
|
1897
1829
|
|
|
1898
1830
|
|
|
1899
|
-
function
|
|
1831
|
+
function trampoline22(arg0, arg1) {
|
|
1900
1832
|
var handle1 = arg0;
|
|
1901
1833
|
var rep2 = handleTable6[(handle1 << 1) + 1] & ~T_FLAG;
|
|
1902
1834
|
var rsc0 = captureTable6.get(rep2);
|
|
@@ -1906,7 +1838,7 @@ let gen = (function* _initGenerator () {
|
|
|
1906
1838
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
1907
1839
|
}
|
|
1908
1840
|
curResourceBorrows.push(rsc0);
|
|
1909
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1841
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.append-via-stream"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
1910
1842
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.append-via-stream');
|
|
1911
1843
|
let ret;
|
|
1912
1844
|
try {
|
|
@@ -1914,7 +1846,7 @@ let gen = (function* _initGenerator () {
|
|
|
1914
1846
|
} catch (e) {
|
|
1915
1847
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
1916
1848
|
}
|
|
1917
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
1849
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.append-via-stream"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
1918
1850
|
for (const rsc of curResourceBorrows) {
|
|
1919
1851
|
rsc[symbolRscHandle] = undefined;
|
|
1920
1852
|
}
|
|
@@ -2106,7 +2038,7 @@ let gen = (function* _initGenerator () {
|
|
|
2106
2038
|
throw new TypeError('invalid variant specified for result');
|
|
2107
2039
|
}
|
|
2108
2040
|
}
|
|
2109
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2041
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.append-via-stream"][Instruction::Return]', {
|
|
2110
2042
|
funcName: '[method]descriptor.append-via-stream',
|
|
2111
2043
|
paramCount: 0,
|
|
2112
2044
|
async: false,
|
|
@@ -2115,7 +2047,7 @@ let gen = (function* _initGenerator () {
|
|
|
2115
2047
|
}
|
|
2116
2048
|
|
|
2117
2049
|
|
|
2118
|
-
function
|
|
2050
|
+
function trampoline23(arg0, arg1) {
|
|
2119
2051
|
var handle1 = arg0;
|
|
2120
2052
|
var rep2 = handleTable6[(handle1 << 1) + 1] & ~T_FLAG;
|
|
2121
2053
|
var rsc0 = captureTable6.get(rep2);
|
|
@@ -2125,7 +2057,7 @@ let gen = (function* _initGenerator () {
|
|
|
2125
2057
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
2126
2058
|
}
|
|
2127
2059
|
curResourceBorrows.push(rsc0);
|
|
2128
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2060
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.get-flags"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
2129
2061
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.get-flags');
|
|
2130
2062
|
let ret;
|
|
2131
2063
|
try {
|
|
@@ -2133,7 +2065,7 @@ let gen = (function* _initGenerator () {
|
|
|
2133
2065
|
} catch (e) {
|
|
2134
2066
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
2135
2067
|
}
|
|
2136
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2068
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.get-flags"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
2137
2069
|
for (const rsc of curResourceBorrows) {
|
|
2138
2070
|
rsc[symbolRscHandle] = undefined;
|
|
2139
2071
|
}
|
|
@@ -2322,7 +2254,7 @@ let gen = (function* _initGenerator () {
|
|
|
2322
2254
|
throw new TypeError('invalid variant specified for result');
|
|
2323
2255
|
}
|
|
2324
2256
|
}
|
|
2325
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2257
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.get-flags"][Instruction::Return]', {
|
|
2326
2258
|
funcName: '[method]descriptor.get-flags',
|
|
2327
2259
|
paramCount: 0,
|
|
2328
2260
|
async: false,
|
|
@@ -2331,7 +2263,7 @@ let gen = (function* _initGenerator () {
|
|
|
2331
2263
|
}
|
|
2332
2264
|
|
|
2333
2265
|
|
|
2334
|
-
function
|
|
2266
|
+
function trampoline24(arg0, arg1) {
|
|
2335
2267
|
var handle1 = arg0;
|
|
2336
2268
|
var rep2 = handleTable6[(handle1 << 1) + 1] & ~T_FLAG;
|
|
2337
2269
|
var rsc0 = captureTable6.get(rep2);
|
|
@@ -2341,7 +2273,7 @@ let gen = (function* _initGenerator () {
|
|
|
2341
2273
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
2342
2274
|
}
|
|
2343
2275
|
curResourceBorrows.push(rsc0);
|
|
2344
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2276
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.stat"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
2345
2277
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.stat');
|
|
2346
2278
|
let ret;
|
|
2347
2279
|
try {
|
|
@@ -2349,7 +2281,7 @@ let gen = (function* _initGenerator () {
|
|
|
2349
2281
|
} catch (e) {
|
|
2350
2282
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
2351
2283
|
}
|
|
2352
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2284
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.stat"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
2353
2285
|
for (const rsc of curResourceBorrows) {
|
|
2354
2286
|
rsc[symbolRscHandle] = undefined;
|
|
2355
2287
|
}
|
|
@@ -2608,7 +2540,7 @@ let gen = (function* _initGenerator () {
|
|
|
2608
2540
|
throw new TypeError('invalid variant specified for result');
|
|
2609
2541
|
}
|
|
2610
2542
|
}
|
|
2611
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2543
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.stat"][Instruction::Return]', {
|
|
2612
2544
|
funcName: '[method]descriptor.stat',
|
|
2613
2545
|
paramCount: 0,
|
|
2614
2546
|
async: false,
|
|
@@ -2617,7 +2549,7 @@ let gen = (function* _initGenerator () {
|
|
|
2617
2549
|
}
|
|
2618
2550
|
|
|
2619
2551
|
|
|
2620
|
-
function
|
|
2552
|
+
function trampoline25(arg0, arg1, arg2, arg3, arg4) {
|
|
2621
2553
|
var handle1 = arg0;
|
|
2622
2554
|
var rep2 = handleTable6[(handle1 << 1) + 1] & ~T_FLAG;
|
|
2623
2555
|
var rsc0 = captureTable6.get(rep2);
|
|
@@ -2636,7 +2568,7 @@ let gen = (function* _initGenerator () {
|
|
|
2636
2568
|
var ptr4 = arg2;
|
|
2637
2569
|
var len4 = arg3;
|
|
2638
2570
|
var result4 = utf8Decoder.decode(new Uint8Array(memory0.buffer, ptr4, len4));
|
|
2639
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2571
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.stat-at"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
2640
2572
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.stat-at');
|
|
2641
2573
|
let ret;
|
|
2642
2574
|
try {
|
|
@@ -2644,7 +2576,7 @@ let gen = (function* _initGenerator () {
|
|
|
2644
2576
|
} catch (e) {
|
|
2645
2577
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
2646
2578
|
}
|
|
2647
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2579
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.stat-at"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
2648
2580
|
for (const rsc of curResourceBorrows) {
|
|
2649
2581
|
rsc[symbolRscHandle] = undefined;
|
|
2650
2582
|
}
|
|
@@ -2903,7 +2835,7 @@ let gen = (function* _initGenerator () {
|
|
|
2903
2835
|
throw new TypeError('invalid variant specified for result');
|
|
2904
2836
|
}
|
|
2905
2837
|
}
|
|
2906
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2838
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.stat-at"][Instruction::Return]', {
|
|
2907
2839
|
funcName: '[method]descriptor.stat-at',
|
|
2908
2840
|
paramCount: 0,
|
|
2909
2841
|
async: false,
|
|
@@ -2912,7 +2844,7 @@ let gen = (function* _initGenerator () {
|
|
|
2912
2844
|
}
|
|
2913
2845
|
|
|
2914
2846
|
|
|
2915
|
-
function
|
|
2847
|
+
function trampoline26(arg0, arg1) {
|
|
2916
2848
|
var handle1 = arg0;
|
|
2917
2849
|
var rep2 = handleTable6[(handle1 << 1) + 1] & ~T_FLAG;
|
|
2918
2850
|
var rsc0 = captureTable6.get(rep2);
|
|
@@ -2922,7 +2854,7 @@ let gen = (function* _initGenerator () {
|
|
|
2922
2854
|
Object.defineProperty(rsc0, symbolRscRep, { writable: true, value: rep2});
|
|
2923
2855
|
}
|
|
2924
2856
|
curResourceBorrows.push(rsc0);
|
|
2925
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2857
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.metadata-hash"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
2926
2858
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.metadata-hash');
|
|
2927
2859
|
let ret;
|
|
2928
2860
|
try {
|
|
@@ -2930,7 +2862,7 @@ let gen = (function* _initGenerator () {
|
|
|
2930
2862
|
} catch (e) {
|
|
2931
2863
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
2932
2864
|
}
|
|
2933
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
2865
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.metadata-hash"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
2934
2866
|
for (const rsc of curResourceBorrows) {
|
|
2935
2867
|
rsc[symbolRscHandle] = undefined;
|
|
2936
2868
|
}
|
|
@@ -3115,7 +3047,7 @@ let gen = (function* _initGenerator () {
|
|
|
3115
3047
|
throw new TypeError('invalid variant specified for result');
|
|
3116
3048
|
}
|
|
3117
3049
|
}
|
|
3118
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
3050
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.metadata-hash"][Instruction::Return]', {
|
|
3119
3051
|
funcName: '[method]descriptor.metadata-hash',
|
|
3120
3052
|
paramCount: 0,
|
|
3121
3053
|
async: false,
|
|
@@ -3124,7 +3056,7 @@ let gen = (function* _initGenerator () {
|
|
|
3124
3056
|
}
|
|
3125
3057
|
|
|
3126
3058
|
|
|
3127
|
-
function
|
|
3059
|
+
function trampoline27(arg0, arg1, arg2, arg3, arg4) {
|
|
3128
3060
|
var handle1 = arg0;
|
|
3129
3061
|
var rep2 = handleTable6[(handle1 << 1) + 1] & ~T_FLAG;
|
|
3130
3062
|
var rsc0 = captureTable6.get(rep2);
|
|
@@ -3143,7 +3075,7 @@ let gen = (function* _initGenerator () {
|
|
|
3143
3075
|
var ptr4 = arg2;
|
|
3144
3076
|
var len4 = arg3;
|
|
3145
3077
|
var result4 = utf8Decoder.decode(new Uint8Array(memory0.buffer, ptr4, len4));
|
|
3146
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
3078
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.metadata-hash-at"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3147
3079
|
const _interface_call_currentTaskID = startCurrentTask(0, false, '[method]descriptor.metadata-hash-at');
|
|
3148
3080
|
let ret;
|
|
3149
3081
|
try {
|
|
@@ -3151,7 +3083,7 @@ let gen = (function* _initGenerator () {
|
|
|
3151
3083
|
} catch (e) {
|
|
3152
3084
|
ret = { tag: 'err', val: getErrorPayload(e) };
|
|
3153
3085
|
}
|
|
3154
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
3086
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.metadata-hash-at"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3155
3087
|
for (const rsc of curResourceBorrows) {
|
|
3156
3088
|
rsc[symbolRscHandle] = undefined;
|
|
3157
3089
|
}
|
|
@@ -3336,7 +3268,7 @@ let gen = (function* _initGenerator () {
|
|
|
3336
3268
|
throw new TypeError('invalid variant specified for result');
|
|
3337
3269
|
}
|
|
3338
3270
|
}
|
|
3339
|
-
_debugLog('[iface="wasi:filesystem/types@0.2.
|
|
3271
|
+
_debugLog('[iface="wasi:filesystem/types@0.2.6", function="[method]descriptor.metadata-hash-at"][Instruction::Return]', {
|
|
3340
3272
|
funcName: '[method]descriptor.metadata-hash-at',
|
|
3341
3273
|
paramCount: 0,
|
|
3342
3274
|
async: false,
|
|
@@ -3345,11 +3277,11 @@ let gen = (function* _initGenerator () {
|
|
|
3345
3277
|
}
|
|
3346
3278
|
|
|
3347
3279
|
|
|
3348
|
-
function
|
|
3349
|
-
_debugLog('[iface="wasi:cli/environment@0.2.
|
|
3280
|
+
function trampoline28(arg0) {
|
|
3281
|
+
_debugLog('[iface="wasi:cli/environment@0.2.6", function="get-environment"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3350
3282
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-environment');
|
|
3351
3283
|
const ret = getEnvironment();
|
|
3352
|
-
_debugLog('[iface="wasi:cli/environment@0.2.
|
|
3284
|
+
_debugLog('[iface="wasi:cli/environment@0.2.6", function="get-environment"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3353
3285
|
endCurrentTask(0);
|
|
3354
3286
|
var vec3 = ret;
|
|
3355
3287
|
var len3 = vec3.length;
|
|
@@ -3368,7 +3300,7 @@ let gen = (function* _initGenerator () {
|
|
|
3368
3300
|
}
|
|
3369
3301
|
dataView(memory0).setUint32(arg0 + 4, len3, true);
|
|
3370
3302
|
dataView(memory0).setUint32(arg0 + 0, result3, true);
|
|
3371
|
-
_debugLog('[iface="wasi:cli/environment@0.2.
|
|
3303
|
+
_debugLog('[iface="wasi:cli/environment@0.2.6", function="get-environment"][Instruction::Return]', {
|
|
3372
3304
|
funcName: 'get-environment',
|
|
3373
3305
|
paramCount: 0,
|
|
3374
3306
|
async: false,
|
|
@@ -3381,11 +3313,11 @@ let gen = (function* _initGenerator () {
|
|
|
3381
3313
|
let captureCnt4 = 0;
|
|
3382
3314
|
handleTables[4] = handleTable4;
|
|
3383
3315
|
|
|
3384
|
-
function
|
|
3385
|
-
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.
|
|
3316
|
+
function trampoline29(arg0) {
|
|
3317
|
+
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.6", function="get-terminal-stdin"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3386
3318
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-terminal-stdin');
|
|
3387
3319
|
const ret = getTerminalStdin();
|
|
3388
|
-
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.
|
|
3320
|
+
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.6", function="get-terminal-stdin"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3389
3321
|
endCurrentTask(0);
|
|
3390
3322
|
var variant1 = ret;
|
|
3391
3323
|
if (variant1 === null || variant1=== undefined) {
|
|
@@ -3404,7 +3336,7 @@ let gen = (function* _initGenerator () {
|
|
|
3404
3336
|
}
|
|
3405
3337
|
dataView(memory0).setInt32(arg0 + 4, handle0, true);
|
|
3406
3338
|
}
|
|
3407
|
-
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.
|
|
3339
|
+
_debugLog('[iface="wasi:cli/terminal-stdin@0.2.6", function="get-terminal-stdin"][Instruction::Return]', {
|
|
3408
3340
|
funcName: 'get-terminal-stdin',
|
|
3409
3341
|
paramCount: 0,
|
|
3410
3342
|
async: false,
|
|
@@ -3417,11 +3349,11 @@ let gen = (function* _initGenerator () {
|
|
|
3417
3349
|
let captureCnt5 = 0;
|
|
3418
3350
|
handleTables[5] = handleTable5;
|
|
3419
3351
|
|
|
3420
|
-
function
|
|
3421
|
-
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.
|
|
3352
|
+
function trampoline30(arg0) {
|
|
3353
|
+
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.6", function="get-terminal-stdout"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3422
3354
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-terminal-stdout');
|
|
3423
3355
|
const ret = getTerminalStdout();
|
|
3424
|
-
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.
|
|
3356
|
+
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.6", function="get-terminal-stdout"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3425
3357
|
endCurrentTask(0);
|
|
3426
3358
|
var variant1 = ret;
|
|
3427
3359
|
if (variant1 === null || variant1=== undefined) {
|
|
@@ -3440,7 +3372,7 @@ let gen = (function* _initGenerator () {
|
|
|
3440
3372
|
}
|
|
3441
3373
|
dataView(memory0).setInt32(arg0 + 4, handle0, true);
|
|
3442
3374
|
}
|
|
3443
|
-
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.
|
|
3375
|
+
_debugLog('[iface="wasi:cli/terminal-stdout@0.2.6", function="get-terminal-stdout"][Instruction::Return]', {
|
|
3444
3376
|
funcName: 'get-terminal-stdout',
|
|
3445
3377
|
paramCount: 0,
|
|
3446
3378
|
async: false,
|
|
@@ -3449,11 +3381,11 @@ let gen = (function* _initGenerator () {
|
|
|
3449
3381
|
}
|
|
3450
3382
|
|
|
3451
3383
|
|
|
3452
|
-
function
|
|
3453
|
-
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.
|
|
3384
|
+
function trampoline31(arg0) {
|
|
3385
|
+
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.6", function="get-terminal-stderr"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3454
3386
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-terminal-stderr');
|
|
3455
3387
|
const ret = getTerminalStderr();
|
|
3456
|
-
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.
|
|
3388
|
+
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.6", function="get-terminal-stderr"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3457
3389
|
endCurrentTask(0);
|
|
3458
3390
|
var variant1 = ret;
|
|
3459
3391
|
if (variant1 === null || variant1=== undefined) {
|
|
@@ -3472,7 +3404,7 @@ let gen = (function* _initGenerator () {
|
|
|
3472
3404
|
}
|
|
3473
3405
|
dataView(memory0).setInt32(arg0 + 4, handle0, true);
|
|
3474
3406
|
}
|
|
3475
|
-
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.
|
|
3407
|
+
_debugLog('[iface="wasi:cli/terminal-stderr@0.2.6", function="get-terminal-stderr"][Instruction::Return]', {
|
|
3476
3408
|
funcName: 'get-terminal-stderr',
|
|
3477
3409
|
paramCount: 0,
|
|
3478
3410
|
async: false,
|
|
@@ -3481,11 +3413,11 @@ let gen = (function* _initGenerator () {
|
|
|
3481
3413
|
}
|
|
3482
3414
|
|
|
3483
3415
|
|
|
3484
|
-
function
|
|
3485
|
-
_debugLog('[iface="wasi:filesystem/preopens@0.2.
|
|
3416
|
+
function trampoline32(arg0) {
|
|
3417
|
+
_debugLog('[iface="wasi:filesystem/preopens@0.2.6", function="get-directories"] [Instruction::CallInterface] (async? sync, @ enter)');
|
|
3486
3418
|
const _interface_call_currentTaskID = startCurrentTask(0, false, 'get-directories');
|
|
3487
3419
|
const ret = getDirectories();
|
|
3488
|
-
_debugLog('[iface="wasi:filesystem/preopens@0.2.
|
|
3420
|
+
_debugLog('[iface="wasi:filesystem/preopens@0.2.6", function="get-directories"] [Instruction::CallInterface] (sync, @ post-call)');
|
|
3489
3421
|
endCurrentTask(0);
|
|
3490
3422
|
var vec3 = ret;
|
|
3491
3423
|
var len3 = vec3.length;
|
|
@@ -3510,7 +3442,7 @@ let gen = (function* _initGenerator () {
|
|
|
3510
3442
|
}
|
|
3511
3443
|
dataView(memory0).setUint32(arg0 + 4, len3, true);
|
|
3512
3444
|
dataView(memory0).setUint32(arg0 + 0, result3, true);
|
|
3513
|
-
_debugLog('[iface="wasi:filesystem/preopens@0.2.
|
|
3445
|
+
_debugLog('[iface="wasi:filesystem/preopens@0.2.6", function="get-directories"][Instruction::Return]', {
|
|
3514
3446
|
funcName: 'get-directories',
|
|
3515
3447
|
paramCount: 0,
|
|
3516
3448
|
async: false,
|
|
@@ -3627,7 +3559,7 @@ let gen = (function* _initGenerator () {
|
|
|
3627
3559
|
'read-file': exports0['0'],
|
|
3628
3560
|
},
|
|
3629
3561
|
'wasi:cli/environment@0.2.0': {
|
|
3630
|
-
'get-environment': exports0['
|
|
3562
|
+
'get-environment': exports0['15'],
|
|
3631
3563
|
},
|
|
3632
3564
|
'wasi:cli/exit@0.2.0': {
|
|
3633
3565
|
exit: trampoline7,
|
|
@@ -3648,29 +3580,26 @@ let gen = (function* _initGenerator () {
|
|
|
3648
3580
|
'[resource-drop]terminal-output': trampoline5,
|
|
3649
3581
|
},
|
|
3650
3582
|
'wasi:cli/terminal-stderr@0.2.0': {
|
|
3651
|
-
'get-terminal-stderr': exports0['
|
|
3583
|
+
'get-terminal-stderr': exports0['18'],
|
|
3652
3584
|
},
|
|
3653
3585
|
'wasi:cli/terminal-stdin@0.2.0': {
|
|
3654
|
-
'get-terminal-stdin': exports0['
|
|
3586
|
+
'get-terminal-stdin': exports0['16'],
|
|
3655
3587
|
},
|
|
3656
3588
|
'wasi:cli/terminal-stdout@0.2.0': {
|
|
3657
|
-
'get-terminal-stdout': exports0['
|
|
3658
|
-
},
|
|
3659
|
-
'wasi:clocks/monotonic-clock@0.2.0': {
|
|
3660
|
-
'subscribe-duration': trampoline13,
|
|
3589
|
+
'get-terminal-stdout': exports0['17'],
|
|
3661
3590
|
},
|
|
3662
3591
|
'wasi:filesystem/preopens@0.2.0': {
|
|
3663
|
-
'get-directories': exports0['
|
|
3592
|
+
'get-directories': exports0['19'],
|
|
3664
3593
|
},
|
|
3665
3594
|
'wasi:filesystem/types@0.2.0': {
|
|
3666
|
-
'[method]descriptor.append-via-stream': exports0['
|
|
3667
|
-
'[method]descriptor.get-flags': exports0['
|
|
3668
|
-
'[method]descriptor.metadata-hash': exports0['
|
|
3669
|
-
'[method]descriptor.metadata-hash-at': exports0['
|
|
3670
|
-
'[method]descriptor.read-via-stream': exports0['
|
|
3671
|
-
'[method]descriptor.stat': exports0['
|
|
3672
|
-
'[method]descriptor.stat-at': exports0['
|
|
3673
|
-
'[method]descriptor.write-via-stream': exports0['
|
|
3595
|
+
'[method]descriptor.append-via-stream': exports0['9'],
|
|
3596
|
+
'[method]descriptor.get-flags': exports0['10'],
|
|
3597
|
+
'[method]descriptor.metadata-hash': exports0['13'],
|
|
3598
|
+
'[method]descriptor.metadata-hash-at': exports0['14'],
|
|
3599
|
+
'[method]descriptor.read-via-stream': exports0['7'],
|
|
3600
|
+
'[method]descriptor.stat': exports0['11'],
|
|
3601
|
+
'[method]descriptor.stat-at': exports0['12'],
|
|
3602
|
+
'[method]descriptor.write-via-stream': exports0['8'],
|
|
3674
3603
|
'[resource-drop]descriptor': trampoline6,
|
|
3675
3604
|
},
|
|
3676
3605
|
'wasi:io/error@0.2.0': {
|
|
@@ -3679,17 +3608,16 @@ let gen = (function* _initGenerator () {
|
|
|
3679
3608
|
'wasi:io/poll@0.2.0': {
|
|
3680
3609
|
'[method]pollable.block': trampoline8,
|
|
3681
3610
|
'[resource-drop]pollable': trampoline1,
|
|
3682
|
-
poll: exports0['4'],
|
|
3683
3611
|
},
|
|
3684
3612
|
'wasi:io/streams@0.2.0': {
|
|
3685
|
-
'[method]output-stream.blocking-flush': exports0['
|
|
3686
|
-
'[method]output-stream.check-write': exports0['
|
|
3613
|
+
'[method]output-stream.blocking-flush': exports0['6'],
|
|
3614
|
+
'[method]output-stream.check-write': exports0['4'],
|
|
3687
3615
|
'[method]output-stream.subscribe': trampoline9,
|
|
3688
|
-
'[method]output-stream.write': exports0['
|
|
3616
|
+
'[method]output-stream.write': exports0['5'],
|
|
3689
3617
|
'[resource-drop]input-stream': trampoline2,
|
|
3690
3618
|
'[resource-drop]output-stream': trampoline3,
|
|
3691
3619
|
},
|
|
3692
|
-
'wasi:random/insecure-seed@0.2.
|
|
3620
|
+
'wasi:random/insecure-seed@0.2.4': {
|
|
3693
3621
|
'insecure-seed': exports0['3'],
|
|
3694
3622
|
},
|
|
3695
3623
|
}));
|
|
@@ -3698,27 +3626,26 @@ let gen = (function* _initGenerator () {
|
|
|
3698
3626
|
({ exports: exports2 } = yield instantiateCore(yield module2, {
|
|
3699
3627
|
'': {
|
|
3700
3628
|
$imports: exports0.$imports,
|
|
3701
|
-
'0':
|
|
3702
|
-
'1':
|
|
3703
|
-
'10':
|
|
3704
|
-
'11':
|
|
3705
|
-
'12':
|
|
3706
|
-
'13':
|
|
3707
|
-
'14':
|
|
3708
|
-
'15':
|
|
3709
|
-
'16':
|
|
3710
|
-
'17':
|
|
3711
|
-
'18':
|
|
3712
|
-
'19':
|
|
3713
|
-
'2':
|
|
3714
|
-
'
|
|
3715
|
-
'
|
|
3716
|
-
'
|
|
3717
|
-
'
|
|
3718
|
-
'
|
|
3719
|
-
'
|
|
3720
|
-
'
|
|
3721
|
-
'9': trampoline23,
|
|
3629
|
+
'0': trampoline13,
|
|
3630
|
+
'1': trampoline14,
|
|
3631
|
+
'10': trampoline23,
|
|
3632
|
+
'11': trampoline24,
|
|
3633
|
+
'12': trampoline25,
|
|
3634
|
+
'13': trampoline26,
|
|
3635
|
+
'14': trampoline27,
|
|
3636
|
+
'15': trampoline28,
|
|
3637
|
+
'16': trampoline29,
|
|
3638
|
+
'17': trampoline30,
|
|
3639
|
+
'18': trampoline31,
|
|
3640
|
+
'19': trampoline32,
|
|
3641
|
+
'2': trampoline15,
|
|
3642
|
+
'3': trampoline16,
|
|
3643
|
+
'4': trampoline17,
|
|
3644
|
+
'5': trampoline18,
|
|
3645
|
+
'6': trampoline19,
|
|
3646
|
+
'7': trampoline20,
|
|
3647
|
+
'8': trampoline21,
|
|
3648
|
+
'9': trampoline22,
|
|
3722
3649
|
},
|
|
3723
3650
|
}));
|
|
3724
3651
|
postReturn0 = exports1['cabi_post_evaluate-marker'];
|
package/package.json
CHANGED