@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.
@@ -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
 
@@ -10710,7 +10829,15 @@ null,
10710
10829
  componentIdx: 0,
10711
10830
  isAsync: false,
10712
10831
  isManualAsync: _trampoline10.manuallyAsync,
10713
- paramLiftFns: [_liftFlatResult([['ok', null, 1, 1, 1, 0, 1],['err', null, 1, 1, 1, 0, 1],])],
10832
+ paramLiftFns: [
10833
+ _liftFlatResult({
10834
+ caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
10835
+ variantSize32: 1,
10836
+ variantAlign32: 1,
10837
+ variantPayloadOffset32: 1,
10838
+ variantFlatCount: 1,
10839
+ })
10840
+ ],
10714
10841
  resultLowerFns: [],
10715
10842
  hasResultPointer: false,
10716
10843
  funcTypeIsAsync: false,
@@ -10730,7 +10857,15 @@ null,
10730
10857
  componentIdx: 0,
10731
10858
  isAsync: false,
10732
10859
  isManualAsync: _trampoline10.manuallyAsync,
10733
- paramLiftFns: [_liftFlatResult([['ok', null, 1, 1, 1, 0, 1],['err', null, 1, 1, 1, 0, 1],])],
10860
+ paramLiftFns: [
10861
+ _liftFlatResult({
10862
+ caseMetas: [['ok', null, 0, 0, 0],['err', null, 0, 0, 0],],
10863
+ variantSize32: 1,
10864
+ variantAlign32: 1,
10865
+ variantPayloadOffset32: 1,
10866
+ variantFlatCount: 1,
10867
+ })
10868
+ ],
10734
10869
  resultLowerFns: [],
10735
10870
  hasResultPointer: false,
10736
10871
  funcTypeIsAsync: false,
@@ -10801,10 +10936,25 @@ null,
10801
10936
  isAsync: false,
10802
10937
  isManualAsync: _trampoline12.manuallyAsync,
10803
10938
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10804
- resultLowerFns: [_lowerFlatResult([
10805
- [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
10806
- [ '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 ],
10807
- ])
10939
+ resultLowerFns: [
10940
+ _lowerFlatResult({
10941
+ caseMetas: [
10942
+ [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
10943
+ [ 'err',
10944
+ _lowerFlatEnum({
10945
+ 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],],
10946
+ variantSize32: 1,
10947
+ variantAlign32: 1,
10948
+ variantPayloadOffset32: 1,
10949
+ variantFlatCount: 1,
10950
+ })
10951
+ , 2, 1, 1 ],
10952
+ ],
10953
+ variantSize32: 2,
10954
+ variantAlign32: 1,
10955
+ variantPayloadOffset32: 1,
10956
+ variantFlatCount: 2,
10957
+ })
10808
10958
  ],
10809
10959
  hasResultPointer: true,
10810
10960
  funcTypeIsAsync: false,
@@ -10825,10 +10975,25 @@ null,
10825
10975
  isAsync: false,
10826
10976
  isManualAsync: _trampoline12.manuallyAsync,
10827
10977
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10828
- resultLowerFns: [_lowerFlatResult([
10829
- [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
10830
- [ '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 ],
10831
- ])
10978
+ resultLowerFns: [
10979
+ _lowerFlatResult({
10980
+ caseMetas: [
10981
+ [ 'ok', _lowerFlatFlags({ names: ['read','write','fileIntegritySync','dataIntegritySync','requestedWriteSync','mutateDirectory'], size32: 1, align32: 1, intSizeBytes: 1 }), 2, 1, 1 ],
10982
+ [ 'err',
10983
+ _lowerFlatEnum({
10984
+ 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],],
10985
+ variantSize32: 1,
10986
+ variantAlign32: 1,
10987
+ variantPayloadOffset32: 1,
10988
+ variantFlatCount: 1,
10989
+ })
10990
+ , 2, 1, 1 ],
10991
+ ],
10992
+ variantSize32: 2,
10993
+ variantAlign32: 1,
10994
+ variantPayloadOffset32: 1,
10995
+ variantFlatCount: 2,
10996
+ })
10832
10997
  ],
10833
10998
  hasResultPointer: true,
10834
10999
  funcTypeIsAsync: false,
@@ -10850,10 +11015,33 @@ null,
10850
11015
  isAsync: false,
10851
11016
  isManualAsync: _trampoline13.manuallyAsync,
10852
11017
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10853
- resultLowerFns: [_lowerFlatResult([
10854
- [ '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 ],
10855
- [ '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 ],
10856
- ])
11018
+ resultLowerFns: [
11019
+ _lowerFlatResult({
11020
+ caseMetas: [
11021
+ [ 'ok',
11022
+ _lowerFlatEnum({
11023
+ 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],],
11024
+ variantSize32: 1,
11025
+ variantAlign32: 1,
11026
+ variantPayloadOffset32: 1,
11027
+ variantFlatCount: 1,
11028
+ })
11029
+ , 2, 1, 1 ],
11030
+ [ 'err',
11031
+ _lowerFlatEnum({
11032
+ 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],],
11033
+ variantSize32: 1,
11034
+ variantAlign32: 1,
11035
+ variantPayloadOffset32: 1,
11036
+ variantFlatCount: 1,
11037
+ })
11038
+ , 2, 1, 1 ],
11039
+ ],
11040
+ variantSize32: 2,
11041
+ variantAlign32: 1,
11042
+ variantPayloadOffset32: 1,
11043
+ variantFlatCount: 2,
11044
+ })
10857
11045
  ],
10858
11046
  hasResultPointer: true,
10859
11047
  funcTypeIsAsync: false,
@@ -10874,10 +11062,33 @@ null,
10874
11062
  isAsync: false,
10875
11063
  isManualAsync: _trampoline13.manuallyAsync,
10876
11064
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10877
- resultLowerFns: [_lowerFlatResult([
10878
- [ '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 ],
10879
- [ '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 ],
10880
- ])
11065
+ resultLowerFns: [
11066
+ _lowerFlatResult({
11067
+ caseMetas: [
11068
+ [ 'ok',
11069
+ _lowerFlatEnum({
11070
+ 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],],
11071
+ variantSize32: 1,
11072
+ variantAlign32: 1,
11073
+ variantPayloadOffset32: 1,
11074
+ variantFlatCount: 1,
11075
+ })
11076
+ , 2, 1, 1 ],
11077
+ [ 'err',
11078
+ _lowerFlatEnum({
11079
+ 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],],
11080
+ variantSize32: 1,
11081
+ variantAlign32: 1,
11082
+ variantPayloadOffset32: 1,
11083
+ variantFlatCount: 1,
11084
+ })
11085
+ , 2, 1, 1 ],
11086
+ ],
11087
+ variantSize32: 2,
11088
+ variantAlign32: 1,
11089
+ variantPayloadOffset32: 1,
11090
+ variantFlatCount: 2,
11091
+ })
10881
11092
  ],
10882
11093
  hasResultPointer: true,
10883
11094
  funcTypeIsAsync: false,
@@ -10899,10 +11110,25 @@ null,
10899
11110
  isAsync: false,
10900
11111
  isManualAsync: _trampoline14.manuallyAsync,
10901
11112
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10902
- resultLowerFns: [_lowerFlatResult([
10903
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
10904
- [ '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 ],
10905
- ])
11113
+ resultLowerFns: [
11114
+ _lowerFlatResult({
11115
+ caseMetas: [
11116
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11117
+ [ 'err',
11118
+ _lowerFlatEnum({
11119
+ 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],],
11120
+ variantSize32: 1,
11121
+ variantAlign32: 1,
11122
+ variantPayloadOffset32: 1,
11123
+ variantFlatCount: 1,
11124
+ })
11125
+ , 24, 8, 8 ],
11126
+ ],
11127
+ variantSize32: 24,
11128
+ variantAlign32: 8,
11129
+ variantPayloadOffset32: 8,
11130
+ variantFlatCount: 3,
11131
+ })
10906
11132
  ],
10907
11133
  hasResultPointer: true,
10908
11134
  funcTypeIsAsync: false,
@@ -10923,10 +11149,25 @@ null,
10923
11149
  isAsync: false,
10924
11150
  isManualAsync: _trampoline14.manuallyAsync,
10925
11151
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
10926
- resultLowerFns: [_lowerFlatResult([
10927
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
10928
- [ '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 ],
10929
- ])
11152
+ resultLowerFns: [
11153
+ _lowerFlatResult({
11154
+ caseMetas: [
11155
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11156
+ [ 'err',
11157
+ _lowerFlatEnum({
11158
+ 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],],
11159
+ variantSize32: 1,
11160
+ variantAlign32: 1,
11161
+ variantPayloadOffset32: 1,
11162
+ variantFlatCount: 1,
11163
+ })
11164
+ , 24, 8, 8 ],
11165
+ ],
11166
+ variantSize32: 24,
11167
+ variantAlign32: 8,
11168
+ variantPayloadOffset32: 8,
11169
+ variantFlatCount: 3,
11170
+ })
10930
11171
  ],
10931
11172
  hasResultPointer: true,
10932
11173
  funcTypeIsAsync: false,
@@ -10948,10 +11189,25 @@ null,
10948
11189
  isAsync: false,
10949
11190
  isManualAsync: _trampoline15.manuallyAsync,
10950
11191
  paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
10951
- resultLowerFns: [_lowerFlatOption([
10952
- [ 'none', null, 2, 1, 1 ],
10953
- [ '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 ],
10954
- ])
11192
+ resultLowerFns: [
11193
+ _lowerFlatOption({
11194
+ caseMetas: [
11195
+ [ 'none', null, 0, 0, 0 ],
11196
+ [ 'some',
11197
+ _lowerFlatEnum({
11198
+ 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],],
11199
+ variantSize32: 1,
11200
+ variantAlign32: 1,
11201
+ variantPayloadOffset32: 1,
11202
+ variantFlatCount: 1,
11203
+ })
11204
+ , 1, 1, 1],
11205
+ ],
11206
+ variantSize32: 2,
11207
+ variantAlign32: 1,
11208
+ variantPayloadOffset32: 1,
11209
+ variantFlatCount: 2,
11210
+ })
10955
11211
  ],
10956
11212
  hasResultPointer: true,
10957
11213
  funcTypeIsAsync: false,
@@ -10972,10 +11228,25 @@ null,
10972
11228
  isAsync: false,
10973
11229
  isManualAsync: _trampoline15.manuallyAsync,
10974
11230
  paramLiftFns: [_liftFlatBorrow.bind(null, 0)],
10975
- resultLowerFns: [_lowerFlatOption([
10976
- [ 'none', null, 2, 1, 1 ],
10977
- [ '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 ],
10978
- ])
11231
+ resultLowerFns: [
11232
+ _lowerFlatOption({
11233
+ caseMetas: [
11234
+ [ 'none', null, 0, 0, 0 ],
11235
+ [ 'some',
11236
+ _lowerFlatEnum({
11237
+ 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],],
11238
+ variantSize32: 1,
11239
+ variantAlign32: 1,
11240
+ variantPayloadOffset32: 1,
11241
+ variantFlatCount: 1,
11242
+ })
11243
+ , 1, 1, 1],
11244
+ ],
11245
+ variantSize32: 2,
11246
+ variantAlign32: 1,
11247
+ variantPayloadOffset32: 1,
11248
+ variantFlatCount: 2,
11249
+ })
10979
11250
  ],
10980
11251
  hasResultPointer: true,
10981
11252
  funcTypeIsAsync: false,
@@ -10997,10 +11268,25 @@ null,
10997
11268
  isAsync: false,
10998
11269
  isManualAsync: _trampoline16.manuallyAsync,
10999
11270
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
11000
- resultLowerFns: [_lowerFlatResult([
11001
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11002
- [ '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 ],
11003
- ])
11271
+ resultLowerFns: [
11272
+ _lowerFlatResult({
11273
+ caseMetas: [
11274
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11275
+ [ 'err',
11276
+ _lowerFlatEnum({
11277
+ 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],],
11278
+ variantSize32: 1,
11279
+ variantAlign32: 1,
11280
+ variantPayloadOffset32: 1,
11281
+ variantFlatCount: 1,
11282
+ })
11283
+ , 24, 8, 8 ],
11284
+ ],
11285
+ variantSize32: 24,
11286
+ variantAlign32: 8,
11287
+ variantPayloadOffset32: 8,
11288
+ variantFlatCount: 3,
11289
+ })
11004
11290
  ],
11005
11291
  hasResultPointer: true,
11006
11292
  funcTypeIsAsync: false,
@@ -11021,10 +11307,25 @@ null,
11021
11307
  isAsync: false,
11022
11308
  isManualAsync: _trampoline16.manuallyAsync,
11023
11309
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
11024
- resultLowerFns: [_lowerFlatResult([
11025
- [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11026
- [ '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 ],
11027
- ])
11310
+ resultLowerFns: [
11311
+ _lowerFlatResult({
11312
+ caseMetas: [
11313
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['lower', _lowerFlatU64, 8, 8 ],['upper', _lowerFlatU64, 8, 8 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11314
+ [ 'err',
11315
+ _lowerFlatEnum({
11316
+ 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],],
11317
+ variantSize32: 1,
11318
+ variantAlign32: 1,
11319
+ variantPayloadOffset32: 1,
11320
+ variantFlatCount: 1,
11321
+ })
11322
+ , 24, 8, 8 ],
11323
+ ],
11324
+ variantSize32: 24,
11325
+ variantAlign32: 8,
11326
+ variantPayloadOffset32: 8,
11327
+ variantFlatCount: 3,
11328
+ })
11028
11329
  ],
11029
11330
  hasResultPointer: true,
11030
11331
  funcTypeIsAsync: false,
@@ -11046,26 +11347,41 @@ null,
11046
11347
  isAsync: false,
11047
11348
  isManualAsync: _trampoline17.manuallyAsync,
11048
11349
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11049
- resultLowerFns: [_lowerFlatResult([
11050
- [ 'ok', _lowerFlatOwn({
11051
- componentIdx: 0,
11052
- lowerFn:
11053
- function lowerImportedOwnedHost_InputStream(obj) {
11054
- if (!(obj instanceof InputStream)) {
11055
- throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
11056
- }
11057
- let handle = obj[symbolRscHandle];
11058
- if (!handle) {
11059
- const rep = obj[symbolRscRep] || ++captureCnt1;
11060
- captureTable1.set(rep, obj);
11061
- handle = rscTableCreateOwn(handleTable1, rep);
11350
+ resultLowerFns: [
11351
+ _lowerFlatResult({
11352
+ caseMetas: [
11353
+ [ 'ok', _lowerFlatOwn({
11354
+ componentIdx: 0,
11355
+ lowerFn:
11356
+ function lowerImportedOwnedHost_InputStream(obj) {
11357
+ if (!(obj instanceof InputStream)) {
11358
+ throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
11359
+ }
11360
+ let handle = obj[symbolRscHandle];
11361
+ if (!handle) {
11362
+ const rep = obj[symbolRscRep] || ++captureCnt1;
11363
+ captureTable1.set(rep, obj);
11364
+ handle = rscTableCreateOwn(handleTable1, rep);
11365
+ }
11366
+ return handle;
11062
11367
  }
11063
- return handle;
11064
- }
11065
- ,
11066
- }), 8, 4, 4 ],
11067
- [ '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 ],
11068
- ])
11368
+ ,
11369
+ }), 8, 4, 4 ],
11370
+ [ 'err',
11371
+ _lowerFlatEnum({
11372
+ 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],],
11373
+ variantSize32: 1,
11374
+ variantAlign32: 1,
11375
+ variantPayloadOffset32: 1,
11376
+ variantFlatCount: 1,
11377
+ })
11378
+ , 8, 4, 4 ],
11379
+ ],
11380
+ variantSize32: 8,
11381
+ variantAlign32: 4,
11382
+ variantPayloadOffset32: 4,
11383
+ variantFlatCount: 2,
11384
+ })
11069
11385
  ],
11070
11386
  hasResultPointer: true,
11071
11387
  funcTypeIsAsync: false,
@@ -11086,26 +11402,41 @@ null,
11086
11402
  isAsync: false,
11087
11403
  isManualAsync: _trampoline17.manuallyAsync,
11088
11404
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11089
- resultLowerFns: [_lowerFlatResult([
11090
- [ 'ok', _lowerFlatOwn({
11091
- componentIdx: 0,
11092
- lowerFn:
11093
- function lowerImportedOwnedHost_InputStream(obj) {
11094
- if (!(obj instanceof InputStream)) {
11095
- throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
11096
- }
11097
- let handle = obj[symbolRscHandle];
11098
- if (!handle) {
11099
- const rep = obj[symbolRscRep] || ++captureCnt1;
11100
- captureTable1.set(rep, obj);
11101
- handle = rscTableCreateOwn(handleTable1, rep);
11405
+ resultLowerFns: [
11406
+ _lowerFlatResult({
11407
+ caseMetas: [
11408
+ [ 'ok', _lowerFlatOwn({
11409
+ componentIdx: 0,
11410
+ lowerFn:
11411
+ function lowerImportedOwnedHost_InputStream(obj) {
11412
+ if (!(obj instanceof InputStream)) {
11413
+ throw new TypeError('Resource error: Not a valid \"InputStream\" resource.');
11414
+ }
11415
+ let handle = obj[symbolRscHandle];
11416
+ if (!handle) {
11417
+ const rep = obj[symbolRscRep] || ++captureCnt1;
11418
+ captureTable1.set(rep, obj);
11419
+ handle = rscTableCreateOwn(handleTable1, rep);
11420
+ }
11421
+ return handle;
11102
11422
  }
11103
- return handle;
11104
- }
11105
- ,
11106
- }), 8, 4, 4 ],
11107
- [ '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 ],
11108
- ])
11423
+ ,
11424
+ }), 8, 4, 4 ],
11425
+ [ 'err',
11426
+ _lowerFlatEnum({
11427
+ 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],],
11428
+ variantSize32: 1,
11429
+ variantAlign32: 1,
11430
+ variantPayloadOffset32: 1,
11431
+ variantFlatCount: 1,
11432
+ })
11433
+ , 8, 4, 4 ],
11434
+ ],
11435
+ variantSize32: 8,
11436
+ variantAlign32: 4,
11437
+ variantPayloadOffset32: 4,
11438
+ variantFlatCount: 2,
11439
+ })
11109
11440
  ],
11110
11441
  hasResultPointer: true,
11111
11442
  funcTypeIsAsync: false,
@@ -11127,26 +11458,41 @@ null,
11127
11458
  isAsync: false,
11128
11459
  isManualAsync: _trampoline18.manuallyAsync,
11129
11460
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11130
- resultLowerFns: [_lowerFlatResult([
11131
- [ 'ok', _lowerFlatOwn({
11132
- componentIdx: 0,
11133
- lowerFn:
11134
- function lowerImportedOwnedHost_OutputStream(obj) {
11135
- if (!(obj instanceof OutputStream)) {
11136
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11137
- }
11138
- let handle = obj[symbolRscHandle];
11139
- if (!handle) {
11140
- const rep = obj[symbolRscRep] || ++captureCnt2;
11141
- captureTable2.set(rep, obj);
11142
- handle = rscTableCreateOwn(handleTable2, rep);
11461
+ resultLowerFns: [
11462
+ _lowerFlatResult({
11463
+ caseMetas: [
11464
+ [ 'ok', _lowerFlatOwn({
11465
+ componentIdx: 0,
11466
+ lowerFn:
11467
+ function lowerImportedOwnedHost_OutputStream(obj) {
11468
+ if (!(obj instanceof OutputStream)) {
11469
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11470
+ }
11471
+ let handle = obj[symbolRscHandle];
11472
+ if (!handle) {
11473
+ const rep = obj[symbolRscRep] || ++captureCnt2;
11474
+ captureTable2.set(rep, obj);
11475
+ handle = rscTableCreateOwn(handleTable2, rep);
11476
+ }
11477
+ return handle;
11143
11478
  }
11144
- return handle;
11145
- }
11146
- ,
11147
- }), 8, 4, 4 ],
11148
- [ '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 ],
11149
- ])
11479
+ ,
11480
+ }), 8, 4, 4 ],
11481
+ [ 'err',
11482
+ _lowerFlatEnum({
11483
+ 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],],
11484
+ variantSize32: 1,
11485
+ variantAlign32: 1,
11486
+ variantPayloadOffset32: 1,
11487
+ variantFlatCount: 1,
11488
+ })
11489
+ , 8, 4, 4 ],
11490
+ ],
11491
+ variantSize32: 8,
11492
+ variantAlign32: 4,
11493
+ variantPayloadOffset32: 4,
11494
+ variantFlatCount: 2,
11495
+ })
11150
11496
  ],
11151
11497
  hasResultPointer: true,
11152
11498
  funcTypeIsAsync: false,
@@ -11167,26 +11513,41 @@ null,
11167
11513
  isAsync: false,
11168
11514
  isManualAsync: _trampoline18.manuallyAsync,
11169
11515
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatU64],
11170
- resultLowerFns: [_lowerFlatResult([
11171
- [ 'ok', _lowerFlatOwn({
11172
- componentIdx: 0,
11173
- lowerFn:
11174
- function lowerImportedOwnedHost_OutputStream(obj) {
11175
- if (!(obj instanceof OutputStream)) {
11176
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11177
- }
11178
- let handle = obj[symbolRscHandle];
11179
- if (!handle) {
11180
- const rep = obj[symbolRscRep] || ++captureCnt2;
11181
- captureTable2.set(rep, obj);
11182
- handle = rscTableCreateOwn(handleTable2, rep);
11516
+ resultLowerFns: [
11517
+ _lowerFlatResult({
11518
+ caseMetas: [
11519
+ [ 'ok', _lowerFlatOwn({
11520
+ componentIdx: 0,
11521
+ lowerFn:
11522
+ function lowerImportedOwnedHost_OutputStream(obj) {
11523
+ if (!(obj instanceof OutputStream)) {
11524
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11525
+ }
11526
+ let handle = obj[symbolRscHandle];
11527
+ if (!handle) {
11528
+ const rep = obj[symbolRscRep] || ++captureCnt2;
11529
+ captureTable2.set(rep, obj);
11530
+ handle = rscTableCreateOwn(handleTable2, rep);
11531
+ }
11532
+ return handle;
11183
11533
  }
11184
- return handle;
11185
- }
11186
- ,
11187
- }), 8, 4, 4 ],
11188
- [ '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 ],
11189
- ])
11534
+ ,
11535
+ }), 8, 4, 4 ],
11536
+ [ 'err',
11537
+ _lowerFlatEnum({
11538
+ 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],],
11539
+ variantSize32: 1,
11540
+ variantAlign32: 1,
11541
+ variantPayloadOffset32: 1,
11542
+ variantFlatCount: 1,
11543
+ })
11544
+ , 8, 4, 4 ],
11545
+ ],
11546
+ variantSize32: 8,
11547
+ variantAlign32: 4,
11548
+ variantPayloadOffset32: 4,
11549
+ variantFlatCount: 2,
11550
+ })
11190
11551
  ],
11191
11552
  hasResultPointer: true,
11192
11553
  funcTypeIsAsync: false,
@@ -11208,26 +11569,41 @@ null,
11208
11569
  isAsync: false,
11209
11570
  isManualAsync: _trampoline19.manuallyAsync,
11210
11571
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11211
- resultLowerFns: [_lowerFlatResult([
11212
- [ 'ok', _lowerFlatOwn({
11213
- componentIdx: 0,
11214
- lowerFn:
11215
- function lowerImportedOwnedHost_OutputStream(obj) {
11216
- if (!(obj instanceof OutputStream)) {
11217
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11218
- }
11219
- let handle = obj[symbolRscHandle];
11220
- if (!handle) {
11221
- const rep = obj[symbolRscRep] || ++captureCnt2;
11222
- captureTable2.set(rep, obj);
11223
- handle = rscTableCreateOwn(handleTable2, rep);
11572
+ resultLowerFns: [
11573
+ _lowerFlatResult({
11574
+ caseMetas: [
11575
+ [ 'ok', _lowerFlatOwn({
11576
+ componentIdx: 0,
11577
+ lowerFn:
11578
+ function lowerImportedOwnedHost_OutputStream(obj) {
11579
+ if (!(obj instanceof OutputStream)) {
11580
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11581
+ }
11582
+ let handle = obj[symbolRscHandle];
11583
+ if (!handle) {
11584
+ const rep = obj[symbolRscRep] || ++captureCnt2;
11585
+ captureTable2.set(rep, obj);
11586
+ handle = rscTableCreateOwn(handleTable2, rep);
11587
+ }
11588
+ return handle;
11224
11589
  }
11225
- return handle;
11226
- }
11227
- ,
11228
- }), 8, 4, 4 ],
11229
- [ '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 ],
11230
- ])
11590
+ ,
11591
+ }), 8, 4, 4 ],
11592
+ [ 'err',
11593
+ _lowerFlatEnum({
11594
+ 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],],
11595
+ variantSize32: 1,
11596
+ variantAlign32: 1,
11597
+ variantPayloadOffset32: 1,
11598
+ variantFlatCount: 1,
11599
+ })
11600
+ , 8, 4, 4 ],
11601
+ ],
11602
+ variantSize32: 8,
11603
+ variantAlign32: 4,
11604
+ variantPayloadOffset32: 4,
11605
+ variantFlatCount: 2,
11606
+ })
11231
11607
  ],
11232
11608
  hasResultPointer: true,
11233
11609
  funcTypeIsAsync: false,
@@ -11248,26 +11624,41 @@ null,
11248
11624
  isAsync: false,
11249
11625
  isManualAsync: _trampoline19.manuallyAsync,
11250
11626
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11251
- resultLowerFns: [_lowerFlatResult([
11252
- [ 'ok', _lowerFlatOwn({
11253
- componentIdx: 0,
11254
- lowerFn:
11255
- function lowerImportedOwnedHost_OutputStream(obj) {
11256
- if (!(obj instanceof OutputStream)) {
11257
- throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11258
- }
11259
- let handle = obj[symbolRscHandle];
11260
- if (!handle) {
11261
- const rep = obj[symbolRscRep] || ++captureCnt2;
11262
- captureTable2.set(rep, obj);
11263
- handle = rscTableCreateOwn(handleTable2, rep);
11627
+ resultLowerFns: [
11628
+ _lowerFlatResult({
11629
+ caseMetas: [
11630
+ [ 'ok', _lowerFlatOwn({
11631
+ componentIdx: 0,
11632
+ lowerFn:
11633
+ function lowerImportedOwnedHost_OutputStream(obj) {
11634
+ if (!(obj instanceof OutputStream)) {
11635
+ throw new TypeError('Resource error: Not a valid \"OutputStream\" resource.');
11636
+ }
11637
+ let handle = obj[symbolRscHandle];
11638
+ if (!handle) {
11639
+ const rep = obj[symbolRscRep] || ++captureCnt2;
11640
+ captureTable2.set(rep, obj);
11641
+ handle = rscTableCreateOwn(handleTable2, rep);
11642
+ }
11643
+ return handle;
11264
11644
  }
11265
- return handle;
11266
- }
11267
- ,
11268
- }), 8, 4, 4 ],
11269
- [ '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 ],
11270
- ])
11645
+ ,
11646
+ }), 8, 4, 4 ],
11647
+ [ 'err',
11648
+ _lowerFlatEnum({
11649
+ 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],],
11650
+ variantSize32: 1,
11651
+ variantAlign32: 1,
11652
+ variantPayloadOffset32: 1,
11653
+ variantFlatCount: 1,
11654
+ })
11655
+ , 8, 4, 4 ],
11656
+ ],
11657
+ variantSize32: 8,
11658
+ variantAlign32: 4,
11659
+ variantPayloadOffset32: 4,
11660
+ variantFlatCount: 2,
11661
+ })
11271
11662
  ],
11272
11663
  hasResultPointer: true,
11273
11664
  funcTypeIsAsync: false,
@@ -11289,26 +11680,41 @@ null,
11289
11680
  isAsync: false,
11290
11681
  isManualAsync: _trampoline20.manuallyAsync,
11291
11682
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11292
- resultLowerFns: [_lowerFlatResult([
11293
- [ 'ok', _lowerFlatOwn({
11294
- componentIdx: 0,
11295
- lowerFn:
11296
- function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
11297
- if (!(obj instanceof DirectoryEntryStream)) {
11298
- throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
11299
- }
11300
- let handle = obj[symbolRscHandle];
11301
- if (!handle) {
11302
- const rep = obj[symbolRscRep] || ++captureCnt5;
11303
- captureTable5.set(rep, obj);
11304
- handle = rscTableCreateOwn(handleTable5, rep);
11683
+ resultLowerFns: [
11684
+ _lowerFlatResult({
11685
+ caseMetas: [
11686
+ [ 'ok', _lowerFlatOwn({
11687
+ componentIdx: 0,
11688
+ lowerFn:
11689
+ function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
11690
+ if (!(obj instanceof DirectoryEntryStream)) {
11691
+ throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
11692
+ }
11693
+ let handle = obj[symbolRscHandle];
11694
+ if (!handle) {
11695
+ const rep = obj[symbolRscRep] || ++captureCnt5;
11696
+ captureTable5.set(rep, obj);
11697
+ handle = rscTableCreateOwn(handleTable5, rep);
11698
+ }
11699
+ return handle;
11305
11700
  }
11306
- return handle;
11307
- }
11308
- ,
11309
- }), 8, 4, 4 ],
11310
- [ '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 ],
11311
- ])
11701
+ ,
11702
+ }), 8, 4, 4 ],
11703
+ [ 'err',
11704
+ _lowerFlatEnum({
11705
+ 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],],
11706
+ variantSize32: 1,
11707
+ variantAlign32: 1,
11708
+ variantPayloadOffset32: 1,
11709
+ variantFlatCount: 1,
11710
+ })
11711
+ , 8, 4, 4 ],
11712
+ ],
11713
+ variantSize32: 8,
11714
+ variantAlign32: 4,
11715
+ variantPayloadOffset32: 4,
11716
+ variantFlatCount: 2,
11717
+ })
11312
11718
  ],
11313
11719
  hasResultPointer: true,
11314
11720
  funcTypeIsAsync: false,
@@ -11329,26 +11735,41 @@ null,
11329
11735
  isAsync: false,
11330
11736
  isManualAsync: _trampoline20.manuallyAsync,
11331
11737
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11332
- resultLowerFns: [_lowerFlatResult([
11333
- [ 'ok', _lowerFlatOwn({
11334
- componentIdx: 0,
11335
- lowerFn:
11336
- function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
11337
- if (!(obj instanceof DirectoryEntryStream)) {
11338
- throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
11339
- }
11340
- let handle = obj[symbolRscHandle];
11341
- if (!handle) {
11342
- const rep = obj[symbolRscRep] || ++captureCnt5;
11343
- captureTable5.set(rep, obj);
11344
- handle = rscTableCreateOwn(handleTable5, rep);
11738
+ resultLowerFns: [
11739
+ _lowerFlatResult({
11740
+ caseMetas: [
11741
+ [ 'ok', _lowerFlatOwn({
11742
+ componentIdx: 0,
11743
+ lowerFn:
11744
+ function lowerImportedOwnedHost_DirectoryEntryStream(obj) {
11745
+ if (!(obj instanceof DirectoryEntryStream)) {
11746
+ throw new TypeError('Resource error: Not a valid \"DirectoryEntryStream\" resource.');
11747
+ }
11748
+ let handle = obj[symbolRscHandle];
11749
+ if (!handle) {
11750
+ const rep = obj[symbolRscRep] || ++captureCnt5;
11751
+ captureTable5.set(rep, obj);
11752
+ handle = rscTableCreateOwn(handleTable5, rep);
11753
+ }
11754
+ return handle;
11345
11755
  }
11346
- return handle;
11347
- }
11348
- ,
11349
- }), 8, 4, 4 ],
11350
- [ '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 ],
11351
- ])
11756
+ ,
11757
+ }), 8, 4, 4 ],
11758
+ [ 'err',
11759
+ _lowerFlatEnum({
11760
+ 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],],
11761
+ variantSize32: 1,
11762
+ variantAlign32: 1,
11763
+ variantPayloadOffset32: 1,
11764
+ variantFlatCount: 1,
11765
+ })
11766
+ , 8, 4, 4 ],
11767
+ ],
11768
+ variantSize32: 8,
11769
+ variantAlign32: 4,
11770
+ variantPayloadOffset32: 4,
11771
+ variantFlatCount: 2,
11772
+ })
11352
11773
  ],
11353
11774
  hasResultPointer: true,
11354
11775
  funcTypeIsAsync: false,
@@ -11370,22 +11791,66 @@ null,
11370
11791
  isAsync: false,
11371
11792
  isManualAsync: _trampoline21.manuallyAsync,
11372
11793
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11373
- resultLowerFns: [_lowerFlatResult([
11374
- [ '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([
11375
- [ 'none', null, 24, 8, 8 ],
11376
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11377
- ])
11378
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
11379
- [ 'none', null, 24, 8, 8 ],
11380
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11381
- ])
11382
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
11383
- [ 'none', null, 24, 8, 8 ],
11384
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11385
- ])
11386
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
11387
- [ '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 ],
11388
- ])
11794
+ resultLowerFns: [
11795
+ _lowerFlatResult({
11796
+ caseMetas: [
11797
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
11798
+ _lowerFlatEnum({
11799
+ 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],],
11800
+ variantSize32: 1,
11801
+ variantAlign32: 1,
11802
+ variantPayloadOffset32: 1,
11803
+ variantFlatCount: 1,
11804
+ })
11805
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
11806
+ _lowerFlatOption({
11807
+ caseMetas: [
11808
+ [ 'none', null, 0, 0, 0 ],
11809
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
11810
+ ],
11811
+ variantSize32: 24,
11812
+ variantAlign32: 8,
11813
+ variantPayloadOffset32: 8,
11814
+ variantFlatCount: 3,
11815
+ })
11816
+ , 24, 8 ],['dataModificationTimestamp',
11817
+ _lowerFlatOption({
11818
+ caseMetas: [
11819
+ [ 'none', null, 0, 0, 0 ],
11820
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
11821
+ ],
11822
+ variantSize32: 24,
11823
+ variantAlign32: 8,
11824
+ variantPayloadOffset32: 8,
11825
+ variantFlatCount: 3,
11826
+ })
11827
+ , 24, 8 ],['statusChangeTimestamp',
11828
+ _lowerFlatOption({
11829
+ caseMetas: [
11830
+ [ 'none', null, 0, 0, 0 ],
11831
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
11832
+ ],
11833
+ variantSize32: 24,
11834
+ variantAlign32: 8,
11835
+ variantPayloadOffset32: 8,
11836
+ variantFlatCount: 3,
11837
+ })
11838
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
11839
+ [ 'err',
11840
+ _lowerFlatEnum({
11841
+ 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],],
11842
+ variantSize32: 1,
11843
+ variantAlign32: 1,
11844
+ variantPayloadOffset32: 1,
11845
+ variantFlatCount: 1,
11846
+ })
11847
+ , 104, 8, 8 ],
11848
+ ],
11849
+ variantSize32: 104,
11850
+ variantAlign32: 8,
11851
+ variantPayloadOffset32: 8,
11852
+ variantFlatCount: 13,
11853
+ })
11389
11854
  ],
11390
11855
  hasResultPointer: true,
11391
11856
  funcTypeIsAsync: false,
@@ -11406,22 +11871,66 @@ null,
11406
11871
  isAsync: false,
11407
11872
  isManualAsync: _trampoline21.manuallyAsync,
11408
11873
  paramLiftFns: [_liftFlatBorrow.bind(null, 6)],
11409
- resultLowerFns: [_lowerFlatResult([
11410
- [ '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([
11411
- [ 'none', null, 24, 8, 8 ],
11412
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11413
- ])
11414
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
11415
- [ 'none', null, 24, 8, 8 ],
11416
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11417
- ])
11418
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
11419
- [ 'none', null, 24, 8, 8 ],
11420
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11421
- ])
11422
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
11423
- [ '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 ],
11424
- ])
11874
+ resultLowerFns: [
11875
+ _lowerFlatResult({
11876
+ caseMetas: [
11877
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
11878
+ _lowerFlatEnum({
11879
+ 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],],
11880
+ variantSize32: 1,
11881
+ variantAlign32: 1,
11882
+ variantPayloadOffset32: 1,
11883
+ variantFlatCount: 1,
11884
+ })
11885
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
11886
+ _lowerFlatOption({
11887
+ caseMetas: [
11888
+ [ 'none', null, 0, 0, 0 ],
11889
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
11890
+ ],
11891
+ variantSize32: 24,
11892
+ variantAlign32: 8,
11893
+ variantPayloadOffset32: 8,
11894
+ variantFlatCount: 3,
11895
+ })
11896
+ , 24, 8 ],['dataModificationTimestamp',
11897
+ _lowerFlatOption({
11898
+ caseMetas: [
11899
+ [ 'none', null, 0, 0, 0 ],
11900
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
11901
+ ],
11902
+ variantSize32: 24,
11903
+ variantAlign32: 8,
11904
+ variantPayloadOffset32: 8,
11905
+ variantFlatCount: 3,
11906
+ })
11907
+ , 24, 8 ],['statusChangeTimestamp',
11908
+ _lowerFlatOption({
11909
+ caseMetas: [
11910
+ [ 'none', null, 0, 0, 0 ],
11911
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
11912
+ ],
11913
+ variantSize32: 24,
11914
+ variantAlign32: 8,
11915
+ variantPayloadOffset32: 8,
11916
+ variantFlatCount: 3,
11917
+ })
11918
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
11919
+ [ 'err',
11920
+ _lowerFlatEnum({
11921
+ 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],],
11922
+ variantSize32: 1,
11923
+ variantAlign32: 1,
11924
+ variantPayloadOffset32: 1,
11925
+ variantFlatCount: 1,
11926
+ })
11927
+ , 104, 8, 8 ],
11928
+ ],
11929
+ variantSize32: 104,
11930
+ variantAlign32: 8,
11931
+ variantPayloadOffset32: 8,
11932
+ variantFlatCount: 13,
11933
+ })
11425
11934
  ],
11426
11935
  hasResultPointer: true,
11427
11936
  funcTypeIsAsync: false,
@@ -11443,22 +11952,66 @@ null,
11443
11952
  isAsync: false,
11444
11953
  isManualAsync: _trampoline22.manuallyAsync,
11445
11954
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
11446
- resultLowerFns: [_lowerFlatResult([
11447
- [ '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([
11448
- [ 'none', null, 24, 8, 8 ],
11449
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11450
- ])
11451
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
11452
- [ 'none', null, 24, 8, 8 ],
11453
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11454
- ])
11455
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
11456
- [ 'none', null, 24, 8, 8 ],
11457
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11458
- ])
11459
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
11460
- [ '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 ],
11461
- ])
11955
+ resultLowerFns: [
11956
+ _lowerFlatResult({
11957
+ caseMetas: [
11958
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
11959
+ _lowerFlatEnum({
11960
+ 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],],
11961
+ variantSize32: 1,
11962
+ variantAlign32: 1,
11963
+ variantPayloadOffset32: 1,
11964
+ variantFlatCount: 1,
11965
+ })
11966
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
11967
+ _lowerFlatOption({
11968
+ caseMetas: [
11969
+ [ 'none', null, 0, 0, 0 ],
11970
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
11971
+ ],
11972
+ variantSize32: 24,
11973
+ variantAlign32: 8,
11974
+ variantPayloadOffset32: 8,
11975
+ variantFlatCount: 3,
11976
+ })
11977
+ , 24, 8 ],['dataModificationTimestamp',
11978
+ _lowerFlatOption({
11979
+ caseMetas: [
11980
+ [ 'none', null, 0, 0, 0 ],
11981
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
11982
+ ],
11983
+ variantSize32: 24,
11984
+ variantAlign32: 8,
11985
+ variantPayloadOffset32: 8,
11986
+ variantFlatCount: 3,
11987
+ })
11988
+ , 24, 8 ],['statusChangeTimestamp',
11989
+ _lowerFlatOption({
11990
+ caseMetas: [
11991
+ [ 'none', null, 0, 0, 0 ],
11992
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
11993
+ ],
11994
+ variantSize32: 24,
11995
+ variantAlign32: 8,
11996
+ variantPayloadOffset32: 8,
11997
+ variantFlatCount: 3,
11998
+ })
11999
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12000
+ [ 'err',
12001
+ _lowerFlatEnum({
12002
+ 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],],
12003
+ variantSize32: 1,
12004
+ variantAlign32: 1,
12005
+ variantPayloadOffset32: 1,
12006
+ variantFlatCount: 1,
12007
+ })
12008
+ , 104, 8, 8 ],
12009
+ ],
12010
+ variantSize32: 104,
12011
+ variantAlign32: 8,
12012
+ variantPayloadOffset32: 8,
12013
+ variantFlatCount: 13,
12014
+ })
11462
12015
  ],
11463
12016
  hasResultPointer: true,
11464
12017
  funcTypeIsAsync: false,
@@ -11479,22 +12032,66 @@ null,
11479
12032
  isAsync: false,
11480
12033
  isManualAsync: _trampoline22.manuallyAsync,
11481
12034
  paramLiftFns: [_liftFlatBorrow.bind(null, 6),_liftFlatFlags({ names: ['symlinkFollow'], size32: 1, align32: 1, intSizeBytes: 1 }),_liftFlatStringAny],
11482
- resultLowerFns: [_lowerFlatResult([
11483
- [ '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([
11484
- [ 'none', null, 24, 8, 8 ],
11485
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11486
- ])
11487
- , 24, 8 ],['dataModificationTimestamp', _lowerFlatOption([
11488
- [ 'none', null, 24, 8, 8 ],
11489
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11490
- ])
11491
- , 24, 8 ],['statusChangeTimestamp', _lowerFlatOption([
11492
- [ 'none', null, 24, 8, 8 ],
11493
- [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 24, 8, 8 ],
11494
- ])
11495
- , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
11496
- [ '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 ],
11497
- ])
12035
+ resultLowerFns: [
12036
+ _lowerFlatResult({
12037
+ caseMetas: [
12038
+ [ 'ok', _lowerFlatRecord({ fieldMetas: [['type',
12039
+ _lowerFlatEnum({
12040
+ 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],],
12041
+ variantSize32: 1,
12042
+ variantAlign32: 1,
12043
+ variantPayloadOffset32: 1,
12044
+ variantFlatCount: 1,
12045
+ })
12046
+ , 1, 1 ],['linkCount', _lowerFlatU64, 8, 8 ],['size', _lowerFlatU64, 8, 8 ],['dataAccessTimestamp',
12047
+ _lowerFlatOption({
12048
+ caseMetas: [
12049
+ [ 'none', null, 0, 0, 0 ],
12050
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12051
+ ],
12052
+ variantSize32: 24,
12053
+ variantAlign32: 8,
12054
+ variantPayloadOffset32: 8,
12055
+ variantFlatCount: 3,
12056
+ })
12057
+ , 24, 8 ],['dataModificationTimestamp',
12058
+ _lowerFlatOption({
12059
+ caseMetas: [
12060
+ [ 'none', null, 0, 0, 0 ],
12061
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12062
+ ],
12063
+ variantSize32: 24,
12064
+ variantAlign32: 8,
12065
+ variantPayloadOffset32: 8,
12066
+ variantFlatCount: 3,
12067
+ })
12068
+ , 24, 8 ],['statusChangeTimestamp',
12069
+ _lowerFlatOption({
12070
+ caseMetas: [
12071
+ [ 'none', null, 0, 0, 0 ],
12072
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['seconds', _lowerFlatU64, 8, 8 ],['nanoseconds', _lowerFlatU32, 4, 4 ],], size32: 16, align32: 8 }), 16, 8, 2],
12073
+ ],
12074
+ variantSize32: 24,
12075
+ variantAlign32: 8,
12076
+ variantPayloadOffset32: 8,
12077
+ variantFlatCount: 3,
12078
+ })
12079
+ , 24, 8 ],], size32: 96, align32: 8 }), 104, 8, 8 ],
12080
+ [ 'err',
12081
+ _lowerFlatEnum({
12082
+ 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],],
12083
+ variantSize32: 1,
12084
+ variantAlign32: 1,
12085
+ variantPayloadOffset32: 1,
12086
+ variantFlatCount: 1,
12087
+ })
12088
+ , 104, 8, 8 ],
12089
+ ],
12090
+ variantSize32: 104,
12091
+ variantAlign32: 8,
12092
+ variantPayloadOffset32: 8,
12093
+ variantFlatCount: 13,
12094
+ })
11498
12095
  ],
11499
12096
  hasResultPointer: true,
11500
12097
  funcTypeIsAsync: false,
@@ -11516,26 +12113,41 @@ null,
11516
12113
  isAsync: false,
11517
12114
  isManualAsync: _trampoline23.manuallyAsync,
11518
12115
  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 })],
11519
- resultLowerFns: [_lowerFlatResult([
11520
- [ 'ok', _lowerFlatOwn({
11521
- componentIdx: 0,
11522
- lowerFn:
11523
- function lowerImportedOwnedHost_Descriptor(obj) {
11524
- if (!(obj instanceof Descriptor)) {
11525
- throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
11526
- }
11527
- let handle = obj[symbolRscHandle];
11528
- if (!handle) {
11529
- const rep = obj[symbolRscRep] || ++captureCnt6;
11530
- captureTable6.set(rep, obj);
11531
- handle = rscTableCreateOwn(handleTable6, rep);
12116
+ resultLowerFns: [
12117
+ _lowerFlatResult({
12118
+ caseMetas: [
12119
+ [ 'ok', _lowerFlatOwn({
12120
+ componentIdx: 0,
12121
+ lowerFn:
12122
+ function lowerImportedOwnedHost_Descriptor(obj) {
12123
+ if (!(obj instanceof Descriptor)) {
12124
+ throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
12125
+ }
12126
+ let handle = obj[symbolRscHandle];
12127
+ if (!handle) {
12128
+ const rep = obj[symbolRscRep] || ++captureCnt6;
12129
+ captureTable6.set(rep, obj);
12130
+ handle = rscTableCreateOwn(handleTable6, rep);
12131
+ }
12132
+ return handle;
11532
12133
  }
11533
- return handle;
11534
- }
11535
- ,
11536
- }), 8, 4, 4 ],
11537
- [ '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 ],
11538
- ])
12134
+ ,
12135
+ }), 8, 4, 4 ],
12136
+ [ 'err',
12137
+ _lowerFlatEnum({
12138
+ 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],],
12139
+ variantSize32: 1,
12140
+ variantAlign32: 1,
12141
+ variantPayloadOffset32: 1,
12142
+ variantFlatCount: 1,
12143
+ })
12144
+ , 8, 4, 4 ],
12145
+ ],
12146
+ variantSize32: 8,
12147
+ variantAlign32: 4,
12148
+ variantPayloadOffset32: 4,
12149
+ variantFlatCount: 2,
12150
+ })
11539
12151
  ],
11540
12152
  hasResultPointer: true,
11541
12153
  funcTypeIsAsync: false,
@@ -11556,26 +12168,41 @@ null,
11556
12168
  isAsync: false,
11557
12169
  isManualAsync: _trampoline23.manuallyAsync,
11558
12170
  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 })],
11559
- resultLowerFns: [_lowerFlatResult([
11560
- [ 'ok', _lowerFlatOwn({
11561
- componentIdx: 0,
11562
- lowerFn:
11563
- function lowerImportedOwnedHost_Descriptor(obj) {
11564
- if (!(obj instanceof Descriptor)) {
11565
- throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
11566
- }
11567
- let handle = obj[symbolRscHandle];
11568
- if (!handle) {
11569
- const rep = obj[symbolRscRep] || ++captureCnt6;
11570
- captureTable6.set(rep, obj);
11571
- handle = rscTableCreateOwn(handleTable6, rep);
12171
+ resultLowerFns: [
12172
+ _lowerFlatResult({
12173
+ caseMetas: [
12174
+ [ 'ok', _lowerFlatOwn({
12175
+ componentIdx: 0,
12176
+ lowerFn:
12177
+ function lowerImportedOwnedHost_Descriptor(obj) {
12178
+ if (!(obj instanceof Descriptor)) {
12179
+ throw new TypeError('Resource error: Not a valid \"Descriptor\" resource.');
12180
+ }
12181
+ let handle = obj[symbolRscHandle];
12182
+ if (!handle) {
12183
+ const rep = obj[symbolRscRep] || ++captureCnt6;
12184
+ captureTable6.set(rep, obj);
12185
+ handle = rscTableCreateOwn(handleTable6, rep);
12186
+ }
12187
+ return handle;
11572
12188
  }
11573
- return handle;
11574
- }
11575
- ,
11576
- }), 8, 4, 4 ],
11577
- [ '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 ],
11578
- ])
12189
+ ,
12190
+ }), 8, 4, 4 ],
12191
+ [ 'err',
12192
+ _lowerFlatEnum({
12193
+ 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],],
12194
+ variantSize32: 1,
12195
+ variantAlign32: 1,
12196
+ variantPayloadOffset32: 1,
12197
+ variantFlatCount: 1,
12198
+ })
12199
+ , 8, 4, 4 ],
12200
+ ],
12201
+ variantSize32: 8,
12202
+ variantAlign32: 4,
12203
+ variantPayloadOffset32: 4,
12204
+ variantFlatCount: 2,
12205
+ })
11579
12206
  ],
11580
12207
  hasResultPointer: true,
11581
12208
  funcTypeIsAsync: false,
@@ -11597,14 +12224,44 @@ null,
11597
12224
  isAsync: false,
11598
12225
  isManualAsync: _trampoline24.manuallyAsync,
11599
12226
  paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
11600
- resultLowerFns: [_lowerFlatResult([
11601
- [ 'ok', _lowerFlatOption([
11602
- [ 'none', null, 16, 4, 4 ],
11603
- [ '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 ],
11604
- ])
11605
- , 20, 4, 4 ],
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],]), 20, 4, 4 ],
11607
- ])
12227
+ resultLowerFns: [
12228
+ _lowerFlatResult({
12229
+ caseMetas: [
12230
+ [ 'ok',
12231
+ _lowerFlatOption({
12232
+ caseMetas: [
12233
+ [ 'none', null, 0, 0, 0 ],
12234
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['type',
12235
+ _lowerFlatEnum({
12236
+ 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],],
12237
+ variantSize32: 1,
12238
+ variantAlign32: 1,
12239
+ variantPayloadOffset32: 1,
12240
+ variantFlatCount: 1,
12241
+ })
12242
+ , 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
12243
+ ],
12244
+ variantSize32: 16,
12245
+ variantAlign32: 4,
12246
+ variantPayloadOffset32: 4,
12247
+ variantFlatCount: 4,
12248
+ })
12249
+ , 20, 4, 4 ],
12250
+ [ 'err',
12251
+ _lowerFlatEnum({
12252
+ 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],],
12253
+ variantSize32: 1,
12254
+ variantAlign32: 1,
12255
+ variantPayloadOffset32: 1,
12256
+ variantFlatCount: 1,
12257
+ })
12258
+ , 20, 4, 4 ],
12259
+ ],
12260
+ variantSize32: 20,
12261
+ variantAlign32: 4,
12262
+ variantPayloadOffset32: 4,
12263
+ variantFlatCount: 5,
12264
+ })
11608
12265
  ],
11609
12266
  hasResultPointer: true,
11610
12267
  funcTypeIsAsync: false,
@@ -11625,14 +12282,44 @@ null,
11625
12282
  isAsync: false,
11626
12283
  isManualAsync: _trampoline24.manuallyAsync,
11627
12284
  paramLiftFns: [_liftFlatBorrow.bind(null, 5)],
11628
- resultLowerFns: [_lowerFlatResult([
11629
- [ 'ok', _lowerFlatOption([
11630
- [ 'none', null, 16, 4, 4 ],
11631
- [ '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 ],
11632
- ])
11633
- , 20, 4, 4 ],
11634
- [ '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 ],
11635
- ])
12285
+ resultLowerFns: [
12286
+ _lowerFlatResult({
12287
+ caseMetas: [
12288
+ [ 'ok',
12289
+ _lowerFlatOption({
12290
+ caseMetas: [
12291
+ [ 'none', null, 0, 0, 0 ],
12292
+ [ 'some', _lowerFlatRecord({ fieldMetas: [['type',
12293
+ _lowerFlatEnum({
12294
+ 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],],
12295
+ variantSize32: 1,
12296
+ variantAlign32: 1,
12297
+ variantPayloadOffset32: 1,
12298
+ variantFlatCount: 1,
12299
+ })
12300
+ , 1, 1 ],['name', _lowerFlatStringAny, 8, 4 ],], size32: 12, align32: 4 }), 12, 4, 3],
12301
+ ],
12302
+ variantSize32: 16,
12303
+ variantAlign32: 4,
12304
+ variantPayloadOffset32: 4,
12305
+ variantFlatCount: 4,
12306
+ })
12307
+ , 20, 4, 4 ],
12308
+ [ 'err',
12309
+ _lowerFlatEnum({
12310
+ 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],],
12311
+ variantSize32: 1,
12312
+ variantAlign32: 1,
12313
+ variantPayloadOffset32: 1,
12314
+ variantFlatCount: 1,
12315
+ })
12316
+ , 20, 4, 4 ],
12317
+ ],
12318
+ variantSize32: 20,
12319
+ variantAlign32: 4,
12320
+ variantPayloadOffset32: 4,
12321
+ variantFlatCount: 5,
12322
+ })
11636
12323
  ],
11637
12324
  hasResultPointer: true,
11638
12325
  funcTypeIsAsync: false,
@@ -11654,30 +12341,43 @@ null,
11654
12341
  isAsync: false,
11655
12342
  isManualAsync: _trampoline25.manuallyAsync,
11656
12343
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
11657
- resultLowerFns: [_lowerFlatResult([
11658
- [ 'ok', _lowerFlatList({
11659
- elemLowerFn: _lowerFlatU8,
11660
- elemSize32: 1,
11661
- elemAlign32: 1,
11662
- }), 12, 4, 4 ],
11663
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
11664
- componentIdx: 0,
11665
- lowerFn:
11666
- function lowerImportedOwnedHost_Error$1(obj) {
11667
- if (!(obj instanceof Error$1)) {
11668
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
11669
- }
11670
- let handle = obj[symbolRscHandle];
11671
- if (!handle) {
11672
- const rep = obj[symbolRscRep] || ++captureCnt0;
11673
- captureTable0.set(rep, obj);
11674
- handle = rscTableCreateOwn(handleTable0, rep);
11675
- }
11676
- return handle;
11677
- }
11678
- ,
11679
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
11680
- ])
12344
+ resultLowerFns: [
12345
+ _lowerFlatResult({
12346
+ caseMetas: [
12347
+ [ 'ok', _lowerFlatList({
12348
+ elemLowerFn: _lowerFlatU8,
12349
+ elemSize32: 1,
12350
+ elemAlign32: 1,
12351
+ }), 12, 4, 4 ],
12352
+ [ 'err', _lowerFlatVariant({
12353
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12354
+ componentIdx: 0,
12355
+ lowerFn:
12356
+ function lowerImportedOwnedHost_Error$1(obj) {
12357
+ if (!(obj instanceof Error$1)) {
12358
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12359
+ }
12360
+ let handle = obj[symbolRscHandle];
12361
+ if (!handle) {
12362
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12363
+ captureTable0.set(rep, obj);
12364
+ handle = rscTableCreateOwn(handleTable0, rep);
12365
+ }
12366
+ return handle;
12367
+ }
12368
+ ,
12369
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12370
+ variantSize32: 8,
12371
+ variantAlign32: 4,
12372
+ variantPayloadOffset32: 4,
12373
+ variantFlatCount: 2,
12374
+ } ), 12, 4, 4 ],
12375
+ ],
12376
+ variantSize32: 12,
12377
+ variantAlign32: 4,
12378
+ variantPayloadOffset32: 4,
12379
+ variantFlatCount: 3,
12380
+ })
11681
12381
  ],
11682
12382
  hasResultPointer: true,
11683
12383
  funcTypeIsAsync: false,
@@ -11698,30 +12398,43 @@ null,
11698
12398
  isAsync: false,
11699
12399
  isManualAsync: _trampoline25.manuallyAsync,
11700
12400
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
11701
- resultLowerFns: [_lowerFlatResult([
11702
- [ 'ok', _lowerFlatList({
11703
- elemLowerFn: _lowerFlatU8,
11704
- elemSize32: 1,
11705
- elemAlign32: 1,
11706
- }), 12, 4, 4 ],
11707
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
11708
- componentIdx: 0,
11709
- lowerFn:
11710
- function lowerImportedOwnedHost_Error$1(obj) {
11711
- if (!(obj instanceof Error$1)) {
11712
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
11713
- }
11714
- let handle = obj[symbolRscHandle];
11715
- if (!handle) {
11716
- const rep = obj[symbolRscRep] || ++captureCnt0;
11717
- captureTable0.set(rep, obj);
11718
- handle = rscTableCreateOwn(handleTable0, rep);
11719
- }
11720
- return handle;
11721
- }
11722
- ,
11723
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
11724
- ])
12401
+ resultLowerFns: [
12402
+ _lowerFlatResult({
12403
+ caseMetas: [
12404
+ [ 'ok', _lowerFlatList({
12405
+ elemLowerFn: _lowerFlatU8,
12406
+ elemSize32: 1,
12407
+ elemAlign32: 1,
12408
+ }), 12, 4, 4 ],
12409
+ [ 'err', _lowerFlatVariant({
12410
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12411
+ componentIdx: 0,
12412
+ lowerFn:
12413
+ function lowerImportedOwnedHost_Error$1(obj) {
12414
+ if (!(obj instanceof Error$1)) {
12415
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12416
+ }
12417
+ let handle = obj[symbolRscHandle];
12418
+ if (!handle) {
12419
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12420
+ captureTable0.set(rep, obj);
12421
+ handle = rscTableCreateOwn(handleTable0, rep);
12422
+ }
12423
+ return handle;
12424
+ }
12425
+ ,
12426
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12427
+ variantSize32: 8,
12428
+ variantAlign32: 4,
12429
+ variantPayloadOffset32: 4,
12430
+ variantFlatCount: 2,
12431
+ } ), 12, 4, 4 ],
12432
+ ],
12433
+ variantSize32: 12,
12434
+ variantAlign32: 4,
12435
+ variantPayloadOffset32: 4,
12436
+ variantFlatCount: 3,
12437
+ })
11725
12438
  ],
11726
12439
  hasResultPointer: true,
11727
12440
  funcTypeIsAsync: false,
@@ -11743,30 +12456,43 @@ null,
11743
12456
  isAsync: false,
11744
12457
  isManualAsync: _trampoline26.manuallyAsync,
11745
12458
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
11746
- resultLowerFns: [_lowerFlatResult([
11747
- [ 'ok', _lowerFlatList({
11748
- elemLowerFn: _lowerFlatU8,
11749
- elemSize32: 1,
11750
- elemAlign32: 1,
11751
- }), 12, 4, 4 ],
11752
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
11753
- componentIdx: 0,
11754
- lowerFn:
11755
- function lowerImportedOwnedHost_Error$1(obj) {
11756
- if (!(obj instanceof Error$1)) {
11757
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
11758
- }
11759
- let handle = obj[symbolRscHandle];
11760
- if (!handle) {
11761
- const rep = obj[symbolRscRep] || ++captureCnt0;
11762
- captureTable0.set(rep, obj);
11763
- handle = rscTableCreateOwn(handleTable0, rep);
11764
- }
11765
- return handle;
11766
- }
11767
- ,
11768
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
11769
- ])
12459
+ resultLowerFns: [
12460
+ _lowerFlatResult({
12461
+ caseMetas: [
12462
+ [ 'ok', _lowerFlatList({
12463
+ elemLowerFn: _lowerFlatU8,
12464
+ elemSize32: 1,
12465
+ elemAlign32: 1,
12466
+ }), 12, 4, 4 ],
12467
+ [ 'err', _lowerFlatVariant({
12468
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12469
+ componentIdx: 0,
12470
+ lowerFn:
12471
+ function lowerImportedOwnedHost_Error$1(obj) {
12472
+ if (!(obj instanceof Error$1)) {
12473
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12474
+ }
12475
+ let handle = obj[symbolRscHandle];
12476
+ if (!handle) {
12477
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12478
+ captureTable0.set(rep, obj);
12479
+ handle = rscTableCreateOwn(handleTable0, rep);
12480
+ }
12481
+ return handle;
12482
+ }
12483
+ ,
12484
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12485
+ variantSize32: 8,
12486
+ variantAlign32: 4,
12487
+ variantPayloadOffset32: 4,
12488
+ variantFlatCount: 2,
12489
+ } ), 12, 4, 4 ],
12490
+ ],
12491
+ variantSize32: 12,
12492
+ variantAlign32: 4,
12493
+ variantPayloadOffset32: 4,
12494
+ variantFlatCount: 3,
12495
+ })
11770
12496
  ],
11771
12497
  hasResultPointer: true,
11772
12498
  funcTypeIsAsync: false,
@@ -11787,30 +12513,43 @@ null,
11787
12513
  isAsync: false,
11788
12514
  isManualAsync: _trampoline26.manuallyAsync,
11789
12515
  paramLiftFns: [_liftFlatBorrow.bind(null, 1),_liftFlatU64],
11790
- resultLowerFns: [_lowerFlatResult([
11791
- [ 'ok', _lowerFlatList({
11792
- elemLowerFn: _lowerFlatU8,
11793
- elemSize32: 1,
11794
- elemAlign32: 1,
11795
- }), 12, 4, 4 ],
11796
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
11797
- componentIdx: 0,
11798
- lowerFn:
11799
- function lowerImportedOwnedHost_Error$1(obj) {
11800
- if (!(obj instanceof Error$1)) {
11801
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
11802
- }
11803
- let handle = obj[symbolRscHandle];
11804
- if (!handle) {
11805
- const rep = obj[symbolRscRep] || ++captureCnt0;
11806
- captureTable0.set(rep, obj);
11807
- handle = rscTableCreateOwn(handleTable0, rep);
11808
- }
11809
- return handle;
11810
- }
11811
- ,
11812
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
11813
- ])
12516
+ resultLowerFns: [
12517
+ _lowerFlatResult({
12518
+ caseMetas: [
12519
+ [ 'ok', _lowerFlatList({
12520
+ elemLowerFn: _lowerFlatU8,
12521
+ elemSize32: 1,
12522
+ elemAlign32: 1,
12523
+ }), 12, 4, 4 ],
12524
+ [ 'err', _lowerFlatVariant({
12525
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12526
+ componentIdx: 0,
12527
+ lowerFn:
12528
+ function lowerImportedOwnedHost_Error$1(obj) {
12529
+ if (!(obj instanceof Error$1)) {
12530
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12531
+ }
12532
+ let handle = obj[symbolRscHandle];
12533
+ if (!handle) {
12534
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12535
+ captureTable0.set(rep, obj);
12536
+ handle = rscTableCreateOwn(handleTable0, rep);
12537
+ }
12538
+ return handle;
12539
+ }
12540
+ ,
12541
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12542
+ variantSize32: 8,
12543
+ variantAlign32: 4,
12544
+ variantPayloadOffset32: 4,
12545
+ variantFlatCount: 2,
12546
+ } ), 12, 4, 4 ],
12547
+ ],
12548
+ variantSize32: 12,
12549
+ variantAlign32: 4,
12550
+ variantPayloadOffset32: 4,
12551
+ variantFlatCount: 3,
12552
+ })
11814
12553
  ],
11815
12554
  hasResultPointer: true,
11816
12555
  funcTypeIsAsync: false,
@@ -11832,26 +12571,39 @@ null,
11832
12571
  isAsync: false,
11833
12572
  isManualAsync: _trampoline27.manuallyAsync,
11834
12573
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
11835
- resultLowerFns: [_lowerFlatResult([
11836
- [ 'ok', _lowerFlatU64, 16, 8, 8 ],
11837
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
11838
- componentIdx: 0,
11839
- lowerFn:
11840
- function lowerImportedOwnedHost_Error$1(obj) {
11841
- if (!(obj instanceof Error$1)) {
11842
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
11843
- }
11844
- let handle = obj[symbolRscHandle];
11845
- if (!handle) {
11846
- const rep = obj[symbolRscRep] || ++captureCnt0;
11847
- captureTable0.set(rep, obj);
11848
- handle = rscTableCreateOwn(handleTable0, rep);
11849
- }
11850
- return handle;
11851
- }
11852
- ,
11853
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 16, 8, 8 ],
11854
- ])
12574
+ resultLowerFns: [
12575
+ _lowerFlatResult({
12576
+ caseMetas: [
12577
+ [ 'ok', _lowerFlatU64, 16, 8, 8 ],
12578
+ [ 'err', _lowerFlatVariant({
12579
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12580
+ componentIdx: 0,
12581
+ lowerFn:
12582
+ function lowerImportedOwnedHost_Error$1(obj) {
12583
+ if (!(obj instanceof Error$1)) {
12584
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12585
+ }
12586
+ let handle = obj[symbolRscHandle];
12587
+ if (!handle) {
12588
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12589
+ captureTable0.set(rep, obj);
12590
+ handle = rscTableCreateOwn(handleTable0, rep);
12591
+ }
12592
+ return handle;
12593
+ }
12594
+ ,
12595
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12596
+ variantSize32: 8,
12597
+ variantAlign32: 4,
12598
+ variantPayloadOffset32: 4,
12599
+ variantFlatCount: 2,
12600
+ } ), 16, 8, 8 ],
12601
+ ],
12602
+ variantSize32: 16,
12603
+ variantAlign32: 8,
12604
+ variantPayloadOffset32: 8,
12605
+ variantFlatCount: 3,
12606
+ })
11855
12607
  ],
11856
12608
  hasResultPointer: true,
11857
12609
  funcTypeIsAsync: false,
@@ -11872,26 +12624,39 @@ null,
11872
12624
  isAsync: false,
11873
12625
  isManualAsync: _trampoline27.manuallyAsync,
11874
12626
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
11875
- resultLowerFns: [_lowerFlatResult([
11876
- [ 'ok', _lowerFlatU64, 16, 8, 8 ],
11877
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
11878
- componentIdx: 0,
11879
- lowerFn:
11880
- function lowerImportedOwnedHost_Error$1(obj) {
11881
- if (!(obj instanceof Error$1)) {
11882
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
11883
- }
11884
- let handle = obj[symbolRscHandle];
11885
- if (!handle) {
11886
- const rep = obj[symbolRscRep] || ++captureCnt0;
11887
- captureTable0.set(rep, obj);
11888
- handle = rscTableCreateOwn(handleTable0, rep);
11889
- }
11890
- return handle;
11891
- }
11892
- ,
11893
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 16, 8, 8 ],
11894
- ])
12627
+ resultLowerFns: [
12628
+ _lowerFlatResult({
12629
+ caseMetas: [
12630
+ [ 'ok', _lowerFlatU64, 16, 8, 8 ],
12631
+ [ 'err', _lowerFlatVariant({
12632
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12633
+ componentIdx: 0,
12634
+ lowerFn:
12635
+ function lowerImportedOwnedHost_Error$1(obj) {
12636
+ if (!(obj instanceof Error$1)) {
12637
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12638
+ }
12639
+ let handle = obj[symbolRscHandle];
12640
+ if (!handle) {
12641
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12642
+ captureTable0.set(rep, obj);
12643
+ handle = rscTableCreateOwn(handleTable0, rep);
12644
+ }
12645
+ return handle;
12646
+ }
12647
+ ,
12648
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12649
+ variantSize32: 8,
12650
+ variantAlign32: 4,
12651
+ variantPayloadOffset32: 4,
12652
+ variantFlatCount: 2,
12653
+ } ), 16, 8, 8 ],
12654
+ ],
12655
+ variantSize32: 16,
12656
+ variantAlign32: 8,
12657
+ variantPayloadOffset32: 8,
12658
+ variantFlatCount: 3,
12659
+ })
11895
12660
  ],
11896
12661
  hasResultPointer: true,
11897
12662
  funcTypeIsAsync: false,
@@ -11918,26 +12683,39 @@ null,
11918
12683
  elemSize32: 1,
11919
12684
  typedArray: Uint8Array,
11920
12685
  })],
11921
- resultLowerFns: [_lowerFlatResult([
11922
- [ 'ok', null, 12, 4, 4 ],
11923
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
11924
- componentIdx: 0,
11925
- lowerFn:
11926
- function lowerImportedOwnedHost_Error$1(obj) {
11927
- if (!(obj instanceof Error$1)) {
11928
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
11929
- }
11930
- let handle = obj[symbolRscHandle];
11931
- if (!handle) {
11932
- const rep = obj[symbolRscRep] || ++captureCnt0;
11933
- captureTable0.set(rep, obj);
11934
- handle = rscTableCreateOwn(handleTable0, rep);
11935
- }
11936
- return handle;
11937
- }
11938
- ,
11939
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
11940
- ])
12686
+ resultLowerFns: [
12687
+ _lowerFlatResult({
12688
+ caseMetas: [
12689
+ [ 'ok', null, 12, 4, 4 ],
12690
+ [ 'err', _lowerFlatVariant({
12691
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12692
+ componentIdx: 0,
12693
+ lowerFn:
12694
+ function lowerImportedOwnedHost_Error$1(obj) {
12695
+ if (!(obj instanceof Error$1)) {
12696
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12697
+ }
12698
+ let handle = obj[symbolRscHandle];
12699
+ if (!handle) {
12700
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12701
+ captureTable0.set(rep, obj);
12702
+ handle = rscTableCreateOwn(handleTable0, rep);
12703
+ }
12704
+ return handle;
12705
+ }
12706
+ ,
12707
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12708
+ variantSize32: 8,
12709
+ variantAlign32: 4,
12710
+ variantPayloadOffset32: 4,
12711
+ variantFlatCount: 2,
12712
+ } ), 12, 4, 4 ],
12713
+ ],
12714
+ variantSize32: 12,
12715
+ variantAlign32: 4,
12716
+ variantPayloadOffset32: 4,
12717
+ variantFlatCount: 3,
12718
+ })
11941
12719
  ],
11942
12720
  hasResultPointer: true,
11943
12721
  funcTypeIsAsync: false,
@@ -11963,26 +12741,39 @@ null,
11963
12741
  elemSize32: 1,
11964
12742
  typedArray: Uint8Array,
11965
12743
  })],
11966
- resultLowerFns: [_lowerFlatResult([
11967
- [ 'ok', null, 12, 4, 4 ],
11968
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
11969
- componentIdx: 0,
11970
- lowerFn:
11971
- function lowerImportedOwnedHost_Error$1(obj) {
11972
- if (!(obj instanceof Error$1)) {
11973
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
11974
- }
11975
- let handle = obj[symbolRscHandle];
11976
- if (!handle) {
11977
- const rep = obj[symbolRscRep] || ++captureCnt0;
11978
- captureTable0.set(rep, obj);
11979
- handle = rscTableCreateOwn(handleTable0, rep);
11980
- }
11981
- return handle;
11982
- }
11983
- ,
11984
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
11985
- ])
12744
+ resultLowerFns: [
12745
+ _lowerFlatResult({
12746
+ caseMetas: [
12747
+ [ 'ok', null, 12, 4, 4 ],
12748
+ [ 'err', _lowerFlatVariant({
12749
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12750
+ componentIdx: 0,
12751
+ lowerFn:
12752
+ function lowerImportedOwnedHost_Error$1(obj) {
12753
+ if (!(obj instanceof Error$1)) {
12754
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12755
+ }
12756
+ let handle = obj[symbolRscHandle];
12757
+ if (!handle) {
12758
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12759
+ captureTable0.set(rep, obj);
12760
+ handle = rscTableCreateOwn(handleTable0, rep);
12761
+ }
12762
+ return handle;
12763
+ }
12764
+ ,
12765
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12766
+ variantSize32: 8,
12767
+ variantAlign32: 4,
12768
+ variantPayloadOffset32: 4,
12769
+ variantFlatCount: 2,
12770
+ } ), 12, 4, 4 ],
12771
+ ],
12772
+ variantSize32: 12,
12773
+ variantAlign32: 4,
12774
+ variantPayloadOffset32: 4,
12775
+ variantFlatCount: 3,
12776
+ })
11986
12777
  ],
11987
12778
  hasResultPointer: true,
11988
12779
  funcTypeIsAsync: false,
@@ -12009,26 +12800,39 @@ null,
12009
12800
  elemSize32: 1,
12010
12801
  typedArray: Uint8Array,
12011
12802
  })],
12012
- resultLowerFns: [_lowerFlatResult([
12013
- [ 'ok', null, 12, 4, 4 ],
12014
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12015
- componentIdx: 0,
12016
- lowerFn:
12017
- function lowerImportedOwnedHost_Error$1(obj) {
12018
- if (!(obj instanceof Error$1)) {
12019
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12020
- }
12021
- let handle = obj[symbolRscHandle];
12022
- if (!handle) {
12023
- const rep = obj[symbolRscRep] || ++captureCnt0;
12024
- captureTable0.set(rep, obj);
12025
- handle = rscTableCreateOwn(handleTable0, rep);
12026
- }
12027
- return handle;
12028
- }
12029
- ,
12030
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12031
- ])
12803
+ resultLowerFns: [
12804
+ _lowerFlatResult({
12805
+ caseMetas: [
12806
+ [ 'ok', null, 12, 4, 4 ],
12807
+ [ 'err', _lowerFlatVariant({
12808
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12809
+ componentIdx: 0,
12810
+ lowerFn:
12811
+ function lowerImportedOwnedHost_Error$1(obj) {
12812
+ if (!(obj instanceof Error$1)) {
12813
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12814
+ }
12815
+ let handle = obj[symbolRscHandle];
12816
+ if (!handle) {
12817
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12818
+ captureTable0.set(rep, obj);
12819
+ handle = rscTableCreateOwn(handleTable0, rep);
12820
+ }
12821
+ return handle;
12822
+ }
12823
+ ,
12824
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12825
+ variantSize32: 8,
12826
+ variantAlign32: 4,
12827
+ variantPayloadOffset32: 4,
12828
+ variantFlatCount: 2,
12829
+ } ), 12, 4, 4 ],
12830
+ ],
12831
+ variantSize32: 12,
12832
+ variantAlign32: 4,
12833
+ variantPayloadOffset32: 4,
12834
+ variantFlatCount: 3,
12835
+ })
12032
12836
  ],
12033
12837
  hasResultPointer: true,
12034
12838
  funcTypeIsAsync: false,
@@ -12054,26 +12858,39 @@ null,
12054
12858
  elemSize32: 1,
12055
12859
  typedArray: Uint8Array,
12056
12860
  })],
12057
- resultLowerFns: [_lowerFlatResult([
12058
- [ 'ok', null, 12, 4, 4 ],
12059
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12060
- componentIdx: 0,
12061
- lowerFn:
12062
- function lowerImportedOwnedHost_Error$1(obj) {
12063
- if (!(obj instanceof Error$1)) {
12064
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12065
- }
12066
- let handle = obj[symbolRscHandle];
12067
- if (!handle) {
12068
- const rep = obj[symbolRscRep] || ++captureCnt0;
12069
- captureTable0.set(rep, obj);
12070
- handle = rscTableCreateOwn(handleTable0, rep);
12071
- }
12072
- return handle;
12073
- }
12074
- ,
12075
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12076
- ])
12861
+ resultLowerFns: [
12862
+ _lowerFlatResult({
12863
+ caseMetas: [
12864
+ [ 'ok', null, 12, 4, 4 ],
12865
+ [ 'err', _lowerFlatVariant({
12866
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12867
+ componentIdx: 0,
12868
+ lowerFn:
12869
+ function lowerImportedOwnedHost_Error$1(obj) {
12870
+ if (!(obj instanceof Error$1)) {
12871
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12872
+ }
12873
+ let handle = obj[symbolRscHandle];
12874
+ if (!handle) {
12875
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12876
+ captureTable0.set(rep, obj);
12877
+ handle = rscTableCreateOwn(handleTable0, rep);
12878
+ }
12879
+ return handle;
12880
+ }
12881
+ ,
12882
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12883
+ variantSize32: 8,
12884
+ variantAlign32: 4,
12885
+ variantPayloadOffset32: 4,
12886
+ variantFlatCount: 2,
12887
+ } ), 12, 4, 4 ],
12888
+ ],
12889
+ variantSize32: 12,
12890
+ variantAlign32: 4,
12891
+ variantPayloadOffset32: 4,
12892
+ variantFlatCount: 3,
12893
+ })
12077
12894
  ],
12078
12895
  hasResultPointer: true,
12079
12896
  funcTypeIsAsync: false,
@@ -12095,26 +12912,39 @@ null,
12095
12912
  isAsync: false,
12096
12913
  isManualAsync: _trampoline30.manuallyAsync,
12097
12914
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
12098
- resultLowerFns: [_lowerFlatResult([
12099
- [ 'ok', null, 12, 4, 4 ],
12100
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12101
- componentIdx: 0,
12102
- lowerFn:
12103
- function lowerImportedOwnedHost_Error$1(obj) {
12104
- if (!(obj instanceof Error$1)) {
12105
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12106
- }
12107
- let handle = obj[symbolRscHandle];
12108
- if (!handle) {
12109
- const rep = obj[symbolRscRep] || ++captureCnt0;
12110
- captureTable0.set(rep, obj);
12111
- handle = rscTableCreateOwn(handleTable0, rep);
12112
- }
12113
- return handle;
12114
- }
12115
- ,
12116
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12117
- ])
12915
+ resultLowerFns: [
12916
+ _lowerFlatResult({
12917
+ caseMetas: [
12918
+ [ 'ok', null, 12, 4, 4 ],
12919
+ [ 'err', _lowerFlatVariant({
12920
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12921
+ componentIdx: 0,
12922
+ lowerFn:
12923
+ function lowerImportedOwnedHost_Error$1(obj) {
12924
+ if (!(obj instanceof Error$1)) {
12925
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12926
+ }
12927
+ let handle = obj[symbolRscHandle];
12928
+ if (!handle) {
12929
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12930
+ captureTable0.set(rep, obj);
12931
+ handle = rscTableCreateOwn(handleTable0, rep);
12932
+ }
12933
+ return handle;
12934
+ }
12935
+ ,
12936
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12937
+ variantSize32: 8,
12938
+ variantAlign32: 4,
12939
+ variantPayloadOffset32: 4,
12940
+ variantFlatCount: 2,
12941
+ } ), 12, 4, 4 ],
12942
+ ],
12943
+ variantSize32: 12,
12944
+ variantAlign32: 4,
12945
+ variantPayloadOffset32: 4,
12946
+ variantFlatCount: 3,
12947
+ })
12118
12948
  ],
12119
12949
  hasResultPointer: true,
12120
12950
  funcTypeIsAsync: false,
@@ -12135,26 +12965,39 @@ null,
12135
12965
  isAsync: false,
12136
12966
  isManualAsync: _trampoline30.manuallyAsync,
12137
12967
  paramLiftFns: [_liftFlatBorrow.bind(null, 2)],
12138
- resultLowerFns: [_lowerFlatResult([
12139
- [ 'ok', null, 12, 4, 4 ],
12140
- [ 'err', _lowerFlatVariant([[ 'last-operation-failed', _lowerFlatOwn({
12141
- componentIdx: 0,
12142
- lowerFn:
12143
- function lowerImportedOwnedHost_Error$1(obj) {
12144
- if (!(obj instanceof Error$1)) {
12145
- throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12146
- }
12147
- let handle = obj[symbolRscHandle];
12148
- if (!handle) {
12149
- const rep = obj[symbolRscRep] || ++captureCnt0;
12150
- captureTable0.set(rep, obj);
12151
- handle = rscTableCreateOwn(handleTable0, rep);
12152
- }
12153
- return handle;
12154
- }
12155
- ,
12156
- }), 8, 4, 4 ],[ 'closed', null, 8, 4, 4 ],]), 12, 4, 4 ],
12157
- ])
12968
+ resultLowerFns: [
12969
+ _lowerFlatResult({
12970
+ caseMetas: [
12971
+ [ 'ok', null, 12, 4, 4 ],
12972
+ [ 'err', _lowerFlatVariant({
12973
+ caseMetas: [[ 'last-operation-failed', _lowerFlatOwn({
12974
+ componentIdx: 0,
12975
+ lowerFn:
12976
+ function lowerImportedOwnedHost_Error$1(obj) {
12977
+ if (!(obj instanceof Error$1)) {
12978
+ throw new TypeError('Resource error: Not a valid \"Error$1\" resource.');
12979
+ }
12980
+ let handle = obj[symbolRscHandle];
12981
+ if (!handle) {
12982
+ const rep = obj[symbolRscRep] || ++captureCnt0;
12983
+ captureTable0.set(rep, obj);
12984
+ handle = rscTableCreateOwn(handleTable0, rep);
12985
+ }
12986
+ return handle;
12987
+ }
12988
+ ,
12989
+ }), 4, 4, 1 ],[ 'closed', null, 0, 0, 0 ],],
12990
+ variantSize32: 8,
12991
+ variantAlign32: 4,
12992
+ variantPayloadOffset32: 4,
12993
+ variantFlatCount: 2,
12994
+ } ), 12, 4, 4 ],
12995
+ ],
12996
+ variantSize32: 12,
12997
+ variantAlign32: 4,
12998
+ variantPayloadOffset32: 4,
12999
+ variantFlatCount: 3,
13000
+ })
12158
13001
  ],
12159
13002
  hasResultPointer: true,
12160
13003
  funcTypeIsAsync: false,
@@ -12306,26 +13149,33 @@ null,
12306
13149
  isAsync: false,
12307
13150
  isManualAsync: _trampoline33.manuallyAsync,
12308
13151
  paramLiftFns: [],
12309
- resultLowerFns: [_lowerFlatOption([
12310
- [ 'none', null, 8, 4, 4 ],
12311
- [ 'some', _lowerFlatOwn({
12312
- componentIdx: 0,
12313
- lowerFn:
12314
- function lowerImportedOwnedHost_TerminalInput(obj) {
12315
- if (!(obj instanceof TerminalInput)) {
12316
- throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
12317
- }
12318
- let handle = obj[symbolRscHandle];
12319
- if (!handle) {
12320
- const rep = obj[symbolRscRep] || ++captureCnt3;
12321
- captureTable3.set(rep, obj);
12322
- handle = rscTableCreateOwn(handleTable3, rep);
13152
+ resultLowerFns: [
13153
+ _lowerFlatOption({
13154
+ caseMetas: [
13155
+ [ 'none', null, 0, 0, 0 ],
13156
+ [ 'some', _lowerFlatOwn({
13157
+ componentIdx: 0,
13158
+ lowerFn:
13159
+ function lowerImportedOwnedHost_TerminalInput(obj) {
13160
+ if (!(obj instanceof TerminalInput)) {
13161
+ throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
13162
+ }
13163
+ let handle = obj[symbolRscHandle];
13164
+ if (!handle) {
13165
+ const rep = obj[symbolRscRep] || ++captureCnt3;
13166
+ captureTable3.set(rep, obj);
13167
+ handle = rscTableCreateOwn(handleTable3, rep);
13168
+ }
13169
+ return handle;
12323
13170
  }
12324
- return handle;
12325
- }
12326
- ,
12327
- }), 8, 4, 4 ],
12328
- ])
13171
+ ,
13172
+ }), 4, 4, 1],
13173
+ ],
13174
+ variantSize32: 8,
13175
+ variantAlign32: 4,
13176
+ variantPayloadOffset32: 4,
13177
+ variantFlatCount: 2,
13178
+ })
12329
13179
  ],
12330
13180
  hasResultPointer: true,
12331
13181
  funcTypeIsAsync: false,
@@ -12346,26 +13196,33 @@ null,
12346
13196
  isAsync: false,
12347
13197
  isManualAsync: _trampoline33.manuallyAsync,
12348
13198
  paramLiftFns: [],
12349
- resultLowerFns: [_lowerFlatOption([
12350
- [ 'none', null, 8, 4, 4 ],
12351
- [ 'some', _lowerFlatOwn({
12352
- componentIdx: 0,
12353
- lowerFn:
12354
- function lowerImportedOwnedHost_TerminalInput(obj) {
12355
- if (!(obj instanceof TerminalInput)) {
12356
- throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
12357
- }
12358
- let handle = obj[symbolRscHandle];
12359
- if (!handle) {
12360
- const rep = obj[symbolRscRep] || ++captureCnt3;
12361
- captureTable3.set(rep, obj);
12362
- handle = rscTableCreateOwn(handleTable3, rep);
13199
+ resultLowerFns: [
13200
+ _lowerFlatOption({
13201
+ caseMetas: [
13202
+ [ 'none', null, 0, 0, 0 ],
13203
+ [ 'some', _lowerFlatOwn({
13204
+ componentIdx: 0,
13205
+ lowerFn:
13206
+ function lowerImportedOwnedHost_TerminalInput(obj) {
13207
+ if (!(obj instanceof TerminalInput)) {
13208
+ throw new TypeError('Resource error: Not a valid \"TerminalInput\" resource.');
13209
+ }
13210
+ let handle = obj[symbolRscHandle];
13211
+ if (!handle) {
13212
+ const rep = obj[symbolRscRep] || ++captureCnt3;
13213
+ captureTable3.set(rep, obj);
13214
+ handle = rscTableCreateOwn(handleTable3, rep);
13215
+ }
13216
+ return handle;
12363
13217
  }
12364
- return handle;
12365
- }
12366
- ,
12367
- }), 8, 4, 4 ],
12368
- ])
13218
+ ,
13219
+ }), 4, 4, 1],
13220
+ ],
13221
+ variantSize32: 8,
13222
+ variantAlign32: 4,
13223
+ variantPayloadOffset32: 4,
13224
+ variantFlatCount: 2,
13225
+ })
12369
13226
  ],
12370
13227
  hasResultPointer: true,
12371
13228
  funcTypeIsAsync: false,
@@ -12387,26 +13244,33 @@ null,
12387
13244
  isAsync: false,
12388
13245
  isManualAsync: _trampoline34.manuallyAsync,
12389
13246
  paramLiftFns: [],
12390
- resultLowerFns: [_lowerFlatOption([
12391
- [ 'none', null, 8, 4, 4 ],
12392
- [ 'some', _lowerFlatOwn({
12393
- componentIdx: 0,
12394
- lowerFn:
12395
- function lowerImportedOwnedHost_TerminalOutput(obj) {
12396
- if (!(obj instanceof TerminalOutput)) {
12397
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
12398
- }
12399
- let handle = obj[symbolRscHandle];
12400
- if (!handle) {
12401
- const rep = obj[symbolRscRep] || ++captureCnt4;
12402
- captureTable4.set(rep, obj);
12403
- handle = rscTableCreateOwn(handleTable4, rep);
13247
+ resultLowerFns: [
13248
+ _lowerFlatOption({
13249
+ caseMetas: [
13250
+ [ 'none', null, 0, 0, 0 ],
13251
+ [ 'some', _lowerFlatOwn({
13252
+ componentIdx: 0,
13253
+ lowerFn:
13254
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
13255
+ if (!(obj instanceof TerminalOutput)) {
13256
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13257
+ }
13258
+ let handle = obj[symbolRscHandle];
13259
+ if (!handle) {
13260
+ const rep = obj[symbolRscRep] || ++captureCnt4;
13261
+ captureTable4.set(rep, obj);
13262
+ handle = rscTableCreateOwn(handleTable4, rep);
13263
+ }
13264
+ return handle;
12404
13265
  }
12405
- return handle;
12406
- }
12407
- ,
12408
- }), 8, 4, 4 ],
12409
- ])
13266
+ ,
13267
+ }), 4, 4, 1],
13268
+ ],
13269
+ variantSize32: 8,
13270
+ variantAlign32: 4,
13271
+ variantPayloadOffset32: 4,
13272
+ variantFlatCount: 2,
13273
+ })
12410
13274
  ],
12411
13275
  hasResultPointer: true,
12412
13276
  funcTypeIsAsync: false,
@@ -12427,26 +13291,33 @@ null,
12427
13291
  isAsync: false,
12428
13292
  isManualAsync: _trampoline34.manuallyAsync,
12429
13293
  paramLiftFns: [],
12430
- resultLowerFns: [_lowerFlatOption([
12431
- [ 'none', null, 8, 4, 4 ],
12432
- [ 'some', _lowerFlatOwn({
12433
- componentIdx: 0,
12434
- lowerFn:
12435
- function lowerImportedOwnedHost_TerminalOutput(obj) {
12436
- if (!(obj instanceof TerminalOutput)) {
12437
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
12438
- }
12439
- let handle = obj[symbolRscHandle];
12440
- if (!handle) {
12441
- const rep = obj[symbolRscRep] || ++captureCnt4;
12442
- captureTable4.set(rep, obj);
12443
- handle = rscTableCreateOwn(handleTable4, rep);
13294
+ resultLowerFns: [
13295
+ _lowerFlatOption({
13296
+ caseMetas: [
13297
+ [ 'none', null, 0, 0, 0 ],
13298
+ [ 'some', _lowerFlatOwn({
13299
+ componentIdx: 0,
13300
+ lowerFn:
13301
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
13302
+ if (!(obj instanceof TerminalOutput)) {
13303
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13304
+ }
13305
+ let handle = obj[symbolRscHandle];
13306
+ if (!handle) {
13307
+ const rep = obj[symbolRscRep] || ++captureCnt4;
13308
+ captureTable4.set(rep, obj);
13309
+ handle = rscTableCreateOwn(handleTable4, rep);
13310
+ }
13311
+ return handle;
12444
13312
  }
12445
- return handle;
12446
- }
12447
- ,
12448
- }), 8, 4, 4 ],
12449
- ])
13313
+ ,
13314
+ }), 4, 4, 1],
13315
+ ],
13316
+ variantSize32: 8,
13317
+ variantAlign32: 4,
13318
+ variantPayloadOffset32: 4,
13319
+ variantFlatCount: 2,
13320
+ })
12450
13321
  ],
12451
13322
  hasResultPointer: true,
12452
13323
  funcTypeIsAsync: false,
@@ -12468,26 +13339,33 @@ null,
12468
13339
  isAsync: false,
12469
13340
  isManualAsync: _trampoline35.manuallyAsync,
12470
13341
  paramLiftFns: [],
12471
- resultLowerFns: [_lowerFlatOption([
12472
- [ 'none', null, 8, 4, 4 ],
12473
- [ 'some', _lowerFlatOwn({
12474
- componentIdx: 0,
12475
- lowerFn:
12476
- function lowerImportedOwnedHost_TerminalOutput(obj) {
12477
- if (!(obj instanceof TerminalOutput)) {
12478
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
12479
- }
12480
- let handle = obj[symbolRscHandle];
12481
- if (!handle) {
12482
- const rep = obj[symbolRscRep] || ++captureCnt4;
12483
- captureTable4.set(rep, obj);
12484
- handle = rscTableCreateOwn(handleTable4, rep);
13342
+ resultLowerFns: [
13343
+ _lowerFlatOption({
13344
+ caseMetas: [
13345
+ [ 'none', null, 0, 0, 0 ],
13346
+ [ 'some', _lowerFlatOwn({
13347
+ componentIdx: 0,
13348
+ lowerFn:
13349
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
13350
+ if (!(obj instanceof TerminalOutput)) {
13351
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13352
+ }
13353
+ let handle = obj[symbolRscHandle];
13354
+ if (!handle) {
13355
+ const rep = obj[symbolRscRep] || ++captureCnt4;
13356
+ captureTable4.set(rep, obj);
13357
+ handle = rscTableCreateOwn(handleTable4, rep);
13358
+ }
13359
+ return handle;
12485
13360
  }
12486
- return handle;
12487
- }
12488
- ,
12489
- }), 8, 4, 4 ],
12490
- ])
13361
+ ,
13362
+ }), 4, 4, 1],
13363
+ ],
13364
+ variantSize32: 8,
13365
+ variantAlign32: 4,
13366
+ variantPayloadOffset32: 4,
13367
+ variantFlatCount: 2,
13368
+ })
12491
13369
  ],
12492
13370
  hasResultPointer: true,
12493
13371
  funcTypeIsAsync: false,
@@ -12508,26 +13386,33 @@ null,
12508
13386
  isAsync: false,
12509
13387
  isManualAsync: _trampoline35.manuallyAsync,
12510
13388
  paramLiftFns: [],
12511
- resultLowerFns: [_lowerFlatOption([
12512
- [ 'none', null, 8, 4, 4 ],
12513
- [ 'some', _lowerFlatOwn({
12514
- componentIdx: 0,
12515
- lowerFn:
12516
- function lowerImportedOwnedHost_TerminalOutput(obj) {
12517
- if (!(obj instanceof TerminalOutput)) {
12518
- throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
12519
- }
12520
- let handle = obj[symbolRscHandle];
12521
- if (!handle) {
12522
- const rep = obj[symbolRscRep] || ++captureCnt4;
12523
- captureTable4.set(rep, obj);
12524
- handle = rscTableCreateOwn(handleTable4, rep);
13389
+ resultLowerFns: [
13390
+ _lowerFlatOption({
13391
+ caseMetas: [
13392
+ [ 'none', null, 0, 0, 0 ],
13393
+ [ 'some', _lowerFlatOwn({
13394
+ componentIdx: 0,
13395
+ lowerFn:
13396
+ function lowerImportedOwnedHost_TerminalOutput(obj) {
13397
+ if (!(obj instanceof TerminalOutput)) {
13398
+ throw new TypeError('Resource error: Not a valid \"TerminalOutput\" resource.');
13399
+ }
13400
+ let handle = obj[symbolRscHandle];
13401
+ if (!handle) {
13402
+ const rep = obj[symbolRscRep] || ++captureCnt4;
13403
+ captureTable4.set(rep, obj);
13404
+ handle = rscTableCreateOwn(handleTable4, rep);
13405
+ }
13406
+ return handle;
12525
13407
  }
12526
- return handle;
12527
- }
12528
- ,
12529
- }), 8, 4, 4 ],
12530
- ])
13408
+ ,
13409
+ }), 4, 4, 1],
13410
+ ],
13411
+ variantSize32: 8,
13412
+ variantAlign32: 4,
13413
+ variantPayloadOffset32: 4,
13414
+ variantFlatCount: 2,
13415
+ })
12531
13416
  ],
12532
13417
  hasResultPointer: true,
12533
13418
  funcTypeIsAsync: false,
@@ -12547,8 +13432,8 @@ export const $init = (() => {
12547
13432
  let gen = (function* _initGenerator () {
12548
13433
  const module0 = fetchCompile(new URL('./js-component-bindgen-component.core.wasm', import.meta.url));
12549
13434
  const module1 = fetchCompile(new URL('./js-component-bindgen-component.core2.wasm', import.meta.url));
12550
- const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwADKCcBAQEHAQEBCAQJBAoLAgIAAAAABQMDAAAABQwAAwMABgYADQICAgIEBQFwAScnB8UBKAEwAAABMQABATIAAgEzAAMBNAAEATUABQE2AAYBNwAHATgACAE5AAkCMTAACgIxMQALAjEyAAwCMTMADQIxNAAOAjE1AA8CMTYAEAIxNwARAjE4ABICMTkAEwIyMAAUAjIxABUCMjIAFgIyMwAXAjI0ABgCMjUAGQIyNgAaAjI3ABsCMjgAHAIyOQAdAjMwAB4CMzEAHwIzMgAgAjMzACECMzQAIgIzNQAjAjM2ACQCMzcAJQIzOAAmCCRpbXBvcnRzAQAKkQQnCwAgACABQQARAQALCwAgACABQQERAQALCwAgACABQQIRAQALCQAgAEEDEQcACwsAIAAgAUEEEQEACwsAIAAgAUEFEQEACwsAIAAgAUEGEQEACw0AIAAgASACQQcRCAALDwAgACABIAIgA0EIEQQACxEAIAAgASACIAMgBEEJEQkACw8AIAAgASACIANBChEEAAsRACAAIAEgAiADIARBCxEKAAsZACAAIAEgAiADIAQgBSAGIAcgCEEMEQsACwkAIABBDRECAAsJACAAQQ4RAgALCwAgACABQQ8RAAALCwAgACABQRARAAALCwAgACABQRERAAALCwAgACABQRIRAAALEQAgACABIAIgAyAEQRMRBQALDQAgACABIAJBFBEDAAsNACAAIAEgAkEVEQMACwsAIAAgAUEWEQAACwsAIAAgAUEXEQAACwsAIAAgAUEYEQAACxEAIAAgASACIAMgBEEZEQUACxUAIAAgASACIAMgBCAFIAZBGhEMAAsLACAAIAFBGxEAAAsNACAAIAEgAkEcEQMACw0AIAAgASACQR0RAwALCwAgACABQR4RAAALDwAgACABIAIgA0EfEQYACw8AIAAgASACIANBIBEGAAsLACAAIAFBIREAAAsLACAAIAFBIhENAAsJACAAQSMRAgALCQAgAEEkEQIACwkAIABBJRECAAsJACAAQSYRAgALAC8JcHJvZHVjZXJzAQxwcm9jZXNzZWQtYnkBDXdpdC1jb21wb25lbnQHMC4yNDUuMQ');
12551
- const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwAC8AEoAAEwAAEAATEAAQABMgABAAEzAAcAATQAAQABNQABAAE2AAEAATcACAABOAAEAAE5AAkAAjEwAAQAAjExAAoAAjEyAAsAAjEzAAIAAjE0AAIAAjE1AAAAAjE2AAAAAjE3AAAAAjE4AAAAAjE5AAUAAjIwAAMAAjIxAAMAAjIyAAAAAjIzAAAAAjI0AAAAAjI1AAUAAjI2AAwAAjI3AAAAAjI4AAMAAjI5AAMAAjMwAAAAAjMxAAYAAjMyAAYAAjMzAAAAAjM0AA0AAjM1AAIAAjM2AAIAAjM3AAIAAjM4AAIACCRpbXBvcnRzAXABJycJLQEAQQALJwABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJgAvCXByb2R1Y2VycwEMcHJvY2Vzc2VkLWJ5AQ13aXQtY29tcG9uZW50BzAuMjQ1LjE');
13435
+ const module2 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwADKCcBAQEHAQEBCAQJBAoLAgIAAAAABQMDAAAABQwAAwMABgYADQICAgIEBQFwAScnB8UBKAEwAAABMQABATIAAgEzAAMBNAAEATUABQE2AAYBNwAHATgACAE5AAkCMTAACgIxMQALAjEyAAwCMTMADQIxNAAOAjE1AA8CMTYAEAIxNwARAjE4ABICMTkAEwIyMAAUAjIxABUCMjIAFgIyMwAXAjI0ABgCMjUAGQIyNgAaAjI3ABsCMjgAHAIyOQAdAjMwAB4CMzEAHwIzMgAgAjMzACECMzQAIgIzNQAjAjM2ACQCMzcAJQIzOAAmCCRpbXBvcnRzAQAKkQQnCwAgACABQQARAQALCwAgACABQQERAQALCwAgACABQQIRAQALCQAgAEEDEQcACwsAIAAgAUEEEQEACwsAIAAgAUEFEQEACwsAIAAgAUEGEQEACw0AIAAgASACQQcRCAALDwAgACABIAIgA0EIEQQACxEAIAAgASACIAMgBEEJEQkACw8AIAAgASACIANBChEEAAsRACAAIAEgAiADIARBCxEKAAsZACAAIAEgAiADIAQgBSAGIAcgCEEMEQsACwkAIABBDRECAAsJACAAQQ4RAgALCwAgACABQQ8RAAALCwAgACABQRARAAALCwAgACABQRERAAALCwAgACABQRIRAAALEQAgACABIAIgAyAEQRMRBQALDQAgACABIAJBFBEDAAsNACAAIAEgAkEVEQMACwsAIAAgAUEWEQAACwsAIAAgAUEXEQAACwsAIAAgAUEYEQAACxEAIAAgASACIAMgBEEZEQUACxUAIAAgASACIAMgBCAFIAZBGhEMAAsLACAAIAFBGxEAAAsNACAAIAEgAkEcEQMACw0AIAAgASACQR0RAwALCwAgACABQR4RAAALDwAgACABIAIgA0EfEQYACw8AIAAgASACIANBIBEGAAsLACAAIAFBIREAAAsLACAAIAFBIhENAAsJACAAQSMRAgALCQAgAEEkEQIACwkAIABBJRECAAsJACAAQSYRAgALAC8JcHJvZHVjZXJzAQxwcm9jZXNzZWQtYnkBDXdpdC1jb21wb25lbnQHMC4yNTEuMA');
13436
+ const module3 = base64Compile('AGFzbQEAAAABZw5gAn9/AGACf38Bf2ABfwBgA39+fwBgBH9/f38Bf2AFf39/f38AYAR/f39/AGABfwF/YAN/f38Bf2AFf39/fn8Bf2AFf39/f38Bf2AJf39/f39+fn9/AX9gB39/f39/f38AYAJ+fwAC8AEoAAEwAAEAATEAAQABMgABAAEzAAcAATQAAQABNQABAAE2AAEAATcACAABOAAEAAE5AAkAAjEwAAQAAjExAAoAAjEyAAsAAjEzAAIAAjE0AAIAAjE1AAAAAjE2AAAAAjE3AAAAAjE4AAAAAjE5AAUAAjIwAAMAAjIxAAMAAjIyAAAAAjIzAAAAAjI0AAAAAjI1AAUAAjI2AAwAAjI3AAAAAjI4AAMAAjI5AAMAAjMwAAAAAjMxAAYAAjMyAAYAAjMzAAAAAjM0AA0AAjM1AAIAAjM2AAIAAjM3AAIAAjM4AAIACCRpbXBvcnRzAXABJycJLQEAQQALJwABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJgAvCXByb2R1Y2VycwEMcHJvY2Vzc2VkLWJ5AQ13aXQtY29tcG9uZW50BzAuMjUxLjA');
12552
13437
  ({ exports: exports0 } = yield instantiateCore(yield module2));
12553
13438
  ({ exports: exports1 } = yield instantiateCore(yield module0, {
12554
13439
  wasi_snapshot_preview1: {