@bytecodealliance/jco 1.22.0 → 1.23.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/obj/wasm-tools.js CHANGED
@@ -174,8 +174,13 @@ const GLOBAL_COMPONENT_MEMORY_MAP = new Map();
174
174
  const CURRENT_TASK_META = {};
175
175
 
176
176
  function _getGlobalCurrentTaskMeta(componentIdx) {
177
+ if (componentIdx === null || componentIdx === undefined) {
178
+ throw new Error("missing/invalid component idx");
179
+ }
177
180
  const v = CURRENT_TASK_META[componentIdx];
178
- if (v === undefined || v === null) { return undefined; }
181
+ if (v === undefined || v === null) {
182
+ return undefined;
183
+ }
179
184
  return { ...v };
180
185
  }
181
186
 
@@ -242,7 +247,7 @@ async function _clearCurrentTask(args) {
242
247
  const { taskID, componentIdx } = args;
243
248
 
244
249
  const meta = CURRENT_TASK_META[componentIdx];
245
- if (!meta) { throw new Error(`missing current task meta for component idx [${componentIdx}]n`); }
250
+ if (!meta) { throw new Error(`missing current task meta for component idx [${componentIdx}]`); }
246
251
 
247
252
  if (meta.taskID !== taskID) {
248
253
  throw new Error(`task ID [${meta.taskID}] != requested ID [${taskID}]`);
@@ -1332,142 +1337,66 @@ class Waitable {
1332
1337
 
1333
1338
  const ERR_CTX_TABLES = {};
1334
1339
 
1335
- let dv = new DataView(new ArrayBuffer());
1336
- const dataView = mem => dv.buffer === mem.buffer ? dv : dv = new DataView(mem.buffer);
1337
-
1338
- function toUint64(val) {
1339
- const converted = BigInt(val)
1340
-
1341
- return BigInt.asUintN(64, converted);
1342
- }
1343
-
1344
-
1345
- function toUint32(val) {
1340
+ function contextGet(ctx) {
1341
+ const { componentIdx, slot } = ctx;
1342
+ if (componentIdx === undefined) { throw new TypeError("missing component idx"); }
1343
+ if (slot === undefined) { throw new TypeError("missing slot"); }
1346
1344
 
1347
- return val >>> 0;
1348
- }
1349
-
1350
- const utf16Decoder = new TextDecoder('utf-16');
1351
- const TEXT_DECODER_UTF8 = new TextDecoder();
1352
- const TEXT_ENCODER_UTF8 = new TextEncoder();
1353
-
1354
- function _utf8AllocateAndEncode(s, realloc, memory) {
1355
- if (typeof s !== 'string') {
1356
- throw new TypeError('expected a string, received [' + typeof s + ']');
1357
- }
1358
- if (s.length === 0) { return { ptr: 1, len: 0 }; }
1359
- let buf = TEXT_ENCODER_UTF8.encode(s);
1360
- let ptr = realloc(0, 0, 1, buf.length);
1361
- new Uint8Array(memory.buffer).set(buf, ptr);
1362
- const res = { ptr, len: buf.length, codepoints: [...s].length };
1363
- return res;
1364
- }
1365
-
1366
-
1367
- const T_FLAG = 1 << 30;
1368
-
1369
- function rscTableCreateOwn(table, rep) {
1370
- const free = table[0] & ~T_FLAG;
1371
- table._createdReps.add(rep);
1372
- if (free === 0) {
1373
- table.push(0);
1374
- table.push(rep | T_FLAG);
1375
- return (table.length >> 1) - 1;
1376
- }
1377
- table[0] = table[free << 1];
1378
- table[free << 1] = 0;
1379
- table[(free << 1) + 1] = rep | T_FLAG;
1380
- return free;
1381
- }
1382
-
1383
- function rscTableRemove(table, handle) {
1384
- const scope = table[handle << 1];
1385
- const val = table[(handle << 1) + 1];
1386
- const own = (val & T_FLAG) !== 0;
1387
- const rep = val & ~T_FLAG;
1388
- if (val === 0 || (scope & T_FLAG) !== 0) {
1389
- throw new TypeError("Invalid handle");
1390
- }
1391
- table[handle << 1] = table[0] | T_FLAG;
1392
- table[0] = handle | T_FLAG;
1393
- return { rep, scope, own };
1394
- }
1395
-
1396
- let curResourceBorrows = [];
1397
-
1398
- function getCurrentTask(componentIdx, taskID) {
1399
- let usedGlobal = false;
1400
- if (componentIdx === undefined || componentIdx === null) {
1401
- throw new Error('missing component idx'); // TODO(fix)
1402
- // componentIdx = ASYNC_CURRENT_COMPONENT_IDXS.at(-1);
1403
- // usedGlobal = true;
1345
+ const currentTaskMeta = _getGlobalCurrentTaskMeta(componentIdx);
1346
+ if (!currentTaskMeta) {
1347
+ throw new Error(`missing/incomplete global current task meta for component idx [${componentIdx}] during context set`);
1404
1348
  }
1349
+ const taskID = currentTaskMeta.taskID;
1405
1350
 
1406
- const taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
1407
- if (taskMetas === undefined || taskMetas.length === 0) { return undefined; }
1351
+ const taskMeta = getCurrentTask(componentIdx, taskID);
1352
+ if (!taskMeta) { throw new Error('failed to retrieve current task'); }
1408
1353
 
1409
- if (taskID) {
1410
- return taskMetas.find(meta => meta.task.id() === taskID);
1411
- }
1354
+ let task = taskMeta.task;
1355
+ if (!task) { throw new Error('invalid/missing current task in metadata while getting context'); }
1356
+
1357
+ _debugLog('[contextGet()] args', {
1358
+ slot,
1359
+ storage: task.storage,
1360
+ taskID: task.id(),
1361
+ componentIdx: task.componentIdx(),
1362
+ });
1412
1363
 
1413
- const taskMeta = taskMetas[taskMetas.length - 1];
1414
- if (!taskMeta || !taskMeta.task) { return undefined; }
1364
+ if (slot < 0 || slot >= task.storage.length) { throw new Error('invalid slot for current task'); }
1415
1365
 
1416
- return taskMeta;
1366
+ return task.storage[slot];
1417
1367
  }
1418
1368
 
1419
- function createNewCurrentTask(args) {
1420
- _debugLog('[createNewCurrentTask()] args', args);
1421
- const {
1422
- componentIdx,
1423
- isAsync,
1424
- isManualAsync,
1425
- entryFnName,
1426
- parentSubtaskID,
1427
- callbackFnName,
1428
- getCallbackFn,
1429
- getParamsFn,
1430
- stringEncoding,
1431
- errHandling,
1432
- getCalleeParamsFn,
1433
- resultPtr,
1434
- callingWasmExport,
1435
- } = args;
1436
- if (componentIdx === undefined || componentIdx === null) {
1437
- throw new Error('missing/invalid component instance index while starting task');
1438
- }
1439
- let taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
1440
- const callbackFn = getCallbackFn ? getCallbackFn() : null;
1369
+
1370
+ function contextSet(ctx, value) {
1371
+ const { componentIdx, slot } = ctx;
1372
+ if (componentIdx === undefined) { throw new TypeError("missing component idx"); }
1373
+ if (slot === undefined) { throw new TypeError("missing slot"); }
1374
+ if (!(_typeCheckValidI32(value))) { throw new Error('invalid value for context set (not valid i32)'); }
1441
1375
 
1442
- const newTask = new AsyncTask({
1443
- componentIdx,
1444
- isAsync,
1445
- isManualAsync,
1446
- entryFnName,
1447
- callbackFn,
1448
- callbackFnName,
1449
- stringEncoding,
1450
- getCalleeParamsFn,
1451
- resultPtr,
1452
- errHandling,
1453
- });
1376
+ const currentTaskMeta = _getGlobalCurrentTaskMeta(componentIdx);
1377
+ if (!currentTaskMeta) {
1378
+ throw new Error(`missing/incomplete global current task meta for component idx [${componentIdx}] during context set`);
1379
+ }
1380
+ const taskID = currentTaskMeta.taskID;
1454
1381
 
1455
- const newTaskID = newTask.id();
1456
- const newTaskMeta = { id: newTaskID, componentIdx, task: newTask };
1382
+ const taskMeta = getCurrentTask(componentIdx, taskID);
1383
+ if (!taskMeta) { throw new Error('failed to retrieve current task'); }
1457
1384
 
1458
- // NOTE: do not track host tasks
1459
- ASYNC_CURRENT_TASK_IDS.push(newTaskID);
1460
- ASYNC_CURRENT_COMPONENT_IDXS.push(componentIdx);
1385
+ let task = taskMeta.task;
1386
+ if (!task) { throw new Error('invalid/missing current task in metadata while setting context'); }
1461
1387
 
1462
- if (!taskMetas) {
1463
- taskMetas = [newTaskMeta];
1464
- ASYNC_TASKS_BY_COMPONENT_IDX.set(componentIdx, [newTaskMeta]);
1465
- } else {
1466
- taskMetas.push(newTaskMeta);
1467
- }
1388
+ _debugLog('[contextSet()] args', {
1389
+ slot,
1390
+ value,
1391
+ storage: task.storage,
1392
+ taskID: task.id(),
1393
+ componentIdx: task.componentIdx(),
1394
+ });
1468
1395
 
1469
- return [newTask, newTaskID];
1396
+ if (slot < 0 || slot >= task.storage.length) { throw new Error('invalid slot for current task'); }
1397
+ task.storage[slot] = value;
1470
1398
  }
1399
+
1471
1400
  const ASYNC_TASKS_BY_COMPONENT_IDX = new Map();
1472
1401
 
1473
1402
  class AsyncTask {
@@ -2158,6 +2087,153 @@ class Waitable {
2158
2087
  }
2159
2088
  }
2160
2089
 
2090
+ const ASYNC_EVENT_CODE = {
2091
+ NONE: 0,
2092
+ SUBTASK: 1,
2093
+ STREAM_READ: 2,
2094
+ STREAM_WRITE: 3,
2095
+ FUTURE_READ: 4,
2096
+ FUTURE_WRITE: 5,
2097
+ TASK_CANCELLED: 6,
2098
+ };
2099
+
2100
+ function getCurrentTask(componentIdx, taskID) {
2101
+ let usedGlobal = false;
2102
+ if (componentIdx === undefined || componentIdx === null) {
2103
+ throw new Error('missing component idx'); // TODO(fix)
2104
+ // componentIdx = ASYNC_CURRENT_COMPONENT_IDXS.at(-1);
2105
+ // usedGlobal = true;
2106
+ }
2107
+
2108
+ const taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
2109
+ if (taskMetas === undefined || taskMetas.length === 0) { return undefined; }
2110
+
2111
+ if (taskID) {
2112
+ return taskMetas.find(meta => meta.task.id() === taskID);
2113
+ }
2114
+
2115
+ const taskMeta = taskMetas[taskMetas.length - 1];
2116
+ if (!taskMeta || !taskMeta.task) { return undefined; }
2117
+
2118
+ return taskMeta;
2119
+ }
2120
+
2121
+ let dv = new DataView(new ArrayBuffer());
2122
+ const dataView = mem => dv.buffer === mem.buffer ? dv : dv = new DataView(mem.buffer);
2123
+
2124
+ function toUint64(val) {
2125
+ const converted = BigInt(val)
2126
+
2127
+ return BigInt.asUintN(64, converted);
2128
+ }
2129
+
2130
+
2131
+ function toUint32(val) {
2132
+
2133
+ return val >>> 0;
2134
+ }
2135
+
2136
+ const utf16Decoder = new TextDecoder('utf-16');
2137
+ const TEXT_DECODER_UTF8 = new TextDecoder();
2138
+ const TEXT_ENCODER_UTF8 = new TextEncoder();
2139
+
2140
+ function _utf8AllocateAndEncode(s, realloc, memory) {
2141
+ if (typeof s !== 'string') {
2142
+ throw new TypeError('expected a string, received [' + typeof s + ']');
2143
+ }
2144
+ if (s.length === 0) { return { ptr: 1, len: 0 }; }
2145
+ let buf = TEXT_ENCODER_UTF8.encode(s);
2146
+ let ptr = realloc(0, 0, 1, buf.length);
2147
+ new Uint8Array(memory.buffer).set(buf, ptr);
2148
+ const res = { ptr, len: buf.length, codepoints: [...s].length };
2149
+ return res;
2150
+ }
2151
+
2152
+
2153
+ const T_FLAG = 1 << 30;
2154
+
2155
+ function rscTableCreateOwn(table, rep) {
2156
+ const free = table[0] & ~T_FLAG;
2157
+ table._createdReps.add(rep);
2158
+ if (free === 0) {
2159
+ table.push(0);
2160
+ table.push(rep | T_FLAG);
2161
+ return (table.length >> 1) - 1;
2162
+ }
2163
+ table[0] = table[free << 1];
2164
+ table[free << 1] = 0;
2165
+ table[(free << 1) + 1] = rep | T_FLAG;
2166
+ return free;
2167
+ }
2168
+
2169
+ function rscTableRemove(table, handle) {
2170
+ const scope = table[handle << 1];
2171
+ const val = table[(handle << 1) + 1];
2172
+ const own = (val & T_FLAG) !== 0;
2173
+ const rep = val & ~T_FLAG;
2174
+ if (val === 0 || (scope & T_FLAG) !== 0) {
2175
+ throw new TypeError("Invalid handle");
2176
+ }
2177
+ table[handle << 1] = table[0] | T_FLAG;
2178
+ table[0] = handle | T_FLAG;
2179
+ return { rep, scope, own };
2180
+ }
2181
+
2182
+ let curResourceBorrows = [];
2183
+
2184
+ function createNewCurrentTask(args) {
2185
+ _debugLog('[createNewCurrentTask()] args', args);
2186
+ const {
2187
+ componentIdx,
2188
+ isAsync,
2189
+ isManualAsync,
2190
+ entryFnName,
2191
+ parentSubtaskID,
2192
+ callbackFnName,
2193
+ getCallbackFn,
2194
+ getParamsFn,
2195
+ stringEncoding,
2196
+ errHandling,
2197
+ getCalleeParamsFn,
2198
+ resultPtr,
2199
+ callingWasmExport,
2200
+ } = args;
2201
+ if (componentIdx === undefined || componentIdx === null) {
2202
+ throw new Error('missing/invalid component instance index while starting task');
2203
+ }
2204
+ let taskMetas = ASYNC_TASKS_BY_COMPONENT_IDX.get(componentIdx);
2205
+ const callbackFn = getCallbackFn ? getCallbackFn() : null;
2206
+
2207
+ const newTask = new AsyncTask({
2208
+ componentIdx,
2209
+ isAsync,
2210
+ isManualAsync,
2211
+ entryFnName,
2212
+ callbackFn,
2213
+ callbackFnName,
2214
+ stringEncoding,
2215
+ getCalleeParamsFn,
2216
+ resultPtr,
2217
+ errHandling,
2218
+ });
2219
+
2220
+ const newTaskID = newTask.id();
2221
+ const newTaskMeta = { id: newTaskID, componentIdx, task: newTask };
2222
+
2223
+ // NOTE: do not track host tasks
2224
+ ASYNC_CURRENT_TASK_IDS.push(newTaskID);
2225
+ ASYNC_CURRENT_COMPONENT_IDXS.push(componentIdx);
2226
+
2227
+ if (!taskMetas) {
2228
+ taskMetas = [newTaskMeta];
2229
+ ASYNC_TASKS_BY_COMPONENT_IDX.set(componentIdx, [newTaskMeta]);
2230
+ } else {
2231
+ taskMetas.push(newTaskMeta);
2232
+ }
2233
+
2234
+ return [newTask, newTaskID];
2235
+ }
2236
+
2161
2237
  function _lowerImportBackwardsCompat(args) {
2162
2238
  const params = [...arguments].slice(1);
2163
2239
  _debugLog('[_lowerImportBackwardsCompat()] args', { args, params });
@@ -2476,6 +2552,38 @@ function _lowerImportBackwardsCompat(args) {
2476
2552
  }
2477
2553
 
2478
2554
 
2555
+ function _liftFlatFloat64(ctx) {
2556
+ _debugLog('[_liftFlatFloat64()] args', { ctx });
2557
+ let val;
2558
+
2559
+ if (ctx.useDirectParams) {
2560
+ if (ctx.params.length === 0) {
2561
+ throw new Error('expected at least one single f64 argument');
2562
+ }
2563
+ val = ctx.params[0];
2564
+ ctx.params = ctx.params.slice(1);
2565
+
2566
+ if (ctx.inVariant) {
2567
+ const dv = new DataView(new ArrayBuffer(8));
2568
+ dv.setBigInt64(0, val);
2569
+ val = dv.getFloat64(0);
2570
+ }
2571
+
2572
+ return [val, ctx];
2573
+ }
2574
+
2575
+ if (ctx.storageLen !== undefined && ctx.storageLen < 8) {
2576
+ throw new Error(`insufficient storage ([${ctx.storageLen}] bytes) for lift (f64 requires 8 bytes)`);
2577
+ }
2578
+
2579
+ val = new DataView(ctx.memory.buffer).getFloat64(ctx.storagePtr, true);
2580
+ ctx.storagePtr += 8;
2581
+ if (ctx.storageLen !== undefined) { ctx.storageLen -= 8; }
2582
+
2583
+ return [val, ctx];
2584
+ }
2585
+
2586
+
2479
2587
  function _liftFlatStringAny(ctx) {
2480
2588
  switch (ctx.stringEncoding) {
2481
2589
  case 'utf8':
@@ -2493,8 +2601,9 @@ function _lowerImportBackwardsCompat(args) {
2493
2601
 
2494
2602
  if (ctx.useDirectParams) {
2495
2603
  if (ctx.params.length < 2) { throw new Error('expected at least two u32 arguments'); }
2496
- const offset = ctx.params[0];
2497
- if (!Number.isSafeInteger(offset)) { throw new Error('invalid offset'); }
2604
+ let offset = ctx.params[0];
2605
+ if (typeof offset === 'bigint') { offset = Number(offset); }
2606
+ if (!Number.isSafeInteger(offset)) { throw new Error('invalid offset'); }
2498
2607
  const len = ctx.params[1];
2499
2608
  if (!Number.isSafeInteger(len)) { throw new Error('invalid len'); }
2500
2609
  val = TEXT_DECODER_UTF8.decode(new DataView(ctx.memory.buffer, offset, len));
@@ -2524,6 +2633,7 @@ function _lowerImportBackwardsCompat(args) {
2524
2633
  if (ctx.useDirectParams) {
2525
2634
  if (ctx.params.length < 2) { throw new Error('expected at least two u32 arguments'); }
2526
2635
  const offset = ctx.params[0];
2636
+ if (typeof offset === 'bigint') { offset = Number(offset); }
2527
2637
  if (!Number.isSafeInteger(offset)) { throw new Error('invalid offset'); }
2528
2638
  const len = ctx.params[1];
2529
2639
  if (!Number.isSafeInteger(len)) { throw new Error('invalid len'); }
@@ -2542,17 +2652,30 @@ function _lowerImportBackwardsCompat(args) {
2542
2652
  return [val, ctx];
2543
2653
  }
2544
2654
 
2545
- function _liftFlatVariant(casesAndLiftFns) {
2655
+ function _liftFlatVariant(meta) {
2656
+ const {
2657
+ caseMetas,
2658
+ variantSize32,
2659
+ variantAlign32,
2660
+ variantPayloadOffset32,
2661
+ variantFlatCount,
2662
+ isEnum,
2663
+ } = meta;
2664
+
2546
2665
  return function _liftFlatVariantInner(ctx) {
2547
2666
  _debugLog('[_liftFlatVariant()] args', { ctx });
2548
-
2549
2667
  const origUseParams = ctx.useDirectParams;
2550
2668
 
2669
+ // If we're in the process of lifting a variant, we note
2670
+ // we are during any lifting that happens (e.g. to accomodate f32/f64 mechanics)
2671
+ const wasInVariant = ctx.inVariant;
2672
+ ctx.inVariant = true;
2673
+
2551
2674
  let caseIdx;
2552
2675
  let liftRes;
2553
2676
  const originalPtr = ctx.storagePtr;
2554
- const numCases = casesAndLiftFns.length;
2555
- if (casesAndLiftFns.length < 256) {
2677
+ const numCases = caseMetas.length;
2678
+ if (caseMetas.length < 256) {
2556
2679
  liftRes = _liftFlatU8(ctx);
2557
2680
  } else if (numCases >= 256 && numCases < 65536) {
2558
2681
  liftRes = _liftFlatU16(ctx);
@@ -2564,11 +2687,20 @@ function _lowerImportBackwardsCompat(args) {
2564
2687
  caseIdx = liftRes[0];
2565
2688
  ctx = liftRes[1];
2566
2689
 
2567
- const [ tag, liftFn, size32, align32, payloadOffset32, caseFlatCount, variantFlatCount ] = casesAndLiftFns[caseIdx];
2568
- if (payloadOffset32 === undefined) { throw new Error('unexpectedly missing payload offset'); }
2690
+ const [
2691
+ tag,
2692
+ liftFn,
2693
+ caseSize32,
2694
+ caseAlign32,
2695
+ caseFlatCount,
2696
+ ] = caseMetas[caseIdx];
2697
+
2698
+ if (variantPayloadOffset32 === undefined) {
2699
+ throw new Error('unexpectedly missing payload offset');
2700
+ }
2569
2701
 
2570
2702
  if (originalPtr !== undefined) {
2571
- ctx.storagePtr = originalPtr + payloadOffset32;
2703
+ ctx.storagePtr = originalPtr + variantPayloadOffset32;
2572
2704
  }
2573
2705
 
2574
2706
  let val;
@@ -2577,28 +2709,32 @@ function _lowerImportBackwardsCompat(args) {
2577
2709
  // NOTE: here we need to move past the entire object in memory
2578
2710
  // despite moving to the payload which we now know is missing/unnecessary
2579
2711
  if (originalPtr !== undefined) {
2580
- ctx.storagePtr = originalPtr + size32;
2712
+ ctx.storagePtr = originalPtr + variantSize32;
2581
2713
  }
2582
2714
  } else {
2715
+ if (ctx.useDirectParams && ctx.params && liftFn !== _liftFlatFloat64 && typeof ctx.params[0] === 'bigint') {
2716
+ if (ctx.params[0] > BigInt(Number.MAX_SAFE_INTEGER)) {
2717
+ throw new Error(`invalid value, reinterpreted i32/f32 too large: [${ctx.params[0]}]`);
2718
+ }
2719
+ ctx.params[0] = Number(ctx.params[0]);
2720
+ }
2721
+
2583
2722
  const [newVal, newCtx] = liftFn(ctx);
2584
2723
  val = { tag, val: newVal };
2585
2724
  ctx = newCtx;
2586
-
2587
- // NOTE: Padding can be left over after doing the lift if it was less than
2588
- // space left for the payload normally.
2589
- if (originalPtr !== undefined) {
2590
- ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr + size32);
2591
- }
2592
2725
  }
2593
2726
 
2594
2727
  if (origUseParams) {
2595
- if (caseFlatCount === undefined || variantFlatCount === undefined) {
2596
- throw new Error('variant flat count metadata is missing');
2597
- }
2598
- if (caseFlatCount === null || variantFlatCount === null) {
2728
+ if (variantFlatCount === undefined || variantFlatCount === null) {
2729
+ _debugLog('[_liftFlatVariant()] variant with unknown flat count', { ctx, meta });
2599
2730
  throw new Error('cannot lift variant with unknown flat count');
2600
2731
  }
2601
- const remainingPayloadParams = variantFlatCount - 1 - caseFlatCount;
2732
+ if (caseFlatCount === undefined || caseFlatCount === null) {
2733
+ _debugLog('[_liftFlatVariant()] case with unknown flat count', { ctx, meta, case: meta.caseMetas[caseIdx] });
2734
+ throw new Error('cannot lift case with unknown flat count');
2735
+ }
2736
+ // NOTE: enums can be tightly packed and do not have a descriminant
2737
+ const remainingPayloadParams = variantFlatCount - caseFlatCount - (isEnum ? 0 : 1);
2602
2738
  if (remainingPayloadParams < 0) {
2603
2739
  throw new Error(`invalid variant flat count metadata`);
2604
2740
  }
@@ -2609,10 +2745,12 @@ function _lowerImportBackwardsCompat(args) {
2609
2745
  }
2610
2746
 
2611
2747
  if (ctx.storagePtr !== undefined) {
2612
- const rem = ctx.storagePtr % align32;
2613
- if (rem !== 0) { ctx.storagePtr += align32 - rem; }
2748
+ const rem = ctx.storagePtr % variantAlign32;
2749
+ if (rem !== 0) { ctx.storagePtr += variantAlign32 - rem; }
2614
2750
  }
2615
2751
 
2752
+ ctx.inVariant = wasInVariant;
2753
+
2616
2754
  return [val, ctx];
2617
2755
  }
2618
2756
  }
@@ -2647,34 +2785,9 @@ function _lowerImportBackwardsCompat(args) {
2647
2785
  let liftResults;
2648
2786
  if (knownLen !== undefined) { // list with known length
2649
2787
  if (ctx.useDirectParams) {
2650
- if (ctx.memory === null) {
2651
- // If this lift should be using direct params,
2652
- // and the memory is missing, we are in the case where
2653
- // a fixed length list (or other value) is being passed only
2654
- // via parameters to the function.
2655
- //
2656
- // Normally, we would expect to use the direct parameters as a
2657
- // memory location + size, but in this case, *all* values are being passed directly,
2658
- // via params.
2659
- //
2660
- _debugLog('memory unexpectedly missing while lifting unknown length list', { ctx });
2661
- liftResults = [listValue(ctx.params.slice(0, knownLen)), ctx];
2662
- ctx.params = ctx.params.slice(knownLen);
2663
- } else {
2664
- // in-memory list with unknown length w/ direct params
2665
- const dataPtr = ctx.params[0];
2666
- ctx.params = ctx.params.slice(1);
2667
-
2668
- ctx.useDirectParams = false;
2669
- const originalPtr = ctx.storagePtr;
2670
- ctx.storageLen = knownLen * elemSize32;
2671
-
2672
- liftResults = readValuesAndReset(ctx, originalPtr, dataPtr, knownLen);
2673
-
2674
- ctx.useDirectParams = true;
2675
- ctx.storagePtr = undefined;
2676
- ctx.storageLen = undefined;
2677
- }
2788
+ _debugLog('memory unexpectedly missing while lifting unknown length list', { ctx });
2789
+ liftResults = [listValue(ctx.params.slice(0, knownLen)), ctx];
2790
+ ctx.params = ctx.params.slice(knownLen);
2678
2791
  } else { // indirect params
2679
2792
  if (ctx.memory === null) {
2680
2793
  _debugLog('memory unexpectedly missing while lifting known length list', { knownLen, ctx });
@@ -2765,10 +2878,11 @@ function _liftFlatFlags(meta) {
2765
2878
  }
2766
2879
  }
2767
2880
 
2768
- function _liftFlatResult(casesAndLiftFns) {
2881
+ function _liftFlatResult(meta) {
2882
+ const f = _liftFlatVariant(meta);
2769
2883
  return function _liftFlatResultInner(ctx) {
2770
2884
  _debugLog('[_liftFlatResult()] args', { ctx });
2771
- return _liftFlatVariant(casesAndLiftFns)(ctx);
2885
+ return f(ctx);
2772
2886
  }
2773
2887
  }
2774
2888
 
@@ -2915,9 +3029,11 @@ function _lowerFlatRecord(meta) {
2915
3029
  }
2916
3030
  }
2917
3031
 
2918
- function _lowerFlatVariant(lowerMetas) {
3032
+ function _lowerFlatVariant(meta) {
3033
+ const { variantSize32, variantAlign32, variantPayloadOffset32, caseMetas } = meta;
3034
+
2919
3035
  let caseLookup = {};
2920
- for (const [idx, meta] of lowerMetas.entries()) {
3036
+ for (const [idx, meta] of caseMetas.entries()) {
2921
3037
  let tag = meta[0];
2922
3038
  caseLookup[tag] = { discriminant: idx, meta };
2923
3039
  }
@@ -2931,30 +3047,30 @@ function _lowerFlatVariant(lowerMetas) {
2931
3047
  throw new Error(`missing tag [${tag}] (valid tags: ${Object.keys(caseLookup)})`);
2932
3048
  }
2933
3049
 
2934
- const [ _tag, lowerFn, size32, align32, payloadOffset32 ] = variantCase.meta;
3050
+ const [ _tag, lowerFn, caseSize32, caseAlign32, caseFlatCount ] = variantCase.meta;
2935
3051
 
2936
3052
  const originalPtr = ctx.storagePtr;
2937
3053
  ctx.vals = [variantCase.discriminant];
2938
3054
  let discLowerRes;
2939
- if (lowerMetas.length < 256) {
3055
+ if (caseMetas.length < 256) {
2940
3056
  discLowerRes = _lowerFlatU8(ctx);
2941
- } else if (lowerMetas.length >= 256 && lowerMetas.length < 65536) {
3057
+ } else if (caseMetas.length >= 256 && caseMetas.length < 65536) {
2942
3058
  discLowerRes = _lowerFlatU16(ctx);
2943
- } else if (lowerMetas.length >= 65536 && lowerMetas.length < 4_294_967_296) {
3059
+ } else if (caseMetas.length >= 65536 && caseMetas.length < 4_294_967_296) {
2944
3060
  discLowerRes = _lowerFlatU32(ctx);
2945
3061
  } else {
2946
- throw new Error(`unsupported number of cases [${lowerMetas.length}]`);
3062
+ throw new Error(`unsupported number of cases [${caseMetas.length}]`);
2947
3063
  }
2948
3064
 
2949
- const payloadOffsetPtr = originalPtr + payloadOffset32;
3065
+ const payloadOffsetPtr = originalPtr + variantPayloadOffset32;
2950
3066
  ctx.storagePtr = payloadOffsetPtr;
2951
3067
  ctx.vals = [val];
2952
3068
  if (lowerFn) { lowerFn(ctx); }
2953
3069
 
2954
- ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr + size32);
3070
+ ctx.storagePtr = Math.max(ctx.storagePtr, originalPtr + variantSize32);
2955
3071
 
2956
- const rem = ctx.storagePtr % align32;
2957
- if (rem !== 0) { ctx.storagePtr += align32 - rem; }
3072
+ const rem = ctx.storagePtr % variantAlign32;
3073
+ if (rem !== 0) { ctx.storagePtr += varianttAlign32 - rem; }
2958
3074
  }
2959
3075
  }
2960
3076
 
@@ -3117,7 +3233,8 @@ function _lowerFlatFlags(meta) {
3117
3233
  }
3118
3234
  }
3119
3235
 
3120
- function _lowerFlatEnum(lowerMetas) {
3236
+ function _lowerFlatEnum(meta) {
3237
+ const f = _lowerFlatVariant(meta);
3121
3238
  return function _lowerFlatEnumInner(ctx) {
3122
3239
  _debugLog('[_lowerFlatEnum()] args', { ctx });
3123
3240
 
@@ -3129,11 +3246,12 @@ function _lowerFlatEnum(lowerMetas) {
3129
3246
  ctx.vals[0] = { tag: v };
3130
3247
  }
3131
3248
 
3132
- _lowerFlatVariant(lowerMetas)(ctx);
3249
+ f(ctx);
3133
3250
  }
3134
3251
  }
3135
3252
 
3136
- function _lowerFlatOption(lowerMetas) {
3253
+ function _lowerFlatOption(meta) {
3254
+ const f = _lowerFlatVariant(meta);
3137
3255
  return function _lowerFlatOptionInner(ctx) {
3138
3256
  _debugLog('[_lowerFlatOption()] args', { ctx });
3139
3257
 
@@ -3151,13 +3269,14 @@ function _lowerFlatOption(lowerMetas) {
3151
3269
  }
3152
3270
  }
3153
3271
 
3154
- _lowerFlatVariant(lowerMetas)(ctx);
3272
+ f(ctx);
3155
3273
  }
3156
3274
  }
3157
3275
 
3158
- function _lowerFlatResult(lowerMetas) {
3276
+ function _lowerFlatResult(meta) {
3277
+ const f = _lowerFlatVariant(meta);
3159
3278
  return function _lowerFlatResultInner(ctx) {
3160
- _debugLog('[_lowerFlatResult()] args', { lowerMetas });
3279
+ _debugLog('[_lowerFlatResult()] args', { ctx });
3161
3280
 
3162
3281
  const v = ctx.vals[0];
3163
3282
  const isNotResultObject = typeof v !== 'object'
@@ -3169,7 +3288,7 @@ function _lowerFlatResult(lowerMetas) {
3169
3288
  ctx.vals[0] = { tag: 'ok', val: v };
3170
3289
  }
3171
3290
 
3172
- _lowerFlatVariant(lowerMetas)(ctx);
3291
+ f(ctx);
3173
3292
  };
3174
3293
  }
3175
3294
 
@@ -11437,7 +11556,15 @@ null,
11437
11556
  componentIdx: 0,
11438
11557
  isAsync: false,
11439
11558
  isManualAsync: _trampoline10.manuallyAsync,
11440
- paramLiftFns: [_liftFlatResult([['ok', null, 1, 1, 1, 0, 1],['err', null, 1, 1, 1, 0, 1],])],
11559
+ paramLiftFns: [
11560
+ _liftFlatResult({
11561
+ caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
11562
+ variantSize32: 1,
11563
+ variantAlign32: 1,
11564
+ variantPayloadOffset32: 1,
11565
+ variantFlatCount: 1,
11566
+ })
11567
+ ],
11441
11568
  resultLowerFns: [],
11442
11569
  hasResultPointer: false,
11443
11570
  funcTypeIsAsync: false,
@@ -11457,7 +11584,15 @@ null,
11457
11584
  componentIdx: 0,
11458
11585
  isAsync: false,
11459
11586
  isManualAsync: _trampoline10.manuallyAsync,
11460
- paramLiftFns: [_liftFlatResult([['ok', null, 1, 1, 1, 0, 1],['err', null, 1, 1, 1, 0, 1],])],
11587
+ paramLiftFns: [
11588
+ _liftFlatResult({
11589
+ caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
11590
+ variantSize32: 1,
11591
+ variantAlign32: 1,
11592
+ variantPayloadOffset32: 1,
11593
+ variantFlatCount: 1,
11594
+ })
11595
+ ],
11461
11596
  resultLowerFns: [],
11462
11597
  hasResultPointer: false,
11463
11598
  funcTypeIsAsync: false,
@@ -11528,10 +11663,25 @@ null,
11528
11663
  isAsync: false,
11529
11664
  isManualAsync: _trampoline12.manuallyAsync,
11530
11665
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11531
- resultLowerFns: [_lowerFlatResult([
11532
- [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
11533
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11534
- ])
11666
+ resultLowerFns: [
11667
+ _lowerFlatResult({
11668
+ caseMetas: [
11669
+ [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
11670
+ [ 'err',
11671
+ _lowerFlatEnum({
11672
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11673
+ variantSize32: 1,
11674
+ variantAlign32: 1,
11675
+ variantPayloadOffset32: 1,
11676
+ variantFlatCount: 1,
11677
+ })
11678
+ , 2, 1, 1 ],
11679
+ ],
11680
+ variantSize32: 2,
11681
+ variantAlign32: 1,
11682
+ variantPayloadOffset32: 1,
11683
+ variantFlatCount: 2,
11684
+ })
11535
11685
  ],
11536
11686
  hasResultPointer: true,
11537
11687
  funcTypeIsAsync: false,
@@ -11552,10 +11702,25 @@ null,
11552
11702
  isAsync: false,
11553
11703
  isManualAsync: _trampoline12.manuallyAsync,
11554
11704
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11555
- resultLowerFns: [_lowerFlatResult([
11556
- [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
11557
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11558
- ])
11705
+ resultLowerFns: [
11706
+ _lowerFlatResult({
11707
+ caseMetas: [
11708
+ [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
11709
+ [ 'err',
11710
+ _lowerFlatEnum({
11711
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11712
+ variantSize32: 1,
11713
+ variantAlign32: 1,
11714
+ variantPayloadOffset32: 1,
11715
+ variantFlatCount: 1,
11716
+ })
11717
+ , 2, 1, 1 ],
11718
+ ],
11719
+ variantSize32: 2,
11720
+ variantAlign32: 1,
11721
+ variantPayloadOffset32: 1,
11722
+ variantFlatCount: 2,
11723
+ })
11559
11724
  ],
11560
11725
  hasResultPointer: true,
11561
11726
  funcTypeIsAsync: false,
@@ -11577,10 +11742,33 @@ null,
11577
11742
  isAsync: false,
11578
11743
  isManualAsync: _trampoline13.manuallyAsync,
11579
11744
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11580
- resultLowerFns: [_lowerFlatResult([
11581
- [ 'ok', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 2, 1, 1 ],
11582
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11583
- ])
11745
+ resultLowerFns: [
11746
+ _lowerFlatResult({
11747
+ caseMetas: [
11748
+ [ 'ok',
11749
+ _lowerFlatEnum({
11750
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
11751
+ variantSize32: 1,
11752
+ variantAlign32: 1,
11753
+ variantPayloadOffset32: 1,
11754
+ variantFlatCount: 1,
11755
+ })
11756
+ , 2, 1, 1 ],
11757
+ [ 'err',
11758
+ _lowerFlatEnum({
11759
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11760
+ variantSize32: 1,
11761
+ variantAlign32: 1,
11762
+ variantPayloadOffset32: 1,
11763
+ variantFlatCount: 1,
11764
+ })
11765
+ , 2, 1, 1 ],
11766
+ ],
11767
+ variantSize32: 2,
11768
+ variantAlign32: 1,
11769
+ variantPayloadOffset32: 1,
11770
+ variantFlatCount: 2,
11771
+ })
11584
11772
  ],
11585
11773
  hasResultPointer: true,
11586
11774
  funcTypeIsAsync: false,
@@ -11601,10 +11789,33 @@ null,
11601
11789
  isAsync: false,
11602
11790
  isManualAsync: _trampoline13.manuallyAsync,
11603
11791
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11604
- resultLowerFns: [_lowerFlatResult([
11605
- [ 'ok', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 2, 1, 1 ],
11606
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11607
- ])
11792
+ resultLowerFns: [
11793
+ _lowerFlatResult({
11794
+ caseMetas: [
11795
+ [ 'ok',
11796
+ _lowerFlatEnum({
11797
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
11798
+ variantSize32: 1,
11799
+ variantAlign32: 1,
11800
+ variantPayloadOffset32: 1,
11801
+ variantFlatCount: 1,
11802
+ })
11803
+ , 2, 1, 1 ],
11804
+ [ 'err',
11805
+ _lowerFlatEnum({
11806
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11807
+ variantSize32: 1,
11808
+ variantAlign32: 1,
11809
+ variantPayloadOffset32: 1,
11810
+ variantFlatCount: 1,
11811
+ })
11812
+ , 2, 1, 1 ],
11813
+ ],
11814
+ variantSize32: 2,
11815
+ variantAlign32: 1,
11816
+ variantPayloadOffset32: 1,
11817
+ variantFlatCount: 2,
11818
+ })
11608
11819
  ],
11609
11820
  hasResultPointer: true,
11610
11821
  funcTypeIsAsync: false,
@@ -11626,10 +11837,25 @@ null,
11626
11837
  isAsync: false,
11627
11838
  isManualAsync: _trampoline14.manuallyAsync,
11628
11839
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11629
- resultLowerFns: [_lowerFlatResult([
11630
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11631
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 24, 8, 8 ],
11632
- ])
11840
+ resultLowerFns: [
11841
+ _lowerFlatResult({
11842
+ caseMetas: [
11843
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11844
+ [ 'err',
11845
+ _lowerFlatEnum({
11846
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11847
+ variantSize32: 1,
11848
+ variantAlign32: 1,
11849
+ variantPayloadOffset32: 1,
11850
+ variantFlatCount: 1,
11851
+ })
11852
+ , 24, 8, 8 ],
11853
+ ],
11854
+ variantSize32: 24,
11855
+ variantAlign32: 8,
11856
+ variantPayloadOffset32: 8,
11857
+ variantFlatCount: 3,
11858
+ })
11633
11859
  ],
11634
11860
  hasResultPointer: true,
11635
11861
  funcTypeIsAsync: false,
@@ -11650,10 +11876,25 @@ null,
11650
11876
  isAsync: false,
11651
11877
  isManualAsync: _trampoline14.manuallyAsync,
11652
11878
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11653
- resultLowerFns: [_lowerFlatResult([
11654
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11655
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 24, 8, 8 ],
11656
- ])
11879
+ resultLowerFns: [
11880
+ _lowerFlatResult({
11881
+ caseMetas: [
11882
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11883
+ [ 'err',
11884
+ _lowerFlatEnum({
11885
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11886
+ variantSize32: 1,
11887
+ variantAlign32: 1,
11888
+ variantPayloadOffset32: 1,
11889
+ variantFlatCount: 1,
11890
+ })
11891
+ , 24, 8, 8 ],
11892
+ ],
11893
+ variantSize32: 24,
11894
+ variantAlign32: 8,
11895
+ variantPayloadOffset32: 8,
11896
+ variantFlatCount: 3,
11897
+ })
11657
11898
  ],
11658
11899
  hasResultPointer: true,
11659
11900
  funcTypeIsAsync: false,
@@ -11675,10 +11916,25 @@ null,
11675
11916
  isAsync: false,
11676
11917
  isManualAsync: _trampoline15.manuallyAsync,
11677
11918
  paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
11678
- resultLowerFns: [_lowerFlatOption([
11679
- [ 'none', null, 2, 1, 1 ],
11680
- [ 'some', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11681
- ])
11919
+ resultLowerFns: [
11920
+ _lowerFlatOption({
11921
+ caseMetas: [
11922
+ [ 'none', null, 0, 0, 0 ],
11923
+ [ 'some',
11924
+ _lowerFlatEnum({
11925
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11926
+ variantSize32: 1,
11927
+ variantAlign32: 1,
11928
+ variantPayloadOffset32: 1,
11929
+ variantFlatCount: 1,
11930
+ })
11931
+ , 1, 1, 1],
11932
+ ],
11933
+ variantSize32: 2,
11934
+ variantAlign32: 1,
11935
+ variantPayloadOffset32: 1,
11936
+ variantFlatCount: 2,
11937
+ })
11682
11938
  ],
11683
11939
  hasResultPointer: true,
11684
11940
  funcTypeIsAsync: false,
@@ -11699,10 +11955,25 @@ null,
11699
11955
  isAsync: false,
11700
11956
  isManualAsync: _trampoline15.manuallyAsync,
11701
11957
  paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
11702
- resultLowerFns: [_lowerFlatOption([
11703
- [ 'none', null, 2, 1, 1 ],
11704
- [ 'some', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 2, 1, 1 ],
11705
- ])
11958
+ resultLowerFns: [
11959
+ _lowerFlatOption({
11960
+ caseMetas: [
11961
+ [ 'none', null, 0, 0, 0 ],
11962
+ [ 'some',
11963
+ _lowerFlatEnum({
11964
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
11965
+ variantSize32: 1,
11966
+ variantAlign32: 1,
11967
+ variantPayloadOffset32: 1,
11968
+ variantFlatCount: 1,
11969
+ })
11970
+ , 1, 1, 1],
11971
+ ],
11972
+ variantSize32: 2,
11973
+ variantAlign32: 1,
11974
+ variantPayloadOffset32: 1,
11975
+ variantFlatCount: 2,
11976
+ })
11706
11977
  ],
11707
11978
  hasResultPointer: true,
11708
11979
  funcTypeIsAsync: false,
@@ -11724,10 +11995,25 @@ null,
11724
11995
  isAsync: false,
11725
11996
  isManualAsync: _trampoline16.manuallyAsync,
11726
11997
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
11727
- resultLowerFns: [_lowerFlatResult([
11728
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11729
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 24, 8, 8 ],
11730
- ])
11998
+ resultLowerFns: [
11999
+ _lowerFlatResult({
12000
+ caseMetas: [
12001
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12002
+ [ 'err',
12003
+ _lowerFlatEnum({
12004
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12005
+ variantSize32: 1,
12006
+ variantAlign32: 1,
12007
+ variantPayloadOffset32: 1,
12008
+ variantFlatCount: 1,
12009
+ })
12010
+ , 24, 8, 8 ],
12011
+ ],
12012
+ variantSize32: 24,
12013
+ variantAlign32: 8,
12014
+ variantPayloadOffset32: 8,
12015
+ variantFlatCount: 3,
12016
+ })
11731
12017
  ],
11732
12018
  hasResultPointer: true,
11733
12019
  funcTypeIsAsync: false,
@@ -11748,10 +12034,25 @@ null,
11748
12034
  isAsync: false,
11749
12035
  isManualAsync: _trampoline16.manuallyAsync,
11750
12036
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
11751
- resultLowerFns: [_lowerFlatResult([
11752
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11753
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 24, 8, 8 ],
11754
- ])
12037
+ resultLowerFns: [
12038
+ _lowerFlatResult({
12039
+ caseMetas: [
12040
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12041
+ [ 'err',
12042
+ _lowerFlatEnum({
12043
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12044
+ variantSize32: 1,
12045
+ variantAlign32: 1,
12046
+ variantPayloadOffset32: 1,
12047
+ variantFlatCount: 1,
12048
+ })
12049
+ , 24, 8, 8 ],
12050
+ ],
12051
+ variantSize32: 24,
12052
+ variantAlign32: 8,
12053
+ variantPayloadOffset32: 8,
12054
+ variantFlatCount: 3,
12055
+ })
11755
12056
  ],
11756
12057
  hasResultPointer: true,
11757
12058
  funcTypeIsAsync: false,
@@ -11773,26 +12074,41 @@ null,
11773
12074
  isAsync: false,
11774
12075
  isManualAsync: _trampoline17.manuallyAsync,
11775
12076
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11776
- resultLowerFns: [_lowerFlatResult([
11777
- [ 'ok', _lowerFlatOwn({
11778
- componentIdx: 0,
11779
- lowerFn:
11780
- function lowerImportedOwnedHost_InputStream(obj) {
11781
- if (!(obj instanceof InputStream)) {
11782
- throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
11783
- }
11784
- let handle = obj[symbolRscHandle];
11785
- if (!handle) {
11786
- const rep = obj[symbolRscRep] || ++captureCnt1;
11787
- captureTable1.set(rep, obj);
11788
- handle = rscTableCreateOwn(handleTable1, rep);
12077
+ resultLowerFns: [
12078
+ _lowerFlatResult({
12079
+ caseMetas: [
12080
+ [ 'ok', _lowerFlatOwn({
12081
+ componentIdx: 0,
12082
+ lowerFn:
12083
+ function lowerImportedOwnedHost_InputStream(obj) {
12084
+ if (!(obj instanceof InputStream)) {
12085
+ throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
12086
+ }
12087
+ let handle = obj[symbolRscHandle];
12088
+ if (!handle) {
12089
+ const rep = obj[symbolRscRep] || ++captureCnt1;
12090
+ captureTable1.set(rep, obj);
12091
+ handle = rscTableCreateOwn(handleTable1, rep);
12092
+ }
12093
+ return handle;
11789
12094
  }
11790
- return handle;
11791
- }
11792
- ,
11793
- }), 8, 4, 4 ],
11794
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11795
- ])
12095
+ ,
12096
+ }), 8, 4, 4 ],
12097
+ [ 'err',
12098
+ _lowerFlatEnum({
12099
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12100
+ variantSize32: 1,
12101
+ variantAlign32: 1,
12102
+ variantPayloadOffset32: 1,
12103
+ variantFlatCount: 1,
12104
+ })
12105
+ , 8, 4, 4 ],
12106
+ ],
12107
+ variantSize32: 8,
12108
+ variantAlign32: 4,
12109
+ variantPayloadOffset32: 4,
12110
+ variantFlatCount: 2,
12111
+ })
11796
12112
  ],
11797
12113
  hasResultPointer: true,
11798
12114
  funcTypeIsAsync: false,
@@ -11813,26 +12129,41 @@ null,
11813
12129
  isAsync: false,
11814
12130
  isManualAsync: _trampoline17.manuallyAsync,
11815
12131
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11816
- resultLowerFns: [_lowerFlatResult([
11817
- [ 'ok', _lowerFlatOwn({
11818
- componentIdx: 0,
11819
- lowerFn:
11820
- function lowerImportedOwnedHost_InputStream(obj) {
11821
- if (!(obj instanceof InputStream)) {
11822
- throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
11823
- }
11824
- let handle = obj[symbolRscHandle];
11825
- if (!handle) {
11826
- const rep = obj[symbolRscRep] || ++captureCnt1;
11827
- captureTable1.set(rep, obj);
11828
- handle = rscTableCreateOwn(handleTable1, rep);
12132
+ resultLowerFns: [
12133
+ _lowerFlatResult({
12134
+ caseMetas: [
12135
+ [ 'ok', _lowerFlatOwn({
12136
+ componentIdx: 0,
12137
+ lowerFn:
12138
+ function lowerImportedOwnedHost_InputStream(obj) {
12139
+ if (!(obj instanceof InputStream)) {
12140
+ throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
12141
+ }
12142
+ let handle = obj[symbolRscHandle];
12143
+ if (!handle) {
12144
+ const rep = obj[symbolRscRep] || ++captureCnt1;
12145
+ captureTable1.set(rep, obj);
12146
+ handle = rscTableCreateOwn(handleTable1, rep);
12147
+ }
12148
+ return handle;
11829
12149
  }
11830
- return handle;
11831
- }
11832
- ,
11833
- }), 8, 4, 4 ],
11834
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11835
- ])
12150
+ ,
12151
+ }), 8, 4, 4 ],
12152
+ [ 'err',
12153
+ _lowerFlatEnum({
12154
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12155
+ variantSize32: 1,
12156
+ variantAlign32: 1,
12157
+ variantPayloadOffset32: 1,
12158
+ variantFlatCount: 1,
12159
+ })
12160
+ , 8, 4, 4 ],
12161
+ ],
12162
+ variantSize32: 8,
12163
+ variantAlign32: 4,
12164
+ variantPayloadOffset32: 4,
12165
+ variantFlatCount: 2,
12166
+ })
11836
12167
  ],
11837
12168
  hasResultPointer: true,
11838
12169
  funcTypeIsAsync: false,
@@ -11854,26 +12185,41 @@ null,
11854
12185
  isAsync: false,
11855
12186
  isManualAsync: _trampoline18.manuallyAsync,
11856
12187
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11857
- resultLowerFns: [_lowerFlatResult([
11858
- [ 'ok', _lowerFlatOwn({
11859
- componentIdx: 0,
11860
- lowerFn:
11861
- function lowerImportedOwnedHost_OutputStream(obj) {
11862
- if (!(obj instanceof OutputStream)) {
11863
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11864
- }
11865
- let handle = obj[symbolRscHandle];
11866
- if (!handle) {
11867
- const rep = obj[symbolRscRep] || ++captureCnt2;
11868
- captureTable2.set(rep, obj);
11869
- handle = rscTableCreateOwn(handleTable2, rep);
12188
+ resultLowerFns: [
12189
+ _lowerFlatResult({
12190
+ caseMetas: [
12191
+ [ 'ok', _lowerFlatOwn({
12192
+ componentIdx: 0,
12193
+ lowerFn:
12194
+ function lowerImportedOwnedHost_OutputStream(obj) {
12195
+ if (!(obj instanceof OutputStream)) {
12196
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
12197
+ }
12198
+ let handle = obj[symbolRscHandle];
12199
+ if (!handle) {
12200
+ const rep = obj[symbolRscRep] || ++captureCnt2;
12201
+ captureTable2.set(rep, obj);
12202
+ handle = rscTableCreateOwn(handleTable2, rep);
12203
+ }
12204
+ return handle;
11870
12205
  }
11871
- return handle;
11872
- }
11873
- ,
11874
- }), 8, 4, 4 ],
11875
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11876
- ])
12206
+ ,
12207
+ }), 8, 4, 4 ],
12208
+ [ 'err',
12209
+ _lowerFlatEnum({
12210
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12211
+ variantSize32: 1,
12212
+ variantAlign32: 1,
12213
+ variantPayloadOffset32: 1,
12214
+ variantFlatCount: 1,
12215
+ })
12216
+ , 8, 4, 4 ],
12217
+ ],
12218
+ variantSize32: 8,
12219
+ variantAlign32: 4,
12220
+ variantPayloadOffset32: 4,
12221
+ variantFlatCount: 2,
12222
+ })
11877
12223
  ],
11878
12224
  hasResultPointer: true,
11879
12225
  funcTypeIsAsync: false,
@@ -11894,26 +12240,41 @@ null,
11894
12240
  isAsync: false,
11895
12241
  isManualAsync: _trampoline18.manuallyAsync,
11896
12242
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11897
- resultLowerFns: [_lowerFlatResult([
11898
- [ 'ok', _lowerFlatOwn({
11899
- componentIdx: 0,
11900
- lowerFn:
11901
- function lowerImportedOwnedHost_OutputStream(obj) {
11902
- if (!(obj instanceof OutputStream)) {
11903
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11904
- }
11905
- let handle = obj[symbolRscHandle];
11906
- if (!handle) {
11907
- const rep = obj[symbolRscRep] || ++captureCnt2;
11908
- captureTable2.set(rep, obj);
11909
- handle = rscTableCreateOwn(handleTable2, rep);
12243
+ resultLowerFns: [
12244
+ _lowerFlatResult({
12245
+ caseMetas: [
12246
+ [ 'ok', _lowerFlatOwn({
12247
+ componentIdx: 0,
12248
+ lowerFn:
12249
+ function lowerImportedOwnedHost_OutputStream(obj) {
12250
+ if (!(obj instanceof OutputStream)) {
12251
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
12252
+ }
12253
+ let handle = obj[symbolRscHandle];
12254
+ if (!handle) {
12255
+ const rep = obj[symbolRscRep] || ++captureCnt2;
12256
+ captureTable2.set(rep, obj);
12257
+ handle = rscTableCreateOwn(handleTable2, rep);
12258
+ }
12259
+ return handle;
11910
12260
  }
11911
- return handle;
11912
- }
11913
- ,
11914
- }), 8, 4, 4 ],
11915
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11916
- ])
12261
+ ,
12262
+ }), 8, 4, 4 ],
12263
+ [ 'err',
12264
+ _lowerFlatEnum({
12265
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12266
+ variantSize32: 1,
12267
+ variantAlign32: 1,
12268
+ variantPayloadOffset32: 1,
12269
+ variantFlatCount: 1,
12270
+ })
12271
+ , 8, 4, 4 ],
12272
+ ],
12273
+ variantSize32: 8,
12274
+ variantAlign32: 4,
12275
+ variantPayloadOffset32: 4,
12276
+ variantFlatCount: 2,
12277
+ })
11917
12278
  ],
11918
12279
  hasResultPointer: true,
11919
12280
  funcTypeIsAsync: false,
@@ -11935,26 +12296,41 @@ null,
11935
12296
  isAsync: false,
11936
12297
  isManualAsync: _trampoline19.manuallyAsync,
11937
12298
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11938
- resultLowerFns: [_lowerFlatResult([
11939
- [ 'ok', _lowerFlatOwn({
11940
- componentIdx: 0,
11941
- lowerFn:
11942
- function lowerImportedOwnedHost_OutputStream(obj) {
11943
- if (!(obj instanceof OutputStream)) {
11944
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11945
- }
11946
- let handle = obj[symbolRscHandle];
11947
- if (!handle) {
11948
- const rep = obj[symbolRscRep] || ++captureCnt2;
11949
- captureTable2.set(rep, obj);
11950
- handle = rscTableCreateOwn(handleTable2, rep);
12299
+ resultLowerFns: [
12300
+ _lowerFlatResult({
12301
+ caseMetas: [
12302
+ [ 'ok', _lowerFlatOwn({
12303
+ componentIdx: 0,
12304
+ lowerFn:
12305
+ function lowerImportedOwnedHost_OutputStream(obj) {
12306
+ if (!(obj instanceof OutputStream)) {
12307
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
12308
+ }
12309
+ let handle = obj[symbolRscHandle];
12310
+ if (!handle) {
12311
+ const rep = obj[symbolRscRep] || ++captureCnt2;
12312
+ captureTable2.set(rep, obj);
12313
+ handle = rscTableCreateOwn(handleTable2, rep);
12314
+ }
12315
+ return handle;
11951
12316
  }
11952
- return handle;
11953
- }
11954
- ,
11955
- }), 8, 4, 4 ],
11956
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11957
- ])
12317
+ ,
12318
+ }), 8, 4, 4 ],
12319
+ [ 'err',
12320
+ _lowerFlatEnum({
12321
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12322
+ variantSize32: 1,
12323
+ variantAlign32: 1,
12324
+ variantPayloadOffset32: 1,
12325
+ variantFlatCount: 1,
12326
+ })
12327
+ , 8, 4, 4 ],
12328
+ ],
12329
+ variantSize32: 8,
12330
+ variantAlign32: 4,
12331
+ variantPayloadOffset32: 4,
12332
+ variantFlatCount: 2,
12333
+ })
11958
12334
  ],
11959
12335
  hasResultPointer: true,
11960
12336
  funcTypeIsAsync: false,
@@ -11975,26 +12351,41 @@ null,
11975
12351
  isAsync: false,
11976
12352
  isManualAsync: _trampoline19.manuallyAsync,
11977
12353
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11978
- resultLowerFns: [_lowerFlatResult([
11979
- [ 'ok', _lowerFlatOwn({
11980
- componentIdx: 0,
11981
- lowerFn:
11982
- function lowerImportedOwnedHost_OutputStream(obj) {
11983
- if (!(obj instanceof OutputStream)) {
11984
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11985
- }
11986
- let handle = obj[symbolRscHandle];
11987
- if (!handle) {
11988
- const rep = obj[symbolRscRep] || ++captureCnt2;
11989
- captureTable2.set(rep, obj);
11990
- handle = rscTableCreateOwn(handleTable2, rep);
12354
+ resultLowerFns: [
12355
+ _lowerFlatResult({
12356
+ caseMetas: [
12357
+ [ 'ok', _lowerFlatOwn({
12358
+ componentIdx: 0,
12359
+ lowerFn:
12360
+ function lowerImportedOwnedHost_OutputStream(obj) {
12361
+ if (!(obj instanceof OutputStream)) {
12362
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
12363
+ }
12364
+ let handle = obj[symbolRscHandle];
12365
+ if (!handle) {
12366
+ const rep = obj[symbolRscRep] || ++captureCnt2;
12367
+ captureTable2.set(rep, obj);
12368
+ handle = rscTableCreateOwn(handleTable2, rep);
12369
+ }
12370
+ return handle;
11991
12371
  }
11992
- return handle;
11993
- }
11994
- ,
11995
- }), 8, 4, 4 ],
11996
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
11997
- ])
12372
+ ,
12373
+ }), 8, 4, 4 ],
12374
+ [ 'err',
12375
+ _lowerFlatEnum({
12376
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12377
+ variantSize32: 1,
12378
+ variantAlign32: 1,
12379
+ variantPayloadOffset32: 1,
12380
+ variantFlatCount: 1,
12381
+ })
12382
+ , 8, 4, 4 ],
12383
+ ],
12384
+ variantSize32: 8,
12385
+ variantAlign32: 4,
12386
+ variantPayloadOffset32: 4,
12387
+ variantFlatCount: 2,
12388
+ })
11998
12389
  ],
11999
12390
  hasResultPointer: true,
12000
12391
  funcTypeIsAsync: false,
@@ -12016,26 +12407,41 @@ null,
12016
12407
  isAsync: false,
12017
12408
  isManualAsync: _trampoline20.manuallyAsync,
12018
12409
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
12019
- resultLowerFns: [_lowerFlatResult([
12020
- [ 'ok', _lowerFlatOwn({
12021
- componentIdx: 0,
12022
- lowerFn:
12023
- function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
12024
- if (!(obj instanceof DirectoryEntryStream)) {
12025
- throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
12026
- }
12027
- let handle = obj[symbolRscHandle];
12028
- if (!handle) {
12029
- const rep = obj[symbolRscRep] || ++captureCnt5;
12030
- captureTable5.set(rep, obj);
12031
- handle = rscTableCreateOwn(handleTable5, rep);
12410
+ resultLowerFns: [
12411
+ _lowerFlatResult({
12412
+ caseMetas: [
12413
+ [ 'ok', _lowerFlatOwn({
12414
+ componentIdx: 0,
12415
+ lowerFn:
12416
+ function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
12417
+ if (!(obj instanceof DirectoryEntryStream)) {
12418
+ throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
12419
+ }
12420
+ let handle = obj[symbolRscHandle];
12421
+ if (!handle) {
12422
+ const rep = obj[symbolRscRep] || ++captureCnt5;
12423
+ captureTable5.set(rep, obj);
12424
+ handle = rscTableCreateOwn(handleTable5, rep);
12425
+ }
12426
+ return handle;
12032
12427
  }
12033
- return handle;
12034
- }
12035
- ,
12036
- }), 8, 4, 4 ],
12037
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
12038
- ])
12428
+ ,
12429
+ }), 8, 4, 4 ],
12430
+ [ 'err',
12431
+ _lowerFlatEnum({
12432
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12433
+ variantSize32: 1,
12434
+ variantAlign32: 1,
12435
+ variantPayloadOffset32: 1,
12436
+ variantFlatCount: 1,
12437
+ })
12438
+ , 8, 4, 4 ],
12439
+ ],
12440
+ variantSize32: 8,
12441
+ variantAlign32: 4,
12442
+ variantPayloadOffset32: 4,
12443
+ variantFlatCount: 2,
12444
+ })
12039
12445
  ],
12040
12446
  hasResultPointer: true,
12041
12447
  funcTypeIsAsync: false,
@@ -12056,26 +12462,41 @@ null,
12056
12462
  isAsync: false,
12057
12463
  isManualAsync: _trampoline20.manuallyAsync,
12058
12464
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
12059
- resultLowerFns: [_lowerFlatResult([
12060
- [ 'ok', _lowerFlatOwn({
12061
- componentIdx: 0,
12062
- lowerFn:
12063
- function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
12064
- if (!(obj instanceof DirectoryEntryStream)) {
12065
- throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
12066
- }
12067
- let handle = obj[symbolRscHandle];
12068
- if (!handle) {
12069
- const rep = obj[symbolRscRep] || ++captureCnt5;
12070
- captureTable5.set(rep, obj);
12071
- handle = rscTableCreateOwn(handleTable5, rep);
12465
+ resultLowerFns: [
12466
+ _lowerFlatResult({
12467
+ caseMetas: [
12468
+ [ 'ok', _lowerFlatOwn({
12469
+ componentIdx: 0,
12470
+ lowerFn:
12471
+ function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
12472
+ if (!(obj instanceof DirectoryEntryStream)) {
12473
+ throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
12474
+ }
12475
+ let handle = obj[symbolRscHandle];
12476
+ if (!handle) {
12477
+ const rep = obj[symbolRscRep] || ++captureCnt5;
12478
+ captureTable5.set(rep, obj);
12479
+ handle = rscTableCreateOwn(handleTable5, rep);
12480
+ }
12481
+ return handle;
12072
12482
  }
12073
- return handle;
12074
- }
12075
- ,
12076
- }), 8, 4, 4 ],
12077
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
12078
- ])
12483
+ ,
12484
+ }), 8, 4, 4 ],
12485
+ [ 'err',
12486
+ _lowerFlatEnum({
12487
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12488
+ variantSize32: 1,
12489
+ variantAlign32: 1,
12490
+ variantPayloadOffset32: 1,
12491
+ variantFlatCount: 1,
12492
+ })
12493
+ , 8, 4, 4 ],
12494
+ ],
12495
+ variantSize32: 8,
12496
+ variantAlign32: 4,
12497
+ variantPayloadOffset32: 4,
12498
+ variantFlatCount: 2,
12499
+ })
12079
12500
  ],
12080
12501
  hasResultPointer: true,
12081
12502
  funcTypeIsAsync: false,
@@ -12097,22 +12518,66 @@ null,
12097
12518
  isAsync: false,
12098
12519
  isManualAsync: _trampoline21.manuallyAsync,
12099
12520
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
12100
- resultLowerFns: [_lowerFlatResult([
12101
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp', _lowerFlatOption([
12102
- [ 'none', null, 24, 8, 8 ],
12103
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12104
- ])
12105
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
12106
- [ 'none', null, 24, 8, 8 ],
12107
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12108
- ])
12109
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
12110
- [ 'none', null, 24, 8, 8 ],
12111
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12112
- ])
12113
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12114
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 104, 8, 8 ],
12115
- ])
12521
+ resultLowerFns: [
12522
+ _lowerFlatResult({
12523
+ caseMetas: [
12524
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
12525
+ _lowerFlatEnum({
12526
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
12527
+ variantSize32: 1,
12528
+ variantAlign32: 1,
12529
+ variantPayloadOffset32: 1,
12530
+ variantFlatCount: 1,
12531
+ })
12532
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
12533
+ _lowerFlatOption({
12534
+ caseMetas: [
12535
+ [ 'none', null, 0, 0, 0 ],
12536
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12537
+ ],
12538
+ variantSize32: 24,
12539
+ variantAlign32: 8,
12540
+ variantPayloadOffset32: 8,
12541
+ variantFlatCount: 3,
12542
+ })
12543
+ , 24, 8 ],['dataModificationTimestamp',
12544
+ _lowerFlatOption({
12545
+ caseMetas: [
12546
+ [ 'none', null, 0, 0, 0 ],
12547
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12548
+ ],
12549
+ variantSize32: 24,
12550
+ variantAlign32: 8,
12551
+ variantPayloadOffset32: 8,
12552
+ variantFlatCount: 3,
12553
+ })
12554
+ , 24, 8 ],['statusChangeTimestamp',
12555
+ _lowerFlatOption({
12556
+ caseMetas: [
12557
+ [ 'none', null, 0, 0, 0 ],
12558
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12559
+ ],
12560
+ variantSize32: 24,
12561
+ variantAlign32: 8,
12562
+ variantPayloadOffset32: 8,
12563
+ variantFlatCount: 3,
12564
+ })
12565
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12566
+ [ 'err',
12567
+ _lowerFlatEnum({
12568
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12569
+ variantSize32: 1,
12570
+ variantAlign32: 1,
12571
+ variantPayloadOffset32: 1,
12572
+ variantFlatCount: 1,
12573
+ })
12574
+ , 104, 8, 8 ],
12575
+ ],
12576
+ variantSize32: 104,
12577
+ variantAlign32: 8,
12578
+ variantPayloadOffset32: 8,
12579
+ variantFlatCount: 13,
12580
+ })
12116
12581
  ],
12117
12582
  hasResultPointer: true,
12118
12583
  funcTypeIsAsync: false,
@@ -12133,22 +12598,66 @@ null,
12133
12598
  isAsync: false,
12134
12599
  isManualAsync: _trampoline21.manuallyAsync,
12135
12600
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
12136
- resultLowerFns: [_lowerFlatResult([
12137
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp', _lowerFlatOption([
12138
- [ 'none', null, 24, 8, 8 ],
12139
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12140
- ])
12141
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
12142
- [ 'none', null, 24, 8, 8 ],
12143
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12144
- ])
12145
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
12146
- [ 'none', null, 24, 8, 8 ],
12147
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12148
- ])
12149
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12150
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 104, 8, 8 ],
12151
- ])
12601
+ resultLowerFns: [
12602
+ _lowerFlatResult({
12603
+ caseMetas: [
12604
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
12605
+ _lowerFlatEnum({
12606
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
12607
+ variantSize32: 1,
12608
+ variantAlign32: 1,
12609
+ variantPayloadOffset32: 1,
12610
+ variantFlatCount: 1,
12611
+ })
12612
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
12613
+ _lowerFlatOption({
12614
+ caseMetas: [
12615
+ [ 'none', null, 0, 0, 0 ],
12616
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12617
+ ],
12618
+ variantSize32: 24,
12619
+ variantAlign32: 8,
12620
+ variantPayloadOffset32: 8,
12621
+ variantFlatCount: 3,
12622
+ })
12623
+ , 24, 8 ],['dataModificationTimestamp',
12624
+ _lowerFlatOption({
12625
+ caseMetas: [
12626
+ [ 'none', null, 0, 0, 0 ],
12627
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12628
+ ],
12629
+ variantSize32: 24,
12630
+ variantAlign32: 8,
12631
+ variantPayloadOffset32: 8,
12632
+ variantFlatCount: 3,
12633
+ })
12634
+ , 24, 8 ],['statusChangeTimestamp',
12635
+ _lowerFlatOption({
12636
+ caseMetas: [
12637
+ [ 'none', null, 0, 0, 0 ],
12638
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12639
+ ],
12640
+ variantSize32: 24,
12641
+ variantAlign32: 8,
12642
+ variantPayloadOffset32: 8,
12643
+ variantFlatCount: 3,
12644
+ })
12645
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12646
+ [ 'err',
12647
+ _lowerFlatEnum({
12648
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12649
+ variantSize32: 1,
12650
+ variantAlign32: 1,
12651
+ variantPayloadOffset32: 1,
12652
+ variantFlatCount: 1,
12653
+ })
12654
+ , 104, 8, 8 ],
12655
+ ],
12656
+ variantSize32: 104,
12657
+ variantAlign32: 8,
12658
+ variantPayloadOffset32: 8,
12659
+ variantFlatCount: 13,
12660
+ })
12152
12661
  ],
12153
12662
  hasResultPointer: true,
12154
12663
  funcTypeIsAsync: false,
@@ -12170,22 +12679,66 @@ null,
12170
12679
  isAsync: false,
12171
12680
  isManualAsync: _trampoline22.manuallyAsync,
12172
12681
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
12173
- resultLowerFns: [_lowerFlatResult([
12174
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp', _lowerFlatOption([
12175
- [ 'none', null, 24, 8, 8 ],
12176
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12177
- ])
12178
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
12179
- [ 'none', null, 24, 8, 8 ],
12180
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12181
- ])
12182
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
12183
- [ 'none', null, 24, 8, 8 ],
12184
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12185
- ])
12186
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12187
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 104, 8, 8 ],
12188
- ])
12682
+ resultLowerFns: [
12683
+ _lowerFlatResult({
12684
+ caseMetas: [
12685
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
12686
+ _lowerFlatEnum({
12687
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
12688
+ variantSize32: 1,
12689
+ variantAlign32: 1,
12690
+ variantPayloadOffset32: 1,
12691
+ variantFlatCount: 1,
12692
+ })
12693
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
12694
+ _lowerFlatOption({
12695
+ caseMetas: [
12696
+ [ 'none', null, 0, 0, 0 ],
12697
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12698
+ ],
12699
+ variantSize32: 24,
12700
+ variantAlign32: 8,
12701
+ variantPayloadOffset32: 8,
12702
+ variantFlatCount: 3,
12703
+ })
12704
+ , 24, 8 ],['dataModificationTimestamp',
12705
+ _lowerFlatOption({
12706
+ caseMetas: [
12707
+ [ 'none', null, 0, 0, 0 ],
12708
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12709
+ ],
12710
+ variantSize32: 24,
12711
+ variantAlign32: 8,
12712
+ variantPayloadOffset32: 8,
12713
+ variantFlatCount: 3,
12714
+ })
12715
+ , 24, 8 ],['statusChangeTimestamp',
12716
+ _lowerFlatOption({
12717
+ caseMetas: [
12718
+ [ 'none', null, 0, 0, 0 ],
12719
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12720
+ ],
12721
+ variantSize32: 24,
12722
+ variantAlign32: 8,
12723
+ variantPayloadOffset32: 8,
12724
+ variantFlatCount: 3,
12725
+ })
12726
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12727
+ [ 'err',
12728
+ _lowerFlatEnum({
12729
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12730
+ variantSize32: 1,
12731
+ variantAlign32: 1,
12732
+ variantPayloadOffset32: 1,
12733
+ variantFlatCount: 1,
12734
+ })
12735
+ , 104, 8, 8 ],
12736
+ ],
12737
+ variantSize32: 104,
12738
+ variantAlign32: 8,
12739
+ variantPayloadOffset32: 8,
12740
+ variantFlatCount: 13,
12741
+ })
12189
12742
  ],
12190
12743
  hasResultPointer: true,
12191
12744
  funcTypeIsAsync: false,
@@ -12206,22 +12759,66 @@ null,
12206
12759
  isAsync: false,
12207
12760
  isManualAsync: _trampoline22.manuallyAsync,
12208
12761
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
12209
- resultLowerFns: [_lowerFlatResult([
12210
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp', _lowerFlatOption([
12211
- [ 'none', null, 24, 8, 8 ],
12212
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12213
- ])
12214
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
12215
- [ 'none', null, 24, 8, 8 ],
12216
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12217
- ])
12218
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
12219
- [ 'none', null, 24, 8, 8 ],
12220
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
12221
- ])
12222
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12223
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 104, 8, 8 ],
12224
- ])
12762
+ resultLowerFns: [
12763
+ _lowerFlatResult({
12764
+ caseMetas: [
12765
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
12766
+ _lowerFlatEnum({
12767
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
12768
+ variantSize32: 1,
12769
+ variantAlign32: 1,
12770
+ variantPayloadOffset32: 1,
12771
+ variantFlatCount: 1,
12772
+ })
12773
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
12774
+ _lowerFlatOption({
12775
+ caseMetas: [
12776
+ [ 'none', null, 0, 0, 0 ],
12777
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12778
+ ],
12779
+ variantSize32: 24,
12780
+ variantAlign32: 8,
12781
+ variantPayloadOffset32: 8,
12782
+ variantFlatCount: 3,
12783
+ })
12784
+ , 24, 8 ],['dataModificationTimestamp',
12785
+ _lowerFlatOption({
12786
+ caseMetas: [
12787
+ [ 'none', null, 0, 0, 0 ],
12788
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12789
+ ],
12790
+ variantSize32: 24,
12791
+ variantAlign32: 8,
12792
+ variantPayloadOffset32: 8,
12793
+ variantFlatCount: 3,
12794
+ })
12795
+ , 24, 8 ],['statusChangeTimestamp',
12796
+ _lowerFlatOption({
12797
+ caseMetas: [
12798
+ [ 'none', null, 0, 0, 0 ],
12799
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12800
+ ],
12801
+ variantSize32: 24,
12802
+ variantAlign32: 8,
12803
+ variantPayloadOffset32: 8,
12804
+ variantFlatCount: 3,
12805
+ })
12806
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12807
+ [ 'err',
12808
+ _lowerFlatEnum({
12809
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12810
+ variantSize32: 1,
12811
+ variantAlign32: 1,
12812
+ variantPayloadOffset32: 1,
12813
+ variantFlatCount: 1,
12814
+ })
12815
+ , 104, 8, 8 ],
12816
+ ],
12817
+ variantSize32: 104,
12818
+ variantAlign32: 8,
12819
+ variantPayloadOffset32: 8,
12820
+ variantFlatCount: 13,
12821
+ })
12225
12822
  ],
12226
12823
  hasResultPointer: true,
12227
12824
  funcTypeIsAsync: false,
@@ -12243,26 +12840,41 @@ null,
12243
12840
  isAsync: false,
12244
12841
  isManualAsync: _trampoline23.manuallyAsync,
12245
12842
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny,_liftFlatFlags({ names: ['create','directory','exclusive','truncate'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 })],
12246
- resultLowerFns: [_lowerFlatResult([
12247
- [ 'ok', _lowerFlatOwn({
12248
- componentIdx: 0,
12249
- lowerFn:
12250
- function lowerImportedOwnedHost_Descriptor(obj) {
12251
- if (!(obj instanceof Descriptor)) {
12252
- throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
12253
- }
12254
- let handle = obj[symbolRscHandle];
12255
- if (!handle) {
12256
- const rep = obj[symbolRscRep] || ++captureCnt6;
12257
- captureTable6.set(rep, obj);
12258
- handle = rscTableCreateOwn(handleTable6, rep);
12843
+ resultLowerFns: [
12844
+ _lowerFlatResult({
12845
+ caseMetas: [
12846
+ [ 'ok', _lowerFlatOwn({
12847
+ componentIdx: 0,
12848
+ lowerFn:
12849
+ function lowerImportedOwnedHost_Descriptor(obj) {
12850
+ if (!(obj instanceof Descriptor)) {
12851
+ throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
12852
+ }
12853
+ let handle = obj[symbolRscHandle];
12854
+ if (!handle) {
12855
+ const rep = obj[symbolRscRep] || ++captureCnt6;
12856
+ captureTable6.set(rep, obj);
12857
+ handle = rscTableCreateOwn(handleTable6, rep);
12858
+ }
12859
+ return handle;
12259
12860
  }
12260
- return handle;
12261
- }
12262
- ,
12263
- }), 8, 4, 4 ],
12264
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
12265
- ])
12861
+ ,
12862
+ }), 8, 4, 4 ],
12863
+ [ 'err',
12864
+ _lowerFlatEnum({
12865
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12866
+ variantSize32: 1,
12867
+ variantAlign32: 1,
12868
+ variantPayloadOffset32: 1,
12869
+ variantFlatCount: 1,
12870
+ })
12871
+ , 8, 4, 4 ],
12872
+ ],
12873
+ variantSize32: 8,
12874
+ variantAlign32: 4,
12875
+ variantPayloadOffset32: 4,
12876
+ variantFlatCount: 2,
12877
+ })
12266
12878
  ],
12267
12879
  hasResultPointer: true,
12268
12880
  funcTypeIsAsync: false,
@@ -12283,26 +12895,41 @@ null,
12283
12895
  isAsync: false,
12284
12896
  isManualAsync: _trampoline23.manuallyAsync,
12285
12897
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny,_liftFlatFlags({ names: ['create','directory','exclusive','truncate'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 })],
12286
- resultLowerFns: [_lowerFlatResult([
12287
- [ 'ok', _lowerFlatOwn({
12288
- componentIdx: 0,
12289
- lowerFn:
12290
- function lowerImportedOwnedHost_Descriptor(obj) {
12291
- if (!(obj instanceof Descriptor)) {
12292
- throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
12293
- }
12294
- let handle = obj[symbolRscHandle];
12295
- if (!handle) {
12296
- const rep = obj[symbolRscRep] || ++captureCnt6;
12297
- captureTable6.set(rep, obj);
12298
- handle = rscTableCreateOwn(handleTable6, rep);
12898
+ resultLowerFns: [
12899
+ _lowerFlatResult({
12900
+ caseMetas: [
12901
+ [ 'ok', _lowerFlatOwn({
12902
+ componentIdx: 0,
12903
+ lowerFn:
12904
+ function lowerImportedOwnedHost_Descriptor(obj) {
12905
+ if (!(obj instanceof Descriptor)) {
12906
+ throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
12907
+ }
12908
+ let handle = obj[symbolRscHandle];
12909
+ if (!handle) {
12910
+ const rep = obj[symbolRscRep] || ++captureCnt6;
12911
+ captureTable6.set(rep, obj);
12912
+ handle = rscTableCreateOwn(handleTable6, rep);
12913
+ }
12914
+ return handle;
12299
12915
  }
12300
- return handle;
12301
- }
12302
- ,
12303
- }), 8, 4, 4 ],
12304
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 8, 4, 4 ],
12305
- ])
12916
+ ,
12917
+ }), 8, 4, 4 ],
12918
+ [ 'err',
12919
+ _lowerFlatEnum({
12920
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12921
+ variantSize32: 1,
12922
+ variantAlign32: 1,
12923
+ variantPayloadOffset32: 1,
12924
+ variantFlatCount: 1,
12925
+ })
12926
+ , 8, 4, 4 ],
12927
+ ],
12928
+ variantSize32: 8,
12929
+ variantAlign32: 4,
12930
+ variantPayloadOffset32: 4,
12931
+ variantFlatCount: 2,
12932
+ })
12306
12933
  ],
12307
12934
  hasResultPointer: true,
12308
12935
  funcTypeIsAsync: false,
@@ -12324,14 +12951,44 @@ null,
12324
12951
  isAsync: false,
12325
12952
  isManualAsync: _trampoline24.manuallyAsync,
12326
12953
  paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
12327
- resultLowerFns: [_lowerFlatResult([
12328
- [ 'ok', _lowerFlatOption([
12329
- [ 'none', null, 16, 4, 4 ],
12330
- [ 'some', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 16, 4, 4 ],
12331
- ])
12332
- , 20, 4, 4 ],
12333
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 20, 4, 4 ],
12334
- ])
12954
+ resultLowerFns: [
12955
+ _lowerFlatResult({
12956
+ caseMetas: [
12957
+ [ 'ok',
12958
+ _lowerFlatOption({
12959
+ caseMetas: [
12960
+ [ 'none', null, 0, 0, 0 ],
12961
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['type',
12962
+ _lowerFlatEnum({
12963
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
12964
+ variantSize32: 1,
12965
+ variantAlign32: 1,
12966
+ variantPayloadOffset32: 1,
12967
+ variantFlatCount: 1,
12968
+ })
12969
+ , 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
12970
+ ],
12971
+ variantSize32: 16,
12972
+ variantAlign32: 4,
12973
+ variantPayloadOffset32: 4,
12974
+ variantFlatCount: 4,
12975
+ })
12976
+ , 20, 4, 4 ],
12977
+ [ 'err',
12978
+ _lowerFlatEnum({
12979
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
12980
+ variantSize32: 1,
12981
+ variantAlign32: 1,
12982
+ variantPayloadOffset32: 1,
12983
+ variantFlatCount: 1,
12984
+ })
12985
+ , 20, 4, 4 ],
12986
+ ],
12987
+ variantSize32: 20,
12988
+ variantAlign32: 4,
12989
+ variantPayloadOffset32: 4,
12990
+ variantFlatCount: 5,
12991
+ })
12335
12992
  ],
12336
12993
  hasResultPointer: true,
12337
12994
  funcTypeIsAsync: false,
@@ -12352,14 +13009,44 @@ null,
12352
13009
  isAsync: false,
12353
13010
  isManualAsync: _trampoline24.manuallyAsync,
12354
13011
  paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
12355
- resultLowerFns: [_lowerFlatResult([
12356
- [ 'ok', _lowerFlatOption([
12357
- [ 'none', null, 16, 4, 4 ],
12358
- [ 'some', _lowerFlatRecord({ fieldMetas: [['type', _lowerFlatEnum([['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],]), 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 16, 4, 4 ],
12359
- ])
12360
- , 20, 4, 4 ],
12361
- [ 'err', _lowerFlatEnum([['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],]), 20, 4, 4 ],
12362
- ])
13012
+ resultLowerFns: [
13013
+ _lowerFlatResult({
13014
+ caseMetas: [
13015
+ [ 'ok',
13016
+ _lowerFlatOption({
13017
+ caseMetas: [
13018
+ [ 'none', null, 0, 0, 0 ],
13019
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['type',
13020
+ _lowerFlatEnum({
13021
+ caseMetas: [['unknown', null, 1, 1, 1],['block-device', null, 1, 1, 1],['character-device', null, 1, 1, 1],['directory', null, 1, 1, 1],['fifo', null, 1, 1, 1],['symbolic-link', null, 1, 1, 1],['regular-file', null, 1, 1, 1],['socket', null, 1, 1, 1],],
13022
+ variantSize32: 1,
13023
+ variantAlign32: 1,
13024
+ variantPayloadOffset32: 1,
13025
+ variantFlatCount: 1,
13026
+ })
13027
+ , 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
13028
+ ],
13029
+ variantSize32: 16,
13030
+ variantAlign32: 4,
13031
+ variantPayloadOffset32: 4,
13032
+ variantFlatCount: 4,
13033
+ })
13034
+ , 20, 4, 4 ],
13035
+ [ 'err',
13036
+ _lowerFlatEnum({
13037
+ caseMetas: [['access', null, 1, 1, 1],['would-block', null, 1, 1, 1],['already', null, 1, 1, 1],['bad-descriptor', null, 1, 1, 1],['busy', null, 1, 1, 1],['deadlock', null, 1, 1, 1],['quota', null, 1, 1, 1],['exist', null, 1, 1, 1],['file-too-large', null, 1, 1, 1],['illegal-byte-sequence', null, 1, 1, 1],['in-progress', null, 1, 1, 1],['interrupted', null, 1, 1, 1],['invalid', null, 1, 1, 1],['io', null, 1, 1, 1],['is-directory', null, 1, 1, 1],['loop', null, 1, 1, 1],['too-many-links', null, 1, 1, 1],['message-size', null, 1, 1, 1],['name-too-long', null, 1, 1, 1],['no-device', null, 1, 1, 1],['no-entry', null, 1, 1, 1],['no-lock', null, 1, 1, 1],['insufficient-memory', null, 1, 1, 1],['insufficient-space', null, 1, 1, 1],['not-directory', null, 1, 1, 1],['not-empty', null, 1, 1, 1],['not-recoverable', null, 1, 1, 1],['unsupported', null, 1, 1, 1],['no-tty', null, 1, 1, 1],['no-such-device', null, 1, 1, 1],['overflow', null, 1, 1, 1],['not-permitted', null, 1, 1, 1],['pipe', null, 1, 1, 1],['read-only', null, 1, 1, 1],['invalid-seek', null, 1, 1, 1],['text-file-busy', null, 1, 1, 1],['cross-device', null, 1, 1, 1],],
13038
+ variantSize32: 1,
13039
+ variantAlign32: 1,
13040
+ variantPayloadOffset32: 1,
13041
+ variantFlatCount: 1,
13042
+ })
13043
+ , 20, 4, 4 ],
13044
+ ],
13045
+ variantSize32: 20,
13046
+ variantAlign32: 4,
13047
+ variantPayloadOffset32: 4,
13048
+ variantFlatCount: 5,
13049
+ })
12363
13050
  ],
12364
13051
  hasResultPointer: true,
12365
13052
  funcTypeIsAsync: false,
@@ -12381,30 +13068,43 @@ null,
12381
13068
  isAsync: false,
12382
13069
  isManualAsync: _trampoline25.manuallyAsync,
12383
13070
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
12384
- resultLowerFns: [_lowerFlatResult([
12385
- [ 'ok', _lowerFlatList({
12386
- elemLowerFn: _lowerFlatU8,
12387
- elemSize32: 1,
12388
- elemAlign32: 1,
12389
- }), 12, 4, 4 ],
12390
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12391
- componentIdx: 0,
12392
- lowerFn:
12393
- function lowerImportedOwnedHost_Error$1(obj) {
12394
- if (!(obj instanceof Error$1)) {
12395
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12396
- }
12397
- let handle = obj[symbolRscHandle];
12398
- if (!handle) {
12399
- const rep = obj[symbolRscRep] || ++captureCnt0;
12400
- captureTable0.set(rep, obj);
12401
- handle = rscTableCreateOwn(handleTable0, rep);
12402
- }
12403
- return handle;
12404
- }
12405
- ,
12406
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12407
- ])
13071
+ resultLowerFns: [
13072
+ _lowerFlatResult({
13073
+ caseMetas: [
13074
+ [ 'ok', _lowerFlatList({
13075
+ elemLowerFn: _lowerFlatU8,
13076
+ elemSize32: 1,
13077
+ elemAlign32: 1,
13078
+ }), 12, 4, 4 ],
13079
+ [ 'err', _lowerFlatVariant({
13080
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13081
+ componentIdx: 0,
13082
+ lowerFn:
13083
+ function lowerImportedOwnedHost_Error$1(obj) {
13084
+ if (!(obj instanceof Error$1)) {
13085
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13086
+ }
13087
+ let handle = obj[symbolRscHandle];
13088
+ if (!handle) {
13089
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13090
+ captureTable0.set(rep, obj);
13091
+ handle = rscTableCreateOwn(handleTable0, rep);
13092
+ }
13093
+ return handle;
13094
+ }
13095
+ ,
13096
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13097
+ variantSize32: 8,
13098
+ variantAlign32: 4,
13099
+ variantPayloadOffset32: 4,
13100
+ variantFlatCount: 2,
13101
+ } ), 12, 4, 4 ],
13102
+ ],
13103
+ variantSize32: 12,
13104
+ variantAlign32: 4,
13105
+ variantPayloadOffset32: 4,
13106
+ variantFlatCount: 3,
13107
+ })
12408
13108
  ],
12409
13109
  hasResultPointer: true,
12410
13110
  funcTypeIsAsync: false,
@@ -12425,30 +13125,43 @@ null,
12425
13125
  isAsync: false,
12426
13126
  isManualAsync: _trampoline25.manuallyAsync,
12427
13127
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
12428
- resultLowerFns: [_lowerFlatResult([
12429
- [ 'ok', _lowerFlatList({
12430
- elemLowerFn: _lowerFlatU8,
12431
- elemSize32: 1,
12432
- elemAlign32: 1,
12433
- }), 12, 4, 4 ],
12434
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12435
- componentIdx: 0,
12436
- lowerFn:
12437
- function lowerImportedOwnedHost_Error$1(obj) {
12438
- if (!(obj instanceof Error$1)) {
12439
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12440
- }
12441
- let handle = obj[symbolRscHandle];
12442
- if (!handle) {
12443
- const rep = obj[symbolRscRep] || ++captureCnt0;
12444
- captureTable0.set(rep, obj);
12445
- handle = rscTableCreateOwn(handleTable0, rep);
12446
- }
12447
- return handle;
12448
- }
12449
- ,
12450
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12451
- ])
13128
+ resultLowerFns: [
13129
+ _lowerFlatResult({
13130
+ caseMetas: [
13131
+ [ 'ok', _lowerFlatList({
13132
+ elemLowerFn: _lowerFlatU8,
13133
+ elemSize32: 1,
13134
+ elemAlign32: 1,
13135
+ }), 12, 4, 4 ],
13136
+ [ 'err', _lowerFlatVariant({
13137
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13138
+ componentIdx: 0,
13139
+ lowerFn:
13140
+ function lowerImportedOwnedHost_Error$1(obj) {
13141
+ if (!(obj instanceof Error$1)) {
13142
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13143
+ }
13144
+ let handle = obj[symbolRscHandle];
13145
+ if (!handle) {
13146
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13147
+ captureTable0.set(rep, obj);
13148
+ handle = rscTableCreateOwn(handleTable0, rep);
13149
+ }
13150
+ return handle;
13151
+ }
13152
+ ,
13153
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13154
+ variantSize32: 8,
13155
+ variantAlign32: 4,
13156
+ variantPayloadOffset32: 4,
13157
+ variantFlatCount: 2,
13158
+ } ), 12, 4, 4 ],
13159
+ ],
13160
+ variantSize32: 12,
13161
+ variantAlign32: 4,
13162
+ variantPayloadOffset32: 4,
13163
+ variantFlatCount: 3,
13164
+ })
12452
13165
  ],
12453
13166
  hasResultPointer: true,
12454
13167
  funcTypeIsAsync: false,
@@ -12470,30 +13183,43 @@ null,
12470
13183
  isAsync: false,
12471
13184
  isManualAsync: _trampoline26.manuallyAsync,
12472
13185
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
12473
- resultLowerFns: [_lowerFlatResult([
12474
- [ 'ok', _lowerFlatList({
12475
- elemLowerFn: _lowerFlatU8,
12476
- elemSize32: 1,
12477
- elemAlign32: 1,
12478
- }), 12, 4, 4 ],
12479
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12480
- componentIdx: 0,
12481
- lowerFn:
12482
- function lowerImportedOwnedHost_Error$1(obj) {
12483
- if (!(obj instanceof Error$1)) {
12484
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12485
- }
12486
- let handle = obj[symbolRscHandle];
12487
- if (!handle) {
12488
- const rep = obj[symbolRscRep] || ++captureCnt0;
12489
- captureTable0.set(rep, obj);
12490
- handle = rscTableCreateOwn(handleTable0, rep);
12491
- }
12492
- return handle;
12493
- }
12494
- ,
12495
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12496
- ])
13186
+ resultLowerFns: [
13187
+ _lowerFlatResult({
13188
+ caseMetas: [
13189
+ [ 'ok', _lowerFlatList({
13190
+ elemLowerFn: _lowerFlatU8,
13191
+ elemSize32: 1,
13192
+ elemAlign32: 1,
13193
+ }), 12, 4, 4 ],
13194
+ [ 'err', _lowerFlatVariant({
13195
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13196
+ componentIdx: 0,
13197
+ lowerFn:
13198
+ function lowerImportedOwnedHost_Error$1(obj) {
13199
+ if (!(obj instanceof Error$1)) {
13200
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13201
+ }
13202
+ let handle = obj[symbolRscHandle];
13203
+ if (!handle) {
13204
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13205
+ captureTable0.set(rep, obj);
13206
+ handle = rscTableCreateOwn(handleTable0, rep);
13207
+ }
13208
+ return handle;
13209
+ }
13210
+ ,
13211
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13212
+ variantSize32: 8,
13213
+ variantAlign32: 4,
13214
+ variantPayloadOffset32: 4,
13215
+ variantFlatCount: 2,
13216
+ } ), 12, 4, 4 ],
13217
+ ],
13218
+ variantSize32: 12,
13219
+ variantAlign32: 4,
13220
+ variantPayloadOffset32: 4,
13221
+ variantFlatCount: 3,
13222
+ })
12497
13223
  ],
12498
13224
  hasResultPointer: true,
12499
13225
  funcTypeIsAsync: false,
@@ -12514,30 +13240,43 @@ null,
12514
13240
  isAsync: false,
12515
13241
  isManualAsync: _trampoline26.manuallyAsync,
12516
13242
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
12517
- resultLowerFns: [_lowerFlatResult([
12518
- [ 'ok', _lowerFlatList({
12519
- elemLowerFn: _lowerFlatU8,
12520
- elemSize32: 1,
12521
- elemAlign32: 1,
12522
- }), 12, 4, 4 ],
12523
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12524
- componentIdx: 0,
12525
- lowerFn:
12526
- function lowerImportedOwnedHost_Error$1(obj) {
12527
- if (!(obj instanceof Error$1)) {
12528
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12529
- }
12530
- let handle = obj[symbolRscHandle];
12531
- if (!handle) {
12532
- const rep = obj[symbolRscRep] || ++captureCnt0;
12533
- captureTable0.set(rep, obj);
12534
- handle = rscTableCreateOwn(handleTable0, rep);
12535
- }
12536
- return handle;
12537
- }
12538
- ,
12539
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12540
- ])
13243
+ resultLowerFns: [
13244
+ _lowerFlatResult({
13245
+ caseMetas: [
13246
+ [ 'ok', _lowerFlatList({
13247
+ elemLowerFn: _lowerFlatU8,
13248
+ elemSize32: 1,
13249
+ elemAlign32: 1,
13250
+ }), 12, 4, 4 ],
13251
+ [ 'err', _lowerFlatVariant({
13252
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13253
+ componentIdx: 0,
13254
+ lowerFn:
13255
+ function lowerImportedOwnedHost_Error$1(obj) {
13256
+ if (!(obj instanceof Error$1)) {
13257
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13258
+ }
13259
+ let handle = obj[symbolRscHandle];
13260
+ if (!handle) {
13261
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13262
+ captureTable0.set(rep, obj);
13263
+ handle = rscTableCreateOwn(handleTable0, rep);
13264
+ }
13265
+ return handle;
13266
+ }
13267
+ ,
13268
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13269
+ variantSize32: 8,
13270
+ variantAlign32: 4,
13271
+ variantPayloadOffset32: 4,
13272
+ variantFlatCount: 2,
13273
+ } ), 12, 4, 4 ],
13274
+ ],
13275
+ variantSize32: 12,
13276
+ variantAlign32: 4,
13277
+ variantPayloadOffset32: 4,
13278
+ variantFlatCount: 3,
13279
+ })
12541
13280
  ],
12542
13281
  hasResultPointer: true,
12543
13282
  funcTypeIsAsync: false,
@@ -12559,26 +13298,39 @@ null,
12559
13298
  isAsync: false,
12560
13299
  isManualAsync: _trampoline27.manuallyAsync,
12561
13300
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
12562
- resultLowerFns: [_lowerFlatResult([
12563
- [ 'ok', _lowerFlatU64, 16, 8, 8 ],
12564
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12565
- componentIdx: 0,
12566
- lowerFn:
12567
- function lowerImportedOwnedHost_Error$1(obj) {
12568
- if (!(obj instanceof Error$1)) {
12569
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12570
- }
12571
- let handle = obj[symbolRscHandle];
12572
- if (!handle) {
12573
- const rep = obj[symbolRscRep] || ++captureCnt0;
12574
- captureTable0.set(rep, obj);
12575
- handle = rscTableCreateOwn(handleTable0, rep);
12576
- }
12577
- return handle;
12578
- }
12579
- ,
12580
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 16, 8, 8 ],
12581
- ])
13301
+ resultLowerFns: [
13302
+ _lowerFlatResult({
13303
+ caseMetas: [
13304
+ [ 'ok', _lowerFlatU64, 16, 8, 8 ],
13305
+ [ 'err', _lowerFlatVariant({
13306
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13307
+ componentIdx: 0,
13308
+ lowerFn:
13309
+ function lowerImportedOwnedHost_Error$1(obj) {
13310
+ if (!(obj instanceof Error$1)) {
13311
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13312
+ }
13313
+ let handle = obj[symbolRscHandle];
13314
+ if (!handle) {
13315
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13316
+ captureTable0.set(rep, obj);
13317
+ handle = rscTableCreateOwn(handleTable0, rep);
13318
+ }
13319
+ return handle;
13320
+ }
13321
+ ,
13322
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13323
+ variantSize32: 8,
13324
+ variantAlign32: 4,
13325
+ variantPayloadOffset32: 4,
13326
+ variantFlatCount: 2,
13327
+ } ), 16, 8, 8 ],
13328
+ ],
13329
+ variantSize32: 16,
13330
+ variantAlign32: 8,
13331
+ variantPayloadOffset32: 8,
13332
+ variantFlatCount: 3,
13333
+ })
12582
13334
  ],
12583
13335
  hasResultPointer: true,
12584
13336
  funcTypeIsAsync: false,
@@ -12599,26 +13351,39 @@ null,
12599
13351
  isAsync: false,
12600
13352
  isManualAsync: _trampoline27.manuallyAsync,
12601
13353
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
12602
- resultLowerFns: [_lowerFlatResult([
12603
- [ 'ok', _lowerFlatU64, 16, 8, 8 ],
12604
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12605
- componentIdx: 0,
12606
- lowerFn:
12607
- function lowerImportedOwnedHost_Error$1(obj) {
12608
- if (!(obj instanceof Error$1)) {
12609
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12610
- }
12611
- let handle = obj[symbolRscHandle];
12612
- if (!handle) {
12613
- const rep = obj[symbolRscRep] || ++captureCnt0;
12614
- captureTable0.set(rep, obj);
12615
- handle = rscTableCreateOwn(handleTable0, rep);
12616
- }
12617
- return handle;
12618
- }
12619
- ,
12620
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 16, 8, 8 ],
12621
- ])
13354
+ resultLowerFns: [
13355
+ _lowerFlatResult({
13356
+ caseMetas: [
13357
+ [ 'ok', _lowerFlatU64, 16, 8, 8 ],
13358
+ [ 'err', _lowerFlatVariant({
13359
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13360
+ componentIdx: 0,
13361
+ lowerFn:
13362
+ function lowerImportedOwnedHost_Error$1(obj) {
13363
+ if (!(obj instanceof Error$1)) {
13364
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13365
+ }
13366
+ let handle = obj[symbolRscHandle];
13367
+ if (!handle) {
13368
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13369
+ captureTable0.set(rep, obj);
13370
+ handle = rscTableCreateOwn(handleTable0, rep);
13371
+ }
13372
+ return handle;
13373
+ }
13374
+ ,
13375
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13376
+ variantSize32: 8,
13377
+ variantAlign32: 4,
13378
+ variantPayloadOffset32: 4,
13379
+ variantFlatCount: 2,
13380
+ } ), 16, 8, 8 ],
13381
+ ],
13382
+ variantSize32: 16,
13383
+ variantAlign32: 8,
13384
+ variantPayloadOffset32: 8,
13385
+ variantFlatCount: 3,
13386
+ })
12622
13387
  ],
12623
13388
  hasResultPointer: true,
12624
13389
  funcTypeIsAsync: false,
@@ -12645,26 +13410,39 @@ null,
12645
13410
  elemSize32: 1,
12646
13411
  typedArray: Uint8Array,
12647
13412
  })],
12648
- resultLowerFns: [_lowerFlatResult([
12649
- [ 'ok', null, 12, 4, 4 ],
12650
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12651
- componentIdx: 0,
12652
- lowerFn:
12653
- function lowerImportedOwnedHost_Error$1(obj) {
12654
- if (!(obj instanceof Error$1)) {
12655
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12656
- }
12657
- let handle = obj[symbolRscHandle];
12658
- if (!handle) {
12659
- const rep = obj[symbolRscRep] || ++captureCnt0;
12660
- captureTable0.set(rep, obj);
12661
- handle = rscTableCreateOwn(handleTable0, rep);
12662
- }
12663
- return handle;
12664
- }
12665
- ,
12666
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12667
- ])
13413
+ resultLowerFns: [
13414
+ _lowerFlatResult({
13415
+ caseMetas: [
13416
+ [ 'ok', null, 12, 4, 4 ],
13417
+ [ 'err', _lowerFlatVariant({
13418
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13419
+ componentIdx: 0,
13420
+ lowerFn:
13421
+ function lowerImportedOwnedHost_Error$1(obj) {
13422
+ if (!(obj instanceof Error$1)) {
13423
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13424
+ }
13425
+ let handle = obj[symbolRscHandle];
13426
+ if (!handle) {
13427
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13428
+ captureTable0.set(rep, obj);
13429
+ handle = rscTableCreateOwn(handleTable0, rep);
13430
+ }
13431
+ return handle;
13432
+ }
13433
+ ,
13434
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13435
+ variantSize32: 8,
13436
+ variantAlign32: 4,
13437
+ variantPayloadOffset32: 4,
13438
+ variantFlatCount: 2,
13439
+ } ), 12, 4, 4 ],
13440
+ ],
13441
+ variantSize32: 12,
13442
+ variantAlign32: 4,
13443
+ variantPayloadOffset32: 4,
13444
+ variantFlatCount: 3,
13445
+ })
12668
13446
  ],
12669
13447
  hasResultPointer: true,
12670
13448
  funcTypeIsAsync: false,
@@ -12690,26 +13468,39 @@ null,
12690
13468
  elemSize32: 1,
12691
13469
  typedArray: Uint8Array,
12692
13470
  })],
12693
- resultLowerFns: [_lowerFlatResult([
12694
- [ 'ok', null, 12, 4, 4 ],
12695
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12696
- componentIdx: 0,
12697
- lowerFn:
12698
- function lowerImportedOwnedHost_Error$1(obj) {
12699
- if (!(obj instanceof Error$1)) {
12700
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12701
- }
12702
- let handle = obj[symbolRscHandle];
12703
- if (!handle) {
12704
- const rep = obj[symbolRscRep] || ++captureCnt0;
12705
- captureTable0.set(rep, obj);
12706
- handle = rscTableCreateOwn(handleTable0, rep);
12707
- }
12708
- return handle;
12709
- }
12710
- ,
12711
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12712
- ])
13471
+ resultLowerFns: [
13472
+ _lowerFlatResult({
13473
+ caseMetas: [
13474
+ [ 'ok', null, 12, 4, 4 ],
13475
+ [ 'err', _lowerFlatVariant({
13476
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13477
+ componentIdx: 0,
13478
+ lowerFn:
13479
+ function lowerImportedOwnedHost_Error$1(obj) {
13480
+ if (!(obj instanceof Error$1)) {
13481
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13482
+ }
13483
+ let handle = obj[symbolRscHandle];
13484
+ if (!handle) {
13485
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13486
+ captureTable0.set(rep, obj);
13487
+ handle = rscTableCreateOwn(handleTable0, rep);
13488
+ }
13489
+ return handle;
13490
+ }
13491
+ ,
13492
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13493
+ variantSize32: 8,
13494
+ variantAlign32: 4,
13495
+ variantPayloadOffset32: 4,
13496
+ variantFlatCount: 2,
13497
+ } ), 12, 4, 4 ],
13498
+ ],
13499
+ variantSize32: 12,
13500
+ variantAlign32: 4,
13501
+ variantPayloadOffset32: 4,
13502
+ variantFlatCount: 3,
13503
+ })
12713
13504
  ],
12714
13505
  hasResultPointer: true,
12715
13506
  funcTypeIsAsync: false,
@@ -12736,26 +13527,39 @@ null,
12736
13527
  elemSize32: 1,
12737
13528
  typedArray: Uint8Array,
12738
13529
  })],
12739
- resultLowerFns: [_lowerFlatResult([
12740
- [ 'ok', null, 12, 4, 4 ],
12741
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12742
- componentIdx: 0,
12743
- lowerFn:
12744
- function lowerImportedOwnedHost_Error$1(obj) {
12745
- if (!(obj instanceof Error$1)) {
12746
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12747
- }
12748
- let handle = obj[symbolRscHandle];
12749
- if (!handle) {
12750
- const rep = obj[symbolRscRep] || ++captureCnt0;
12751
- captureTable0.set(rep, obj);
12752
- handle = rscTableCreateOwn(handleTable0, rep);
12753
- }
12754
- return handle;
12755
- }
12756
- ,
12757
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12758
- ])
13530
+ resultLowerFns: [
13531
+ _lowerFlatResult({
13532
+ caseMetas: [
13533
+ [ 'ok', null, 12, 4, 4 ],
13534
+ [ 'err', _lowerFlatVariant({
13535
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13536
+ componentIdx: 0,
13537
+ lowerFn:
13538
+ function lowerImportedOwnedHost_Error$1(obj) {
13539
+ if (!(obj instanceof Error$1)) {
13540
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13541
+ }
13542
+ let handle = obj[symbolRscHandle];
13543
+ if (!handle) {
13544
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13545
+ captureTable0.set(rep, obj);
13546
+ handle = rscTableCreateOwn(handleTable0, rep);
13547
+ }
13548
+ return handle;
13549
+ }
13550
+ ,
13551
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13552
+ variantSize32: 8,
13553
+ variantAlign32: 4,
13554
+ variantPayloadOffset32: 4,
13555
+ variantFlatCount: 2,
13556
+ } ), 12, 4, 4 ],
13557
+ ],
13558
+ variantSize32: 12,
13559
+ variantAlign32: 4,
13560
+ variantPayloadOffset32: 4,
13561
+ variantFlatCount: 3,
13562
+ })
12759
13563
  ],
12760
13564
  hasResultPointer: true,
12761
13565
  funcTypeIsAsync: false,
@@ -12781,26 +13585,39 @@ null,
12781
13585
  elemSize32: 1,
12782
13586
  typedArray: Uint8Array,
12783
13587
  })],
12784
- resultLowerFns: [_lowerFlatResult([
12785
- [ 'ok', null, 12, 4, 4 ],
12786
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12787
- componentIdx: 0,
12788
- lowerFn:
12789
- function lowerImportedOwnedHost_Error$1(obj) {
12790
- if (!(obj instanceof Error$1)) {
12791
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12792
- }
12793
- let handle = obj[symbolRscHandle];
12794
- if (!handle) {
12795
- const rep = obj[symbolRscRep] || ++captureCnt0;
12796
- captureTable0.set(rep, obj);
12797
- handle = rscTableCreateOwn(handleTable0, rep);
12798
- }
12799
- return handle;
12800
- }
12801
- ,
12802
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12803
- ])
13588
+ resultLowerFns: [
13589
+ _lowerFlatResult({
13590
+ caseMetas: [
13591
+ [ 'ok', null, 12, 4, 4 ],
13592
+ [ 'err', _lowerFlatVariant({
13593
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13594
+ componentIdx: 0,
13595
+ lowerFn:
13596
+ function lowerImportedOwnedHost_Error$1(obj) {
13597
+ if (!(obj instanceof Error$1)) {
13598
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13599
+ }
13600
+ let handle = obj[symbolRscHandle];
13601
+ if (!handle) {
13602
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13603
+ captureTable0.set(rep, obj);
13604
+ handle = rscTableCreateOwn(handleTable0, rep);
13605
+ }
13606
+ return handle;
13607
+ }
13608
+ ,
13609
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13610
+ variantSize32: 8,
13611
+ variantAlign32: 4,
13612
+ variantPayloadOffset32: 4,
13613
+ variantFlatCount: 2,
13614
+ } ), 12, 4, 4 ],
13615
+ ],
13616
+ variantSize32: 12,
13617
+ variantAlign32: 4,
13618
+ variantPayloadOffset32: 4,
13619
+ variantFlatCount: 3,
13620
+ })
12804
13621
  ],
12805
13622
  hasResultPointer: true,
12806
13623
  funcTypeIsAsync: false,
@@ -12822,26 +13639,39 @@ null,
12822
13639
  isAsync: false,
12823
13640
  isManualAsync: _trampoline30.manuallyAsync,
12824
13641
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
12825
- resultLowerFns: [_lowerFlatResult([
12826
- [ 'ok', null, 12, 4, 4 ],
12827
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12828
- componentIdx: 0,
12829
- lowerFn:
12830
- function lowerImportedOwnedHost_Error$1(obj) {
12831
- if (!(obj instanceof Error$1)) {
12832
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12833
- }
12834
- let handle = obj[symbolRscHandle];
12835
- if (!handle) {
12836
- const rep = obj[symbolRscRep] || ++captureCnt0;
12837
- captureTable0.set(rep, obj);
12838
- handle = rscTableCreateOwn(handleTable0, rep);
12839
- }
12840
- return handle;
12841
- }
12842
- ,
12843
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12844
- ])
13642
+ resultLowerFns: [
13643
+ _lowerFlatResult({
13644
+ caseMetas: [
13645
+ [ 'ok', null, 12, 4, 4 ],
13646
+ [ 'err', _lowerFlatVariant({
13647
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13648
+ componentIdx: 0,
13649
+ lowerFn:
13650
+ function lowerImportedOwnedHost_Error$1(obj) {
13651
+ if (!(obj instanceof Error$1)) {
13652
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13653
+ }
13654
+ let handle = obj[symbolRscHandle];
13655
+ if (!handle) {
13656
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13657
+ captureTable0.set(rep, obj);
13658
+ handle = rscTableCreateOwn(handleTable0, rep);
13659
+ }
13660
+ return handle;
13661
+ }
13662
+ ,
13663
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13664
+ variantSize32: 8,
13665
+ variantAlign32: 4,
13666
+ variantPayloadOffset32: 4,
13667
+ variantFlatCount: 2,
13668
+ } ), 12, 4, 4 ],
13669
+ ],
13670
+ variantSize32: 12,
13671
+ variantAlign32: 4,
13672
+ variantPayloadOffset32: 4,
13673
+ variantFlatCount: 3,
13674
+ })
12845
13675
  ],
12846
13676
  hasResultPointer: true,
12847
13677
  funcTypeIsAsync: false,
@@ -12862,26 +13692,39 @@ null,
12862
13692
  isAsync: false,
12863
13693
  isManualAsync: _trampoline30.manuallyAsync,
12864
13694
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
12865
- resultLowerFns: [_lowerFlatResult([
12866
- [ 'ok', null, 12, 4, 4 ],
12867
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12868
- componentIdx: 0,
12869
- lowerFn:
12870
- function lowerImportedOwnedHost_Error$1(obj) {
12871
- if (!(obj instanceof Error$1)) {
12872
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12873
- }
12874
- let handle = obj[symbolRscHandle];
12875
- if (!handle) {
12876
- const rep = obj[symbolRscRep] || ++captureCnt0;
12877
- captureTable0.set(rep, obj);
12878
- handle = rscTableCreateOwn(handleTable0, rep);
12879
- }
12880
- return handle;
12881
- }
12882
- ,
12883
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12884
- ])
13695
+ resultLowerFns: [
13696
+ _lowerFlatResult({
13697
+ caseMetas: [
13698
+ [ 'ok', null, 12, 4, 4 ],
13699
+ [ 'err', _lowerFlatVariant({
13700
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
13701
+ componentIdx: 0,
13702
+ lowerFn:
13703
+ function lowerImportedOwnedHost_Error$1(obj) {
13704
+ if (!(obj instanceof Error$1)) {
13705
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
13706
+ }
13707
+ let handle = obj[symbolRscHandle];
13708
+ if (!handle) {
13709
+ const rep = obj[symbolRscRep] || ++captureCnt0;
13710
+ captureTable0.set(rep, obj);
13711
+ handle = rscTableCreateOwn(handleTable0, rep);
13712
+ }
13713
+ return handle;
13714
+ }
13715
+ ,
13716
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
13717
+ variantSize32: 8,
13718
+ variantAlign32: 4,
13719
+ variantPayloadOffset32: 4,
13720
+ variantFlatCount: 2,
13721
+ } ), 12, 4, 4 ],
13722
+ ],
13723
+ variantSize32: 12,
13724
+ variantAlign32: 4,
13725
+ variantPayloadOffset32: 4,
13726
+ variantFlatCount: 3,
13727
+ })
12885
13728
  ],
12886
13729
  hasResultPointer: true,
12887
13730
  funcTypeIsAsync: false,
@@ -13033,26 +13876,33 @@ null,
13033
13876
  isAsync: false,
13034
13877
  isManualAsync: _trampoline33.manuallyAsync,
13035
13878
  paramLiftFns: [],
13036
- resultLowerFns: [_lowerFlatOption([
13037
- [ 'none', null, 8, 4, 4 ],
13038
- [ 'some', _lowerFlatOwn({
13039
- componentIdx: 0,
13040
- lowerFn:
13041
- function lowerImportedOwnedHost_TerminalInput(obj) {
13042
- if (!(obj instanceof TerminalInput)) {
13043
- throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
13044
- }
13045
- let handle = obj[symbolRscHandle];
13046
- if (!handle) {
13047
- const rep = obj[symbolRscRep] || ++captureCnt3;
13048
- captureTable3.set(rep, obj);
13049
- handle = rscTableCreateOwn(handleTable3, rep);
13879
+ resultLowerFns: [
13880
+ _lowerFlatOption({
13881
+ caseMetas: [
13882
+ [ 'none', null, 0, 0, 0 ],
13883
+ [ 'some', _lowerFlatOwn({
13884
+ componentIdx: 0,
13885
+ lowerFn:
13886
+ function lowerImportedOwnedHost_TerminalInput(obj) {
13887
+ if (!(obj instanceof TerminalInput)) {
13888
+ throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
13889
+ }
13890
+ let handle = obj[symbolRscHandle];
13891
+ if (!handle) {
13892
+ const rep = obj[symbolRscRep] || ++captureCnt3;
13893
+ captureTable3.set(rep, obj);
13894
+ handle = rscTableCreateOwn(handleTable3, rep);
13895
+ }
13896
+ return handle;
13050
13897
  }
13051
- return handle;
13052
- }
13053
- ,
13054
- }), 8, 4, 4 ],
13055
- ])
13898
+ ,
13899
+ }), 4, 4, 1],
13900
+ ],
13901
+ variantSize32: 8,
13902
+ variantAlign32: 4,
13903
+ variantPayloadOffset32: 4,
13904
+ variantFlatCount: 2,
13905
+ })
13056
13906
  ],
13057
13907
  hasResultPointer: true,
13058
13908
  funcTypeIsAsync: false,
@@ -13073,26 +13923,33 @@ null,
13073
13923
  isAsync: false,
13074
13924
  isManualAsync: _trampoline33.manuallyAsync,
13075
13925
  paramLiftFns: [],
13076
- resultLowerFns: [_lowerFlatOption([
13077
- [ 'none', null, 8, 4, 4 ],
13078
- [ 'some', _lowerFlatOwn({
13079
- componentIdx: 0,
13080
- lowerFn:
13081
- function lowerImportedOwnedHost_TerminalInput(obj) {
13082
- if (!(obj instanceof TerminalInput)) {
13083
- throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
13084
- }
13085
- let handle = obj[symbolRscHandle];
13086
- if (!handle) {
13087
- const rep = obj[symbolRscRep] || ++captureCnt3;
13088
- captureTable3.set(rep, obj);
13089
- handle = rscTableCreateOwn(handleTable3, rep);
13926
+ resultLowerFns: [
13927
+ _lowerFlatOption({
13928
+ caseMetas: [
13929
+ [ 'none', null, 0, 0, 0 ],
13930
+ [ 'some', _lowerFlatOwn({
13931
+ componentIdx: 0,
13932
+ lowerFn:
13933
+ function lowerImportedOwnedHost_TerminalInput(obj) {
13934
+ if (!(obj instanceof TerminalInput)) {
13935
+ throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
13936
+ }
13937
+ let handle = obj[symbolRscHandle];
13938
+ if (!handle) {
13939
+ const rep = obj[symbolRscRep] || ++captureCnt3;
13940
+ captureTable3.set(rep, obj);
13941
+ handle = rscTableCreateOwn(handleTable3, rep);
13942
+ }
13943
+ return handle;
13090
13944
  }
13091
- return handle;
13092
- }
13093
- ,
13094
- }), 8, 4, 4 ],
13095
- ])
13945
+ ,
13946
+ }), 4, 4, 1],
13947
+ ],
13948
+ variantSize32: 8,
13949
+ variantAlign32: 4,
13950
+ variantPayloadOffset32: 4,
13951
+ variantFlatCount: 2,
13952
+ })
13096
13953
  ],
13097
13954
  hasResultPointer: true,
13098
13955
  funcTypeIsAsync: false,
@@ -13114,26 +13971,33 @@ null,
13114
13971
  isAsync: false,
13115
13972
  isManualAsync: _trampoline34.manuallyAsync,
13116
13973
  paramLiftFns: [],
13117
- resultLowerFns: [_lowerFlatOption([
13118
- [ 'none', null, 8, 4, 4 ],
13119
- [ 'some', _lowerFlatOwn({
13120
- componentIdx: 0,
13121
- lowerFn:
13122
- function lowerImportedOwnedHost_TerminalOutput(obj) {
13123
- if (!(obj instanceof TerminalOutput)) {
13124
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13125
- }
13126
- let handle = obj[symbolRscHandle];
13127
- if (!handle) {
13128
- const rep = obj[symbolRscRep] || ++captureCnt4;
13129
- captureTable4.set(rep, obj);
13130
- handle = rscTableCreateOwn(handleTable4, rep);
13974
+ resultLowerFns: [
13975
+ _lowerFlatOption({
13976
+ caseMetas: [
13977
+ [ 'none', null, 0, 0, 0 ],
13978
+ [ 'some', _lowerFlatOwn({
13979
+ componentIdx: 0,
13980
+ lowerFn:
13981
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
13982
+ if (!(obj instanceof TerminalOutput)) {
13983
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13984
+ }
13985
+ let handle = obj[symbolRscHandle];
13986
+ if (!handle) {
13987
+ const rep = obj[symbolRscRep] || ++captureCnt4;
13988
+ captureTable4.set(rep, obj);
13989
+ handle = rscTableCreateOwn(handleTable4, rep);
13990
+ }
13991
+ return handle;
13131
13992
  }
13132
- return handle;
13133
- }
13134
- ,
13135
- }), 8, 4, 4 ],
13136
- ])
13993
+ ,
13994
+ }), 4, 4, 1],
13995
+ ],
13996
+ variantSize32: 8,
13997
+ variantAlign32: 4,
13998
+ variantPayloadOffset32: 4,
13999
+ variantFlatCount: 2,
14000
+ })
13137
14001
  ],
13138
14002
  hasResultPointer: true,
13139
14003
  funcTypeIsAsync: false,
@@ -13154,26 +14018,33 @@ null,
13154
14018
  isAsync: false,
13155
14019
  isManualAsync: _trampoline34.manuallyAsync,
13156
14020
  paramLiftFns: [],
13157
- resultLowerFns: [_lowerFlatOption([
13158
- [ 'none', null, 8, 4, 4 ],
13159
- [ 'some', _lowerFlatOwn({
13160
- componentIdx: 0,
13161
- lowerFn:
13162
- function lowerImportedOwnedHost_TerminalOutput(obj) {
13163
- if (!(obj instanceof TerminalOutput)) {
13164
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13165
- }
13166
- let handle = obj[symbolRscHandle];
13167
- if (!handle) {
13168
- const rep = obj[symbolRscRep] || ++captureCnt4;
13169
- captureTable4.set(rep, obj);
13170
- handle = rscTableCreateOwn(handleTable4, rep);
14021
+ resultLowerFns: [
14022
+ _lowerFlatOption({
14023
+ caseMetas: [
14024
+ [ 'none', null, 0, 0, 0 ],
14025
+ [ 'some', _lowerFlatOwn({
14026
+ componentIdx: 0,
14027
+ lowerFn:
14028
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
14029
+ if (!(obj instanceof TerminalOutput)) {
14030
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
14031
+ }
14032
+ let handle = obj[symbolRscHandle];
14033
+ if (!handle) {
14034
+ const rep = obj[symbolRscRep] || ++captureCnt4;
14035
+ captureTable4.set(rep, obj);
14036
+ handle = rscTableCreateOwn(handleTable4, rep);
14037
+ }
14038
+ return handle;
13171
14039
  }
13172
- return handle;
13173
- }
13174
- ,
13175
- }), 8, 4, 4 ],
13176
- ])
14040
+ ,
14041
+ }), 4, 4, 1],
14042
+ ],
14043
+ variantSize32: 8,
14044
+ variantAlign32: 4,
14045
+ variantPayloadOffset32: 4,
14046
+ variantFlatCount: 2,
14047
+ })
13177
14048
  ],
13178
14049
  hasResultPointer: true,
13179
14050
  funcTypeIsAsync: false,
@@ -13195,26 +14066,33 @@ null,
13195
14066
  isAsync: false,
13196
14067
  isManualAsync: _trampoline35.manuallyAsync,
13197
14068
  paramLiftFns: [],
13198
- resultLowerFns: [_lowerFlatOption([
13199
- [ 'none', null, 8, 4, 4 ],
13200
- [ 'some', _lowerFlatOwn({
13201
- componentIdx: 0,
13202
- lowerFn:
13203
- function lowerImportedOwnedHost_TerminalOutput(obj) {
13204
- if (!(obj instanceof TerminalOutput)) {
13205
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13206
- }
13207
- let handle = obj[symbolRscHandle];
13208
- if (!handle) {
13209
- const rep = obj[symbolRscRep] || ++captureCnt4;
13210
- captureTable4.set(rep, obj);
13211
- handle = rscTableCreateOwn(handleTable4, rep);
14069
+ resultLowerFns: [
14070
+ _lowerFlatOption({
14071
+ caseMetas: [
14072
+ [ 'none', null, 0, 0, 0 ],
14073
+ [ 'some', _lowerFlatOwn({
14074
+ componentIdx: 0,
14075
+ lowerFn:
14076
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
14077
+ if (!(obj instanceof TerminalOutput)) {
14078
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
14079
+ }
14080
+ let handle = obj[symbolRscHandle];
14081
+ if (!handle) {
14082
+ const rep = obj[symbolRscRep] || ++captureCnt4;
14083
+ captureTable4.set(rep, obj);
14084
+ handle = rscTableCreateOwn(handleTable4, rep);
14085
+ }
14086
+ return handle;
13212
14087
  }
13213
- return handle;
13214
- }
13215
- ,
13216
- }), 8, 4, 4 ],
13217
- ])
14088
+ ,
14089
+ }), 4, 4, 1],
14090
+ ],
14091
+ variantSize32: 8,
14092
+ variantAlign32: 4,
14093
+ variantPayloadOffset32: 4,
14094
+ variantFlatCount: 2,
14095
+ })
13218
14096
  ],
13219
14097
  hasResultPointer: true,
13220
14098
  funcTypeIsAsync: false,
@@ -13235,26 +14113,33 @@ null,
13235
14113
  isAsync: false,
13236
14114
  isManualAsync: _trampoline35.manuallyAsync,
13237
14115
  paramLiftFns: [],
13238
- resultLowerFns: [_lowerFlatOption([
13239
- [ 'none', null, 8, 4, 4 ],
13240
- [ 'some', _lowerFlatOwn({
13241
- componentIdx: 0,
13242
- lowerFn:
13243
- function lowerImportedOwnedHost_TerminalOutput(obj) {
13244
- if (!(obj instanceof TerminalOutput)) {
13245
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13246
- }
13247
- let handle = obj[symbolRscHandle];
13248
- if (!handle) {
13249
- const rep = obj[symbolRscRep] || ++captureCnt4;
13250
- captureTable4.set(rep, obj);
13251
- handle = rscTableCreateOwn(handleTable4, rep);
14116
+ resultLowerFns: [
14117
+ _lowerFlatOption({
14118
+ caseMetas: [
14119
+ [ 'none', null, 0, 0, 0 ],
14120
+ [ 'some', _lowerFlatOwn({
14121
+ componentIdx: 0,
14122
+ lowerFn:
14123
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
14124
+ if (!(obj instanceof TerminalOutput)) {
14125
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
14126
+ }
14127
+ let handle = obj[symbolRscHandle];
14128
+ if (!handle) {
14129
+ const rep = obj[symbolRscRep] || ++captureCnt4;
14130
+ captureTable4.set(rep, obj);
14131
+ handle = rscTableCreateOwn(handleTable4, rep);
14132
+ }
14133
+ return handle;
13252
14134
  }
13253
- return handle;
13254
- }
13255
- ,
13256
- }), 8, 4, 4 ],
13257
- ])
14135
+ ,
14136
+ }), 4, 4, 1],
14137
+ ],
14138
+ variantSize32: 8,
14139
+ variantAlign32: 4,
14140
+ variantPayloadOffset32: 4,
14141
+ variantFlatCount: 2,
14142
+ })
13258
14143
  ],
13259
14144
  hasResultPointer: true,
13260
14145
  funcTypeIsAsync: false,
@@ -13274,8 +14159,8 @@ export const $init = (() => {
13274
14159
  let gen = (function* _initGenerator () {
13275
14160
  const module0 = fetchCompile(new URL('./wasm-tools.core.wasm', import.meta.url));
13276
14161
  const module1 = fetchCompile(new URL('./wasm-tools.core2.wasm', import.meta.url));
13277
- const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwADKCcBAQEHAQEBCAQJBAoLAgIAAAAABQMDAAAABQwAAwMABgYADQICAgIEBQFwAScnB8UBKAEwAAABMQABATIAAgEzAAMBNAAEATUABQE2AAYBNwAHATgACAE5AAkCMTAACgIxMQALAjEyAAwCMTMADQIxNAAOAjE1AA8CMTYAEAIxNwARAjE4ABICMTkAEwIyMAAUAjIxABUCMjIAFgIyMwAXAjI0ABgCMjUAGQIyNgAaAjI3ABsCMjgAHAIyOQAdAjMwAB4CMzEAHwIzMgAgAjMzACECMzQAIgIzNQAjAjM2ACQCMzcAJQIzOAAmCCRpbXBvcnRzAQAKkQQnCwAgACABQQARAQALCwAgACABQQERAQALCwAgACABQQIRAQALCQAgAEEDEQcACwsAIAAgAUEEEQEACwsAIAAgAUEFEQEACwsAIAAgAUEGEQEACw0AIAAgASACQQcRCAALDwAgACABIAIgA0EIEQQACxEAIAAgASACIAMgBEEJEQkACw8AIAAgASACIANBChEEAAsRACAAIAEgAiADIARBCxEKAAsZACAAIAEgAiADIAQgBSAGIAcgCEEMEQsACwkAIABBDRECAAsJACAAQQ4RAgALCwAgACABQQ8RAAALCwAgACABQRARAAALCwAgACABQRERAAALCwAgACABQRIRAAALEQAgACABIAIgAyAEQRMRBQALDQAgACABIAJBFBEDAAsNACAAIAEgAkEVEQMACwsAIAAgAUEWEQAACwsAIAAgAUEXEQAACwsAIAAgAUEYEQAACxEAIAAgASACIAMgBEEZEQUACxUAIAAgASACIAMgBCAFIAZBGhEMAAsLACAAIAFBGxEAAAsNACAAIAEgAkEcEQMACw0AIAAgASACQR0RAwALCwAgACABQR4RAAALDwAgACABIAIgA0EfEQYACw8AIAAgASACIANBIBEGAAsLACAAIAFBIREAAAsLACAAIAFBIhENAAsJACAAQSMRAgALCQAgAEEkEQIACwkAIABBJRECAAsJACAAQSYRAgALAC8JcHJvZHVjZXJzAQxwcm9jZXNzZWQtYnkBDXdpdC1jb21wb25lbnQHMC4yNDUuMQ');
13278
- const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwAC8AEoAAEwAAEAATEAAQABMgABAAEzAAcAATQAAQABNQABAAE2AAEAATcACAABOAAEAAE5AAkAAjEwAAQAAjExAAoAAjEyAAsAAjEzAAIAAjE0AAIAAjE1AAAAAjE2AAAAAjE3AAAAAjE4AAAAAjE5AAUAAjIwAAMAAjIxAAMAAjIyAAAAAjIzAAAAAjI0AAAAAjI1AAUAAjI2AAwAAjI3AAAAAjI4AAMAAjI5AAMAAjMwAAAAAjMxAAYAAjMyAAYAAjMzAAAAAjM0AA0AAjM1AAIAAjM2AAIAAjM3AAIAAjM4AAIACCRpbXBvcnRzAXABJycJLQEAQQALJwABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJgAvCXByb2R1Y2VycwEMcHJvY2Vzc2VkLWJ5AQ13aXQtY29tcG9uZW50BzAuMjQ1LjE');
14162
+ const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwADKCcBAQEHAQEBCAQJBAoLAgIAAAAABQMDAAAABQwAAwMABgYADQICAgIEBQFwAScnB8UBKAEwAAABMQABATIAAgEzAAMBNAAEATUABQE2AAYBNwAHATgACAE5AAkCMTAACgIxMQALAjEyAAwCMTMADQIxNAAOAjE1AA8CMTYAEAIxNwARAjE4ABICMTkAEwIyMAAUAjIxABUCMjIAFgIyMwAXAjI0ABgCMjUAGQIyNgAaAjI3ABsCMjgAHAIyOQAdAjMwAB4CMzEAHwIzMgAgAjMzACECMzQAIgIzNQAjAjM2ACQCMzcAJQIzOAAmCCRpbXBvcnRzAQAKkQQnCwAgACABQQARAQALCwAgACABQQERAQALCwAgACABQQIRAQALCQAgAEEDEQcACwsAIAAgAUEEEQEACwsAIAAgAUEFEQEACwsAIAAgAUEGEQEACw0AIAAgASACQQcRCAALDwAgACABIAIgA0EIEQQACxEAIAAgASACIAMgBEEJEQkACw8AIAAgASACIANBChEEAAsRACAAIAEgAiADIARBCxEKAAsZACAAIAEgAiADIAQgBSAGIAcgCEEMEQsACwkAIABBDRECAAsJACAAQQ4RAgALCwAgACABQQ8RAAALCwAgACABQRARAAALCwAgACABQRERAAALCwAgACABQRIRAAALEQAgACABIAIgAyAEQRMRBQALDQAgACABIAJBFBEDAAsNACAAIAEgAkEVEQMACwsAIAAgAUEWEQAACwsAIAAgAUEXEQAACwsAIAAgAUEYEQAACxEAIAAgASACIAMgBEEZEQUACxUAIAAgASACIAMgBCAFIAZBGhEMAAsLACAAIAFBGxEAAAsNACAAIAEgAkEcEQMACw0AIAAgASACQR0RAwALCwAgACABQR4RAAALDwAgACABIAIgA0EfEQYACw8AIAAgASACIANBIBEGAAsLACAAIAFBIREAAAsLACAAIAFBIhENAAsJACAAQSMRAgALCQAgAEEkEQIACwkAIABBJRECAAsJACAAQSYRAgALAC8JcHJvZHVjZXJzAQxwcm9jZXNzZWQtYnkBDXdpdC1jb21wb25lbnQHMC4yNTEuMA');
14163
+ const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwAC8AEoAAEwAAEAATEAAQABMgABAAEzAAcAATQAAQABNQABAAE2AAEAATcACAABOAAEAAE5AAkAAjEwAAQAAjExAAoAAjEyAAsAAjEzAAIAAjE0AAIAAjE1AAAAAjE2AAAAAjE3AAAAAjE4AAAAAjE5AAUAAjIwAAMAAjIxAAMAAjIyAAAAAjIzAAAAAjI0AAAAAjI1AAUAAjI2AAwAAjI3AAAAAjI4AAMAAjI5AAMAAjMwAAAAAjMxAAYAAjMyAAYAAjMzAAAAAjM0AA0AAjM1AAIAAjM2AAIAAjM3AAIAAjM4AAIACCRpbXBvcnRzAXABJycJLQEAQQALJwABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJgAvCXByb2R1Y2VycwEMcHJvY2Vzc2VkLWJ5AQ13aXQtY29tcG9uZW50BzAuMjUxLjA');
13279
14164
  ({ exports: exports0 } = yield instantiateCore(yield module2));
13280
14165
  ({ exports: exports1 } = yield instantiateCore(yield module0, {
13281
14166
  wasi_snapshot_preview1: {