peachsim 0.1.2590 → 0.1.2591

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.
Files changed (130) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +2 -2
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +5 -5
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +3 -3
  13. package/dist-lib/bundle-channel.cjs +323 -93
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +3 -3
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +3 -3
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +2 -2
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +7 -7
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +5 -5
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/esm-chunks/{acorn-65FNEARV.mjs → acorn-EMX4WZ72.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-NZY4GOG5.mjs → chunk-4QHHRGO4.mjs} +1 -1
  28. package/dist-lib/esm-chunks/{chunk-SRFKOU76.mjs → chunk-7627LKJK.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-BZS5SIYK.mjs → chunk-AKKHSVJ4.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-WPDY5IAD.mjs → chunk-EGKH2L6J.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-JG4AANWA.mjs → chunk-ILWFGZWW.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-SLPXTLBK.mjs → chunk-J676B57D.mjs} +5 -5
  33. package/dist-lib/esm-chunks/{chunk-ADKUIQXX.mjs → chunk-JHXDM3YU.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-RGC2JNCL.mjs → chunk-MC6NMYWY.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-HZTK7TP5.mjs → chunk-NX23AMX4.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-2GUB5OLB.mjs → chunk-Q4NA6PUR.mjs} +3 -3
  37. package/dist-lib/esm-chunks/{chunk-EFKDUMB5.mjs → chunk-QBMFX3J2.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-462CWTWI.mjs → chunk-RKQZGWX2.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-5GNGHM5B.mjs → chunk-SOAYP72T.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-YPPH6F77.mjs → chunk-TFG4LZ5T.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-OZJ66CXY.mjs → chunk-UIVXVMS5.mjs} +2 -2
  42. package/dist-lib/esm-chunks/{chunk-X2EKFONU.mjs → chunk-UYJXLDCG.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-N2II5SRJ.mjs → chunk-VD27WNCT.mjs} +4 -4
  44. package/dist-lib/esm-chunks/{chunk-V5TTEXYO.mjs → chunk-VF5WVB3D.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-WYDRQRJL.mjs → chunk-VRVXRZI4.mjs} +5 -5
  46. package/dist-lib/esm-chunks/{chunk-4VCRUQ36.mjs → chunk-VYZ5DC3M.mjs} +194 -48
  47. package/dist-lib/esm-chunks/{chunk-GBD26EBV.mjs → chunk-YR6DNV76.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-XE3VHAU2.mjs → chunk-ZL5N6ENT.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{metro-layout-parser-CRI3GMCM.mjs → metro-layout-parser-ANKZARNW.mjs} +3 -3
  50. package/dist-lib/esm-chunks/{swift-package-prebuilt-5XDZ2HZZ.mjs → swift-package-prebuilt-4N5CXBOZ.mjs} +10 -10
  51. package/dist-lib/esm-chunks/{swift-sdk-app-module-6H3G6AXD.mjs → swift-sdk-app-module-5IUSRXYA.mjs} +151 -67
  52. package/dist-lib/esm-chunks/{swift-sdk-image-WAC7GG2R.mjs → swift-sdk-image-7T2LMQS5.mjs} +14 -14
  53. package/dist-lib/esm-chunks/{swift-sdk-image-producer-B3L27QTG.mjs → swift-sdk-image-producer-7QJ3BF6E.mjs} +4 -4
  54. package/dist-lib/expo-swift-bundle.cjs +322 -92
  55. package/dist-lib/expo-swift-metadata.cjs +1 -1
  56. package/dist-lib/expo-swift-metadata.mjs +7 -7
  57. package/dist-lib/home-paths.cjs +1 -1
  58. package/dist-lib/host/bridge-host.cjs +323 -93
  59. package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
  60. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  61. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  62. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  63. package/dist-lib/host/websocket-proxy.cjs +1 -1
  64. package/dist-lib/index.cjs +1 -1
  65. package/dist-lib/kotlin-host.cjs +1 -1
  66. package/dist-lib/menu.cjs +1 -1
  67. package/dist-lib/menu.mjs +3 -3
  68. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  69. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  70. package/dist-lib/metro-production-bundle.cjs +1 -1
  71. package/dist-lib/metro-production-bundle.mjs +4 -4
  72. package/dist-lib/native-app-identity-project.cjs +2 -2
  73. package/dist-lib/native-app-identity-project.mjs +16 -16
  74. package/dist-lib/native-app-identity.cjs +1 -1
  75. package/dist-lib/native-app-identity.mjs +6 -6
  76. package/dist-lib/native-firebase-metadata.cjs +1 -1
  77. package/dist-lib/native-firebase-metadata.mjs +3 -3
  78. package/dist-lib/pdfium-raster.cjs +1 -1
  79. package/dist-lib/pdfium-raster.mjs +2 -2
  80. package/dist-lib/plist.cjs +1 -1
  81. package/dist-lib/plist.mjs +3 -3
  82. package/dist-lib/profiles.cjs +1 -1
  83. package/dist-lib/public-brand.cjs +1 -1
  84. package/dist-lib/public-origins-lib-esm.json +81 -81
  85. package/dist-lib/public-origins-lib.json +69 -69
  86. package/dist-lib/react-native-host-modules.cjs +1 -1
  87. package/dist-lib/react-native-host-modules.mjs +2 -2
  88. package/dist-lib/reap-browser.cjs +1 -1
  89. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  90. package/dist-lib/sdk.cjs +1 -1
  91. package/dist-lib/sdk.mjs +8 -8
  92. package/dist-lib/skills.cjs +323 -93
  93. package/dist-lib/swift-compile.cjs +320 -90
  94. package/dist-lib/swift-compile.mjs +10 -10
  95. package/dist-lib/swift-package.cjs +1 -1
  96. package/dist-lib/swift-package.mjs +3 -3
  97. package/dist-lib/swift-submit.cjs +1 -1
  98. package/dist-lib/swift-submit.mjs +6 -6
  99. package/dist-lib/swift-svg-raster.cjs +1 -1
  100. package/dist-lib/swift-svg-raster.mjs +2 -2
  101. package/dist-lib/swift-toolchain.cjs +1 -1
  102. package/dist-lib/swift.cjs +1 -1
  103. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  104. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  105. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  106. package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
  107. package/dist-lib/vendor/acorn.cjs +1 -1
  108. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  109. package/dist-lib/vendor/ignore.cjs +1 -1
  110. package/dist-lib/vendor/magic-string.cjs +1 -1
  111. package/dist-lib/vendor/plist.cjs +1 -1
  112. package/dist-lib/vendor/smol-toml.cjs +1 -1
  113. package/dist-lib/vendor/stream-json.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  118. package/dist-lib/vendor/sucrase.cjs +1 -1
  119. package/dist-lib/vendor/terser.cjs +1 -1
  120. package/dist-lib/vendor/valibot.cjs +1 -1
  121. package/dist-lib/vendor/ws.cjs +1 -1
  122. package/dist-lib/vendor/zod.cjs +1 -1
  123. package/dist-lib/worklet-executable.cjs +1 -1
  124. package/dist-lib/worklet-executable.mjs +3 -3
  125. package/kotlin/sdk.tar.gz +0 -0
  126. package/package.json +1 -1
  127. package/src/swift-guest-compile.ts +41 -8
  128. package/src/swift-guest-link.ts +3 -0
  129. package/src/swift-guest-source-inputs.ts +158 -30
  130. package/src/swift-sdk-app-module.ts +146 -59
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2591 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -26243,13 +26243,13 @@ var init_swift_standin_digest = __esm({
26243
26243
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
26244
26244
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
26245
26245
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
26246
- STANDIN_SOURCE_DIGEST = true ? "a3bcdfe9c9957355a59c2c26155470c89a2abb30907aeeaaf1de8463aa74fc8c" : standinSourceDigest();
26246
+ STANDIN_SOURCE_DIGEST = true ? "a8f701d93728e07278999e87ca0ce8629c73067b6c4382393bfa6705a275114b" : standinSourceDigest();
26247
26247
  }
26248
26248
  });
26249
26249
 
26250
26250
  // src/expo-native-compiler-digest.ts
26251
26251
  function expoNativeCompilerDigestValue() {
26252
- return true ? "a8b60651de79588c6c5143dd2545ccd8e3b858acd992f46b35ba3de883118ac5" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
26252
+ return true ? "fac25d497603de6d36f5104099d949e505b050f78be3ed12989ae494db25b470" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
26253
26253
  }
26254
26254
  var import_node_crypto17;
26255
26255
  var init_expo_native_compiler_digest = __esm({
@@ -39024,6 +39024,7 @@ function linkGuestImages(options2) {
39024
39024
  { stdio: "pipe" }
39025
39025
  );
39026
39026
  finalTrace = linkFinal(projectionObject, callerMap ? void 0 : layoutMap);
39027
+ if (sharedSdk) break;
39027
39028
  const wasm = import_node_fs49.default.readFileSync(finalOutput);
39028
39029
  const actual = guestProjectionRegionCounts(
39029
39030
  images.length,
@@ -39777,6 +39778,85 @@ function clangProducerStamp(file) {
39777
39778
  const stat = (0, import_node_fs50.statSync)(file, { bigint: true });
39778
39779
  return [stat.dev, stat.ino, stat.size, stat.mtimeNs, stat.ctimeNs].join(":");
39779
39780
  }
39781
+ function clangBinaryStamp(file) {
39782
+ const stat = (0, import_node_fs50.statSync)(file, { bigint: true });
39783
+ return [file, stat.size, stat.mtimeNs].join(":");
39784
+ }
39785
+ function clangWrapperStamp(file) {
39786
+ return (0, import_node_crypto31.createHash)("sha256").update((0, import_node_fs50.readFileSync)(file)).digest("hex");
39787
+ }
39788
+ function clangArgsNeedCwd(args) {
39789
+ const pathFlags = /* @__PURE__ */ new Set([
39790
+ "-I",
39791
+ "-isystem",
39792
+ "-iquote",
39793
+ "-F",
39794
+ "-iframework",
39795
+ "-isysroot",
39796
+ "-o",
39797
+ "-MF"
39798
+ ]);
39799
+ const includeFlags = /* @__PURE__ */ new Set(["-include", "-imacros"]);
39800
+ const valueFlags = /* @__PURE__ */ new Set([
39801
+ "-x",
39802
+ "-target",
39803
+ "-MT",
39804
+ "-MQ",
39805
+ "-D",
39806
+ "-U",
39807
+ "-mllvm",
39808
+ "-Xclang",
39809
+ "-arch",
39810
+ "-std"
39811
+ ]);
39812
+ const prefixFlags = [
39813
+ "-I",
39814
+ "-F",
39815
+ "-isystem",
39816
+ "-iquote",
39817
+ "--sysroot=",
39818
+ "-fmodule-map-file=",
39819
+ "-fmodules-cache-path="
39820
+ ];
39821
+ const isRelativePath = (value) => value.length > 0 && !value.startsWith("/") && !value.startsWith("=/") && value !== "-";
39822
+ for (let i = 1; i < args.length; i++) {
39823
+ const arg = args[i];
39824
+ if (pathFlags.has(arg)) {
39825
+ if (isRelativePath(args[++i] ?? "")) return true;
39826
+ continue;
39827
+ }
39828
+ if (includeFlags.has(arg)) {
39829
+ const value = args[++i] ?? "";
39830
+ if (isRelativePath(value) && (value.includes("/") || (0, import_node_fs50.existsSync)(value))) return true;
39831
+ continue;
39832
+ }
39833
+ if (valueFlags.has(arg)) {
39834
+ i++;
39835
+ continue;
39836
+ }
39837
+ if (arg.startsWith("@")) {
39838
+ if (isRelativePath(arg.slice(1))) return true;
39839
+ continue;
39840
+ }
39841
+ if (arg.startsWith("-")) {
39842
+ if (arg.startsWith("-include") && arg.length > 8) {
39843
+ const value = arg.slice(8);
39844
+ if (isRelativePath(value) && (value.includes("/") || (0, import_node_fs50.existsSync)(value)))
39845
+ return true;
39846
+ continue;
39847
+ }
39848
+ for (const prefix of prefixFlags) {
39849
+ if (arg.startsWith(prefix) && arg.length > prefix.length) {
39850
+ if (isRelativePath(arg.slice(prefix.length))) return true;
39851
+ break;
39852
+ }
39853
+ }
39854
+ continue;
39855
+ }
39856
+ if (isRelativePath(arg)) return true;
39857
+ }
39858
+ return false;
39859
+ }
39780
39860
  function validateClangLinkOptions(flags) {
39781
39861
  for (let index = 0; index < flags.length; index++) {
39782
39862
  const flag = flags[index];
@@ -39856,7 +39936,7 @@ function sourceGuestClangLinkOptions(options2) {
39856
39936
  let clang;
39857
39937
  let clangStamp;
39858
39938
  let wrapperStamp;
39859
- for (const [index, file] of [...wanted].entries()) {
39939
+ for (const file of wanted) {
39860
39940
  const command = commands.get(file);
39861
39941
  if (!command) throw new Error(`missing source object producer ${file}`);
39862
39942
  if (command.tool === "shell") {
@@ -39870,12 +39950,12 @@ function sourceGuestClangLinkOptions(options2) {
39870
39950
  throw new Error(`unsupported source object producer ${file}`);
39871
39951
  const key2 = (0, import_node_crypto31.createHash)("sha256").update(
39872
39952
  JSON.stringify([
39873
- "clang-link-options/v1",
39874
- process.cwd(),
39953
+ "clang-link-options/v2",
39954
+ clangArgsNeedCwd(command.args) ? process.cwd() : null,
39875
39955
  driverEnvironment,
39876
39956
  command.args,
39877
- clangStamp ??= clangProducerStamp(clang),
39878
- compiler === clang ? null : wrapperStamp ??= clangProducerStamp(compiler),
39957
+ clangStamp ??= clangBinaryStamp(clang),
39958
+ compiler === clang ? null : wrapperStamp ??= clangWrapperStamp(compiler),
39879
39959
  clangProducerStamp(file)
39880
39960
  ])
39881
39961
  ).digest("hex");
@@ -39890,31 +39970,44 @@ function sourceGuestClangLinkOptions(options2) {
39890
39970
  continue;
39891
39971
  }
39892
39972
  result.set(file, []);
39893
- const args = command.args.slice(1).filter((arg) => arg !== "-c");
39894
39973
  const targetBuild = import_node_path48.default.relative(options2.buildDirectory, file).split(import_node_path48.default.sep).findLast((part) => part !== ".build" && part.endsWith(".build"));
39895
- const outputDirectory = import_node_path48.default.join(
39896
- options2.directory,
39897
- targetBuild ?? import_node_path48.default.basename(import_node_path48.default.dirname(file))
39898
- );
39899
- (0, import_node_fs50.mkdirSync)(outputDirectory, { recursive: true });
39900
- const output = import_node_path48.default.join(outputDirectory, `clang-link-${index}.ll`);
39901
- for (const flag of ["-o", "-MF"]) {
39902
- const index2 = args.lastIndexOf(flag);
39903
- if (index2 < 0 || index2 + 1 >= args.length)
39904
- throw new Error(`missing clang ${flag} for ${file}`);
39905
- args[index2 + 1] = flag === "-o" ? output : `${output}.d`;
39974
+ const args = [];
39975
+ let sawOutput = false;
39976
+ let explicitModuleName = false;
39977
+ for (let i = 1; i < command.args.length; i++) {
39978
+ const arg = command.args[i];
39979
+ if (arg === "-c" || arg === "-MD" || arg === "-MMD" || arg === "-MP") continue;
39980
+ if (arg === "-MF" || arg === "-MT" || arg === "-MQ") {
39981
+ if (i + 1 >= command.args.length)
39982
+ throw new Error(`missing clang ${arg} for ${file}`);
39983
+ i++;
39984
+ continue;
39985
+ }
39986
+ if (arg === "-o") {
39987
+ if (i + 1 >= command.args.length) throw new Error(`missing clang -o for ${file}`);
39988
+ i++;
39989
+ args.push("-o", "-");
39990
+ sawOutput = true;
39991
+ continue;
39992
+ }
39993
+ if (arg.startsWith("-fmodule-name=")) explicitModuleName = true;
39994
+ args.push(arg);
39995
+ }
39996
+ if (!sawOutput) throw new Error(`missing clang -o for ${file}`);
39997
+ if (compiler !== clang && targetBuild && !explicitModuleName) {
39998
+ args.unshift(`-fmodule-name=${targetBuild.slice(0, -".build".length)}`);
39906
39999
  }
39907
40000
  replays.push({
39908
40001
  file,
39909
40002
  compiler: command.args[0],
39910
40003
  args: [...args, "-S", "-emit-llvm", "-Xclang", "-disable-llvm-passes"],
39911
- output,
39912
40004
  cacheFile,
39913
40005
  key: key2
39914
40006
  });
39915
40007
  }
39916
40008
  if (replays.length === 0) return result;
39917
40009
  const plan = import_node_path48.default.join(options2.directory, "clang-link-replays.json");
40010
+ const resultsPath = import_node_path48.default.join(options2.directory, "clang-link-results.json");
39918
40011
  (0, import_node_fs50.writeFileSync)(
39919
40012
  plan,
39920
40013
  JSON.stringify(replays.map(({ compiler, args }) => [compiler, ...args]))
@@ -39927,12 +40020,16 @@ function sourceGuestClangLinkOptions(options2) {
39927
40020
  ...process.env,
39928
40021
  [PEACH_FORKED_SCRIPT_ENV]: "1",
39929
40022
  PEACH_CLANG_REPLAYS: plan,
40023
+ PEACH_CLANG_RESULTS: resultsPath,
39930
40024
  PEACH_CLANG_JOBS: String(options2.jobs)
39931
40025
  }
39932
40026
  });
40027
+ const replayMetadata = JSON.parse((0, import_node_fs50.readFileSync)(resultsPath, "utf8"));
40028
+ if (!Array.isArray(replayMetadata) || replayMetadata.length !== replays.length || !replayMetadata.every((item) => typeof item === "string"))
40029
+ throw new Error("invalid clang link replay results");
39933
40030
  (0, import_node_fs50.mkdirSync)(cacheDirectory, { recursive: true });
39934
- for (const { file, output, cacheFile, key: key2 } of replays) {
39935
- const flags = clangIrLinkOptions((0, import_node_fs50.readFileSync)(output, "utf8"));
40031
+ for (const [index, { file, cacheFile, key: key2 }] of replays.entries()) {
40032
+ const flags = clangIrLinkOptions(replayMetadata[index]);
39936
40033
  validateClangLinkOptions(flags);
39937
40034
  const temporary = `${cacheFile}.${process.pid}`;
39938
40035
  (0, import_node_fs50.writeFileSync)(temporary, JSON.stringify({ key: key2, flags }));
@@ -40170,22 +40267,47 @@ var init_swift_guest_source_inputs = __esm({
40170
40267
  CLANG_TARGET_MODULE_WRAPPER = ".peach-clang";
40171
40268
  PARALLEL_REPLAY = `
40172
40269
  const { spawn } = require('node:child_process')
40173
- const commands = JSON.parse(require('node:fs').readFileSync(process.env.PEACH_CLANG_REPLAYS, 'utf8'))
40270
+ const fs = require('node:fs')
40271
+ const commands = JSON.parse(fs.readFileSync(process.env.PEACH_CLANG_REPLAYS, 'utf8'))
40272
+ const results = new Array(commands.length)
40174
40273
  let next = 0
40175
40274
  const run = () => {
40176
40275
  if (next >= commands.length) return Promise.resolve()
40177
- const [file, ...args] = commands[next++]
40276
+ const index = next++
40277
+ const [file, ...args] = commands[index]
40178
40278
  return new Promise((resolve, reject) => {
40179
- const child = spawn(file, args, { stdio: 'inherit' })
40279
+ const child = spawn(file, args, { stdio: ['ignore', 'pipe', 'inherit'] })
40280
+ const metadata = []
40281
+ let pending = ''
40282
+ child.stdout.setEncoding('utf8')
40283
+ child.stdout.on('data', (chunk) => {
40284
+ const text = pending + chunk
40285
+ let start = 0
40286
+ for (let nl = text.indexOf('\\n'); nl !== -1; nl = text.indexOf('\\n', start)) {
40287
+ if (text.charCodeAt(start) === 33) metadata.push(text.slice(start, nl))
40288
+ start = nl + 1
40289
+ }
40290
+ pending = text.slice(start)
40291
+ })
40180
40292
  child.on('error', reject)
40181
- child.on('close', (code) => (code === 0 ? resolve() : reject(new Error('clang link replay failed: ' + file))))
40293
+ child.on('close', (code) => {
40294
+ if (pending.charCodeAt(0) === 33) metadata.push(pending)
40295
+ if (code === 0) {
40296
+ results[index] = metadata.join('\\n')
40297
+ resolve()
40298
+ } else reject(new Error('clang link replay failed: ' + file))
40299
+ })
40182
40300
  }).then(run)
40183
40301
  }
40184
40302
  const jobs = Math.max(1, Number(process.env.PEACH_CLANG_JOBS) || 1)
40185
- Promise.all(Array.from({ length: jobs }, run)).catch((error) => {
40186
- console.error(error.message)
40187
- process.exit(1)
40188
- })
40303
+ Promise.all(Array.from({ length: jobs }, run))
40304
+ .then(() => {
40305
+ fs.writeFileSync(process.env.PEACH_CLANG_RESULTS, JSON.stringify(results))
40306
+ })
40307
+ .catch((error) => {
40308
+ console.error(error.message)
40309
+ process.exit(1)
40310
+ })
40189
40311
  `;
40190
40312
  }
40191
40313
  });
@@ -43746,6 +43868,7 @@ __export(swift_sdk_app_module_exports, {
43746
43868
  readSwiftSdkUsage: () => readSwiftSdkUsage,
43747
43869
  selectSwiftSdkData: () => selectSwiftSdkData,
43748
43870
  swiftAppModuleInputs: () => swiftAppModuleInputs,
43871
+ swiftSdkProjectionSpans: () => swiftSdkProjectionSpans,
43749
43872
  writeSwiftSdkAppLink: () => writeSwiftSdkAppLink
43750
43873
  });
43751
43874
  async function buildSwiftAppModule(options2) {
@@ -43861,15 +43984,18 @@ async function compileSdkForwarders(inputs2, sdk2, toolchainBin, output, project
43861
43984
  index++;
43862
43985
  }
43863
43986
  const errno = tls.errno;
43987
+ let declaredErrno = false;
43864
43988
  for (const name3 of referenced) {
43865
43989
  const offset = tls[name3];
43866
43990
  if (offset === void 0 || defined.has(name3)) continue;
43867
43991
  if (errno === void 0 || signatures.__errno_location !== ":j")
43868
43992
  throw new Error("the sdk image has no errno to find its thread block by");
43869
- if (!lines.some((line) => line.startsWith("char *__peach_errno(")))
43993
+ if (!declaredErrno) {
43994
+ declaredErrno = true;
43870
43995
  lines.push(
43871
43996
  `__attribute__((import_module("env"), import_name("__errno_location"))) char *__peach_errno(void);`
43872
43997
  );
43998
+ }
43873
43999
  lines.push(
43874
44000
  `__attribute__((weak)) _Thread_local char t${index} __asm__(${literal2(name3)});`,
43875
44001
  `__attribute__((used)) long long h${index}(void) __asm__(${literal2(SDK_TLS_HELPER + name3)});`,
@@ -44245,6 +44371,20 @@ function resolveSdkReferences(source, sdk2, forwarders) {
44245
44371
  symbols.filter((symbol2) => symbol2.kind === 0 && symbol2.name.startsWith(SDK_TLS_HELPER)).map((symbol2) => [symbol2.name.slice(SDK_TLS_HELPER.length), symbol2.index])
44246
44372
  );
44247
44373
  const segments = guestWasmDataSegments(bytes, false);
44374
+ const segmentsByOffset = [...segments].sort((a, b) => a.offset - b.offset);
44375
+ const segmentNameSet = new Set(segmentNames);
44376
+ const findSegmentByOffset = (at, size2) => {
44377
+ let lo = 0;
44378
+ let hi = segmentsByOffset.length - 1;
44379
+ while (lo <= hi) {
44380
+ const mid = lo + hi >> 1;
44381
+ const entry = segmentsByOffset[mid];
44382
+ if (at < entry.offset) hi = mid - 1;
44383
+ else if (at >= entry.offset + entry.length) lo = mid + 1;
44384
+ else return at + size2 <= entry.offset + entry.length ? entry : void 0;
44385
+ }
44386
+ return void 0;
44387
+ };
44248
44388
  const tdata = segmentNames.indexOf(".tdata");
44249
44389
  const tlsTemplate = tdata < 0 ? void 0 : passiveSegments(bytes)[tdata];
44250
44390
  const tlsStart = tlsTemplate && tlsTemplate.byteOffset - bytes.byteOffset;
@@ -44309,7 +44449,7 @@ function resolveSdkReferences(source, sdk2, forwarders) {
44309
44449
  const encoding = width.width;
44310
44450
  if (kind === "address" && target.id === 11 && encoding === "u64" && addend === 0n) {
44311
44451
  const section2 = OBJC_SECTION_BOUNDARY.exec(name3)?.[1];
44312
- if (section2 && !segmentNames.includes(section2)) {
44452
+ if (section2 && !segmentNameSet.has(section2)) {
44313
44453
  bytes.fill(0, at, at + 8);
44314
44454
  continue;
44315
44455
  }
@@ -44321,9 +44461,7 @@ function resolveSdkReferences(source, sdk2, forwarders) {
44321
44461
  if (tlsStart !== void 0 && at >= tlsStart && at < tlsStart + tlsTemplate.length)
44322
44462
  linkage.tls.push(at - tlsStart, size2, value);
44323
44463
  else {
44324
- const segment2 = segments.find(
44325
- (entry) => at >= entry.offset && at + size2 <= entry.offset + entry.length
44326
- );
44464
+ const segment2 = findSegmentByOffset(at, size2);
44327
44465
  if (!segment2)
44328
44466
  throw new Error(`Swift SDK relocation has no load address for ${name3}`);
44329
44467
  linkage.data.push(segment2.address + at - segment2.offset, size2, value);
@@ -44367,15 +44505,29 @@ function resolveSdkReferences(source, sdk2, forwarders) {
44367
44505
  }
44368
44506
  }
44369
44507
  }
44370
- const entries2 = imports2.map((entry) => {
44508
+ const encodedNameBuf = (name3) => {
44509
+ const raw2 = Buffer.from(name3, "utf8");
44510
+ const len = uleb4(raw2.length);
44511
+ const out = Buffer.allocUnsafe(len.length + raw2.length);
44512
+ for (let i = 0; i < len.length; i++) out[i] = len[i];
44513
+ raw2.copy(out, len.length);
44514
+ return out;
44515
+ };
44516
+ const importParts = [];
44517
+ let importEntryCount = imports2.length + 1;
44518
+ for (const entry of imports2) {
44371
44519
  const slot = entry.kind === 0 && entry.module === "env" ? functionSlots.get(entry.name) : void 0;
44372
- return [
44373
- ...encodedName2(slot === void 0 ? entry.module : NATIVE_SDK_IMPORT_MODULE),
44374
- ...encodedName2(slot === void 0 ? entry.name : String(slot)),
44375
- ...bytes.subarray(entry.start, entry.end)
44376
- ];
44377
- });
44378
- entries2.push([...encodedName2("env"), ...encodedName2("__stack_pointer"), 3, 126, 1]);
44520
+ importParts.push(
44521
+ encodedNameBuf(slot === void 0 ? entry.module : NATIVE_SDK_IMPORT_MODULE),
44522
+ encodedNameBuf(slot === void 0 ? entry.name : String(slot)),
44523
+ bytes.subarray(entry.start, entry.end)
44524
+ );
44525
+ }
44526
+ importParts.push(
44527
+ encodedNameBuf("env"),
44528
+ encodedNameBuf("__stack_pointer"),
44529
+ Buffer.from([3, 126, 1])
44530
+ );
44379
44531
  const tags = sections.find((section2) => section2.id === 13);
44380
44532
  if (tags) {
44381
44533
  const r = wasmReader(bytes, tags.start);
@@ -44390,15 +44542,18 @@ function resolveSdkReferences(source, sdk2, forwarders) {
44390
44542
  throw new Error(
44391
44543
  `Swift app defines an exception tag the sdk does not own: ${name3}`
44392
44544
  );
44393
- entries2.push([
44394
- ...encodedName2("env"),
44395
- ...encodedName2(name3),
44396
- 4,
44397
- ...bytes.subarray(start, r.at)
44398
- ]);
44545
+ importParts.push(
44546
+ encodedNameBuf("env"),
44547
+ encodedNameBuf(name3),
44548
+ Buffer.from([4]),
44549
+ bytes.subarray(start, r.at)
44550
+ );
44551
+ importEntryCount++;
44399
44552
  }
44400
44553
  }
44401
- const globals = [];
44554
+ const globalParts = [
44555
+ Buffer.from(uleb4(globalCount - 1 + syntheticGlobals.length))
44556
+ ];
44402
44557
  for (let index = 0; index < globalCount; index++) {
44403
44558
  const start = gr.at;
44404
44559
  const type = gr.byte();
@@ -44410,12 +44565,12 @@ function resolveSdkReferences(source, sdk2, forwarders) {
44410
44565
  if (gr.byte() !== 11) throw new Error("app global initializer has no end");
44411
44566
  if (index === 0) continue;
44412
44567
  const value = got.get(index);
44413
- if (value === void 0) globals.push(...bytes.subarray(start, gr.at));
44414
- else globals.push(type, 1, type === 126 ? 66 : 65, 0, 11);
44568
+ if (value === void 0) globalParts.push(bytes.subarray(start, gr.at));
44569
+ else globalParts.push(Buffer.from([type, 1, type === 126 ? 66 : 65, 0, 11]));
44415
44570
  }
44416
44571
  for (const type of syntheticGlobals) {
44417
44572
  const zero = type === 125 ? [67, 0, 0, 0, 0] : type === 124 ? [68, 0, 0, 0, 0, 0, 0, 0, 0] : [type === 126 ? 66 : 65, 0];
44418
- globals.push(type, 1, ...zero, 11);
44573
+ globalParts.push(Buffer.from([type, 1, ...zero, 11]));
44419
44574
  }
44420
44575
  const exportSection = sections.find((s) => s.id === 7);
44421
44576
  if (!exportSection) throw new Error("app link has no exports");
@@ -44438,24 +44593,21 @@ function resolveSdkReferences(source, sdk2, forwarders) {
44438
44593
  throw new Error("Swift app exceeds its reserved static memory range");
44439
44594
  }
44440
44595
  }
44596
+ const exportParts = [
44597
+ Buffer.from(uleb4(exportCount + 1 + got.size)),
44598
+ bytes.subarray(originalExportsStart, exportSection.end)
44599
+ ];
44600
+ for (const [index, value] of got) {
44601
+ exportParts.push(
44602
+ encodedNameBuf(`${NATIVE_SDK_GLOBAL_PREFIX}${value}.${index}`),
44603
+ Buffer.from([3, ...uleb4(index)])
44604
+ );
44605
+ }
44606
+ exportParts.push(encodedNameBuf("__indirect_function_table"), Buffer.from([1, 0]));
44441
44607
  const replaced = /* @__PURE__ */ new Map([
44442
- [2, [...uleb4(entries2.length), ...entries2.flat()]],
44443
- [6, [...uleb4(globalCount - 1 + syntheticGlobals.length), ...globals]],
44444
- [
44445
- 7,
44446
- [
44447
- ...uleb4(exportCount + 1 + got.size),
44448
- ...bytes.subarray(originalExportsStart, exportSection.end),
44449
- ...[...got].flatMap(([index, value]) => [
44450
- ...encodedName2(`${NATIVE_SDK_GLOBAL_PREFIX}${value}.${index}`),
44451
- 3,
44452
- ...uleb4(index)
44453
- ]),
44454
- ...encodedName2("__indirect_function_table"),
44455
- 1,
44456
- 0
44457
- ]
44458
- ]
44608
+ [2, Buffer.concat([Buffer.from(uleb4(importEntryCount)), ...importParts])],
44609
+ [6, Buffer.concat(globalParts)],
44610
+ [7, Buffer.concat(exportParts)]
44459
44611
  ]);
44460
44612
  const rebuiltCode = expanded.length ? expandSdkRelocations(
44461
44613
  bytes,
@@ -44467,9 +44619,13 @@ function resolveSdkReferences(source, sdk2, forwarders) {
44467
44619
  if (s === tags || s.name === "linking" || s.name?.startsWith("reloc.") || s.name === ".swift1_autolink_entries")
44468
44620
  continue;
44469
44621
  const payload = replaced.get(s.id);
44470
- parts.push(
44471
- s.id === 10 && rebuiltCode ? rebuiltCode : payload ? Uint8Array.from([s.id, ...uleb4(payload.length), ...payload]) : bytes.subarray(s.offset, s.end)
44472
- );
44622
+ if (s.id === 10 && rebuiltCode) {
44623
+ parts.push(rebuiltCode);
44624
+ } else if (payload) {
44625
+ parts.push(Buffer.from([s.id, ...uleb4(payload.length)]), payload);
44626
+ } else {
44627
+ parts.push(bytes.subarray(s.offset, s.end));
44628
+ }
44473
44629
  }
44474
44630
  return { bytes: Buffer.concat(parts), linkage };
44475
44631
  }
@@ -44567,6 +44723,49 @@ function readSwiftSdkUsage(mapFile, linkedFile, sdkObjects) {
44567
44723
  constructors: [...new Set(constructorKeys(map2, (0, import_node_fs59.readFileSync)(linkedFile)))]
44568
44724
  };
44569
44725
  }
44726
+ function swiftSdkProjectionSpans(sdk2, imageFor) {
44727
+ const { manifest, block: block2 } = readSwiftSdkManifest(sdk2);
44728
+ const guestObjects = manifest.guestObjects;
44729
+ if (!guestObjects) return [];
44730
+ const { strings: strings5 } = manifest;
44731
+ const fields = block2("pieces");
44732
+ const ordered = [];
44733
+ for (let i = 0; i < fields.length; i += SWIFT_SDK_PIECE_FIELDS) {
44734
+ const size2 = fields[i + 1];
44735
+ if (!size2) continue;
44736
+ ordered.push({
44737
+ address: fields[i],
44738
+ size: size2,
44739
+ object: strings5[fields[i + 3]]
44740
+ });
44741
+ }
44742
+ ordered.sort((a, b) => a.address - b.address);
44743
+ const imageOf = (object7) => {
44744
+ const product = guestObjects[object7]?.product;
44745
+ return product === void 0 ? void 0 : imageFor(object7, product);
44746
+ };
44747
+ const spans = [];
44748
+ for (let index = 0; index < ordered.length; index++) {
44749
+ const { object: object7, address, size: size2 } = ordered[index];
44750
+ const image = imageOf(object7);
44751
+ if (image === void 0) continue;
44752
+ let next = index + 1;
44753
+ while (next < ordered.length && ordered[next].address < address + size2) next++;
44754
+ const end = ordered[next]?.address ?? address + size2;
44755
+ spans.push({ image, space: "linear-memory", address, length: end - address });
44756
+ }
44757
+ const functionKeys = block2("functions");
44758
+ const slots = block2("functionSlots");
44759
+ for (let index = 0; index < functionKeys.length; index++) {
44760
+ const slot = slots[index];
44761
+ if (!slot) continue;
44762
+ const key2 = strings5[functionKeys[index]];
44763
+ const image = imageOf(key2.slice(0, key2.indexOf(":")));
44764
+ if (image !== void 0)
44765
+ spans.push({ image, space: "function-table", address: slot, length: 1 });
44766
+ }
44767
+ return spans;
44768
+ }
44570
44769
  function selectSwiftSdkData(sdk2, usage, linkage, projection) {
44571
44770
  const { manifest, block: block2, segments } = readSwiftSdkManifest(sdk2);
44572
44771
  const { strings: strings5 } = manifest;
@@ -44589,15 +44788,24 @@ function selectSwiftSdkData(sdk2, usage, linkage, projection) {
44589
44788
  });
44590
44789
  }
44591
44790
  const memory = new Map(segments.map((segment2) => [segment2.name, segment2]));
44592
- const read = (address2, size2) => {
44791
+ let lastSegment = segments[0];
44792
+ const segmentAt = (address2, size2) => {
44793
+ if (lastSegment && address2 >= lastSegment.address && address2 + size2 <= lastSegment.address + lastSegment.data.length)
44794
+ return lastSegment;
44593
44795
  for (const segment2 of segments)
44594
- if (address2 >= segment2.address && address2 + size2 <= segment2.address + segment2.data.length)
44595
- return segment2.data.subarray(
44596
- address2 - segment2.address,
44597
- address2 - segment2.address + size2
44598
- );
44796
+ if (address2 >= segment2.address && address2 + size2 <= segment2.address + segment2.data.length) {
44797
+ lastSegment = segment2;
44798
+ return segment2;
44799
+ }
44599
44800
  return void 0;
44600
44801
  };
44802
+ const read = (address2, size2) => {
44803
+ const segment2 = segmentAt(address2, size2);
44804
+ return segment2?.data.subarray(
44805
+ address2 - segment2.address,
44806
+ address2 - segment2.address + size2
44807
+ );
44808
+ };
44601
44809
  const appSectionsByObject = /* @__PURE__ */ new Map();
44602
44810
  const appSections = /* @__PURE__ */ new Set();
44603
44811
  const appSymbols = /* @__PURE__ */ new Set();
@@ -44703,9 +44911,7 @@ function selectSwiftSdkData(sdk2, usage, linkage, projection) {
44703
44911
  const classAddress = Number(
44704
44912
  new DataView(field.buffer, field.byteOffset, 8).getBigUint64(0, true)
44705
44913
  );
44706
- const segment2 = segments.find(
44707
- ({ address: address3, data }) => classAddress >= address3 && classAddress < address3 + data.length
44708
- );
44914
+ const segment2 = segmentAt(classAddress, 1);
44709
44915
  if (!segment2) continue;
44710
44916
  const start = classAddress - segment2.address;
44711
44917
  const end = segment2.data.indexOf(0, start);
@@ -44913,7 +45119,7 @@ function selectSwiftSdkData(sdk2, usage, linkage, projection) {
44913
45119
  if (current2)
44914
45120
  runs.push({
44915
45121
  address: current2.address,
44916
- bytes: Uint8Array.from(Buffer.concat(current2.parts))
45122
+ bytes: Buffer.concat(current2.parts)
44917
45123
  });
44918
45124
  };
44919
45125
  for (const piece of loaded3) {
@@ -45331,13 +45537,19 @@ async function compileGuestLink(options2) {
45331
45537
  const selectedSource = source.artifacts.filter(
45332
45538
  (artifact) => selected.has(import_node_path58.default.resolve(rewritten.get(artifact.path) ?? artifact.path))
45333
45539
  );
45540
+ const admittedCores = Number(process.env.TM_EXEC_CPU_CORES);
45541
+ const linuxMemory = process.env.TM_EXEC_ADMITTED === "1" && process.env.LINUX_BUILD_SCOPE ? Number(process.env.TM_EXEC_LINUX_MEMORY_MAX) : NaN;
45542
+ const clangReplayJobs = Number.isInteger(admittedCores) && admittedCores > 0 ? Math.min(
45543
+ admittedCores,
45544
+ Number.isSafeInteger(linuxMemory) && linuxMemory > 0 ? Math.max(options2.jobs, Math.floor(linuxMemory / (512 * 1024 ** 2))) : Math.max(options2.jobs, admittedCores)
45545
+ ) : options2.jobs;
45334
45546
  const clangOptions2 = sourceGuestClangLinkOptions({
45335
45547
  buildDirectory: options2.buildDirectory,
45336
45548
  directory: directory2,
45337
45549
  toolchainBin: options2.toolchainBin,
45338
45550
  swiftCompiler: options2.swiftCompiler,
45339
45551
  objects: selectedSource.map((artifact) => artifact.path),
45340
- jobs: options2.jobs
45552
+ jobs: clangReplayJobs
45341
45553
  });
45342
45554
  const links = sourceGuestRuntimeLinks({
45343
45555
  toolchainBin: options2.toolchainBin,
@@ -45519,7 +45731,8 @@ async function compileGuestLink(options2) {
45519
45731
  createSwiftSdkBinding: createSwiftSdkBinding2,
45520
45732
  finishSwiftAppModule: finishSwiftAppModule2,
45521
45733
  linkSwiftAppModule: linkSwiftAppModule2,
45522
- readSwiftSdkUsage: readSwiftSdkUsage2
45734
+ readSwiftSdkUsage: readSwiftSdkUsage2,
45735
+ swiftSdkProjectionSpans: swiftSdkProjectionSpans2
45523
45736
  } = await Promise.resolve().then(() => (init_swift_sdk_app_module(), swift_sdk_app_module_exports));
45524
45737
  const project = options2.project;
45525
45738
  const work = project ? (0, import_node_fs60.mkdtempSync)(import_node_path58.default.join(directory2, "app-module-")) : import_node_path58.default.join(directory2, "app-module");
@@ -45541,7 +45754,28 @@ async function compileGuestLink(options2) {
45541
45754
  }
45542
45755
  const usage = readSwiftSdkUsage2(result.mapPath, options2.output, sdkObjectKeys);
45543
45756
  const linkedModule = import_node_path58.default.join(work, "app.wasm");
45757
+ const sdkSpans = swiftSdkProjectionSpans2(
45758
+ sdk2,
45759
+ (object7, product) => sdkObjectImages.get(object7) ?? sdkProductImages.get(product)
45760
+ );
45544
45761
  let storage = reserved2;
45762
+ if (sdkSpans.length > 0) {
45763
+ const sdkCounts = guestProjectionRegionCounts(storage.images.length, sdkSpans);
45764
+ storage = reserveGuestProjectionStorage(
45765
+ storage.images,
45766
+ storage.capacities.map((capacity, index) => ({
45767
+ ...capacity,
45768
+ regions: capacity.regions + sdkCounts[index] + 16
45769
+ }))
45770
+ );
45771
+ const projectionSource = import_node_path58.default.join(work, "projection.c");
45772
+ (0, import_node_fs60.writeFileSync)(projectionSource, storage.source);
45773
+ (0, import_node_child_process33.execFileSync)(
45774
+ import_node_path58.default.join(options2.toolchainBin, "clang"),
45775
+ [...clangOptions, "-c", projectionSource, "-o", projectionObject],
45776
+ { stdio: "pipe" }
45777
+ );
45778
+ }
45545
45779
  for (; ; ) {
45546
45780
  const link = await linkSwiftAppModule2({
45547
45781
  objects: [...owners.keys()],
@@ -45579,11 +45813,7 @@ async function compileGuestLink(options2) {
45579
45813
  bindingRows.set((address - values.address) / 8, value);
45580
45814
  } else data.push(address, size2, value);
45581
45815
  }
45582
- const sdkSpans = [];
45583
- const binding = createSwiftSdkBinding2({ ...link.linkage, data }, sdk2, usage, {
45584
- imageFor: (object7, product) => sdkObjectImages.get(object7) ?? sdkProductImages.get(product),
45585
- spans: sdkSpans
45586
- });
45816
+ const binding = createSwiftSdkBinding2({ ...link.linkage, data }, sdk2, usage);
45587
45817
  const linked = (0, import_node_fs60.readFileSync)(
45588
45818
  project ? projectOutputFile(work, linkedModule, project) : linkedModule
45589
45819
  );
@@ -53120,7 +53350,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
53120
53350
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
53121
53351
  MULTI_MANIFEST_VERSION = 76;
53122
53352
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
53123
- compilerSourceDigest = true ? "7b91fa4405159335b5484c82700e001e4c27abf15621b724ea8af4edea693f66" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
53353
+ compilerSourceDigest = true ? "d4cf22b53d08266bf9bd0238bffe899805f62daeb3d628664ee351830e496cda" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
53124
53354
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
53125
53355
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
53126
53356
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2590 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2591 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;