peachsim 0.1.2400 → 0.1.2401
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/cli/bin.ts +1 -1
- package/cli/catalog/content.ts +520 -0
- package/cli/catalog/index.ts +4 -0
- package/cli/catalog/meta.ts +3881 -0
- package/cli/catalog/renderers.ts +659 -0
- package/cli/catalog/routes.ts +237 -0
- package/cli/catalog/types.ts +96 -0
- package/cli/commands/inspect.ts +3 -3
- package/cli/commands/record.ts +1 -1
- package/cli/dev-build-freshness.ts +1 -0
- package/cli/help-core.ts +6 -6
- package/cli/hidden-runtime-alias.ts +1 -1
- package/cli/parse-args.ts +1 -1
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +32 -32
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +31 -31
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +32 -32
- package/dist-lib/host/fetch-proxy-handler.cjs +43 -40
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +47 -44
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +52 -49
- package/dist-lib/native-app-identity-project.cjs +22 -19
- package/dist-lib/native-app-identity-project.mjs +4 -3
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +59 -59
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +47 -47
- package/dist-lib/swift-compile.cjs +28 -30
- package/dist-lib/swift-compile.mjs +24 -26
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +29 -31
- package/dist-lib/vite.cjs +38 -35
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/kotlin/toolchain.json +2 -2
- package/package.json +1 -3
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKState.h +78 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKStateMachine.h +69 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.apinotes +269 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.h +15 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKitBase.h +38 -0
- package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Modules/module.modulemap +6 -0
- package/src/wasm-optimize.ts +23 -24
- package/src/worklets-babel.ts +2 -6
- package/cli/registry.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
|
@@ -56543,7 +56543,7 @@ var init_wasm_narrow_boundary = __esm({
|
|
|
56543
56543
|
async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
|
|
56544
56544
|
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
56545
56545
|
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
56546
|
-
const environment = { ...process.env
|
|
56546
|
+
const environment = { ...process.env };
|
|
56547
56547
|
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
56548
56548
|
environment.BINARYEN_CORES = String(
|
|
56549
56549
|
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
@@ -56557,7 +56557,7 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
|
|
|
56557
56557
|
const thunks = `${output2}.thunks.wat`;
|
|
56558
56558
|
(0, import_node_fs52.writeFileSync)(guest, narrowed.module);
|
|
56559
56559
|
(0, import_node_fs52.writeFileSync)(thunks, narrowed.thunks);
|
|
56560
|
-
await (
|
|
56560
|
+
await runBinaryen(
|
|
56561
56561
|
(0, import_node_path49.join)((0, import_node_path49.dirname)(binary2), "wasm-merge"),
|
|
56562
56562
|
[
|
|
56563
56563
|
...features,
|
|
@@ -56575,39 +56575,39 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
|
|
|
56575
56575
|
(0, import_node_fs52.rmSync)(guest);
|
|
56576
56576
|
(0, import_node_fs52.rmSync)(thunks);
|
|
56577
56577
|
}
|
|
56578
|
-
|
|
56579
|
-
|
|
56580
|
-
|
|
56581
|
-
|
|
56582
|
-
|
|
56583
|
-
|
|
56584
|
-
|
|
56585
|
-
|
|
56586
|
-
|
|
56587
|
-
|
|
56588
|
-
|
|
56589
|
-
|
|
56590
|
-
|
|
56591
|
-
|
|
56592
|
-
|
|
56593
|
-
|
|
56578
|
+
try {
|
|
56579
|
+
await runBinaryen(
|
|
56580
|
+
binary2,
|
|
56581
|
+
[
|
|
56582
|
+
...LOWERING,
|
|
56583
|
+
...optimize ? ["-Oz"] : [],
|
|
56584
|
+
...names,
|
|
56585
|
+
...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
|
|
56586
|
+
...features,
|
|
56587
|
+
narrowed ? merged : file,
|
|
56588
|
+
"-o",
|
|
56589
|
+
output2
|
|
56590
|
+
],
|
|
56591
|
+
{ env: environment, maxBuffer: Infinity }
|
|
56592
|
+
);
|
|
56593
|
+
} finally {
|
|
56594
|
+
if (narrowed) (0, import_node_fs52.rmSync)(merged);
|
|
56595
|
+
}
|
|
56594
56596
|
}
|
|
56595
56597
|
async function installWasmOpt() {
|
|
56596
|
-
if (import_wasm_opt.BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
|
|
56597
|
-
throw new Error("the Binaryen release pins must match the wasm-opt package");
|
|
56598
56598
|
const platform2 = `${process.platform}-${process.arch}`;
|
|
56599
56599
|
const release = BINARYEN_RELEASES.get(platform2);
|
|
56600
56600
|
if (!release) throw new Error(`no pinned Binaryen release for ${platform2}`);
|
|
56601
|
-
const destDir = (0, import_node_path49.join)(rnxHomeDir(), "tools", "binaryen",
|
|
56601
|
+
const destDir = (0, import_node_path49.join)(rnxHomeDir(), "tools", "binaryen", BINARYEN_VERSION, platform2);
|
|
56602
56602
|
const binary2 = (0, import_node_path49.join)(destDir, "bin", "wasm-opt");
|
|
56603
56603
|
if (!(0, import_node_fs52.existsSync)(binary2))
|
|
56604
56604
|
await installVerifiedTarball({
|
|
56605
|
-
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${
|
|
56605
|
+
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-${release.asset}.tar.gz`,
|
|
56606
56606
|
digest: { algorithm: "sha256", encoding: "hex", value: release.sha256 },
|
|
56607
56607
|
destDir,
|
|
56608
56608
|
installedMarker: "bin/wasm-opt",
|
|
56609
56609
|
stripComponents: 1,
|
|
56610
|
-
label: `Binaryen ${
|
|
56610
|
+
label: `Binaryen ${BINARYEN_VERSION}`
|
|
56611
56611
|
});
|
|
56612
56612
|
return binary2;
|
|
56613
56613
|
}
|
|
@@ -56620,7 +56620,7 @@ async function lowerWasm(file, output2, options) {
|
|
|
56620
56620
|
await installWasmOpt()
|
|
56621
56621
|
);
|
|
56622
56622
|
}
|
|
56623
|
-
var import_node_child_process29, import_node_fs52, import_node_path49, import_node_util5,
|
|
56623
|
+
var import_node_child_process29, import_node_fs52, import_node_path49, import_node_util5, FEATURES, KEEP_WASM_NAMES, LOWERING, BINARYEN_VERSION, runBinaryen, WASM_LOWER_IDENTITY, BINARYEN_RELEASES;
|
|
56624
56624
|
var init_wasm_optimize = __esm({
|
|
56625
56625
|
"src/wasm-optimize.ts"() {
|
|
56626
56626
|
"use strict";
|
|
@@ -56629,7 +56629,6 @@ var init_wasm_optimize = __esm({
|
|
|
56629
56629
|
import_node_path49 = require("node:path");
|
|
56630
56630
|
import_node_util5 = require("node:util");
|
|
56631
56631
|
init_src();
|
|
56632
|
-
import_wasm_opt = require("wasm-opt");
|
|
56633
56632
|
init_admitted_mac_build();
|
|
56634
56633
|
init_home_paths();
|
|
56635
56634
|
init_wasm_narrow_boundary();
|
|
@@ -56648,8 +56647,9 @@ var init_wasm_optimize = __esm({
|
|
|
56648
56647
|
];
|
|
56649
56648
|
KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
56650
56649
|
LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
56651
|
-
|
|
56652
|
-
|
|
56650
|
+
BINARYEN_VERSION = "132";
|
|
56651
|
+
runBinaryen = (0, import_node_util5.promisify)(import_node_child_process29.execFile);
|
|
56652
|
+
WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
56653
56653
|
BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
56654
56654
|
[
|
|
56655
56655
|
"linux-x64",
|
|
@@ -63220,7 +63220,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
63220
63220
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
63221
63221
|
MULTI_MANIFEST_VERSION = 69;
|
|
63222
63222
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
63223
|
-
compilerSourceDigest = true ? "
|
|
63223
|
+
compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
63224
63224
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
63225
63225
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
63226
63226
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -69951,7 +69951,7 @@ var init_swift_standin_digest = __esm({
|
|
|
69951
69951
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
69952
69952
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
69953
69953
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
69954
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
69954
|
+
STANDIN_SOURCE_DIGEST = true ? "452e58b6d6a9ad1b373b2d6df2ddb32802505c8bd43da19f49858f006a4f0464" : standinSourceDigest();
|
|
69955
69955
|
}
|
|
69956
69956
|
});
|
|
69957
69957
|
|
|
@@ -70446,7 +70446,7 @@ __export(expo_native_prebuilt_exports, {
|
|
|
70446
70446
|
servedExpoSwift: () => servedExpoSwift
|
|
70447
70447
|
});
|
|
70448
70448
|
function expoNativeCompilerDigestValue() {
|
|
70449
|
-
return true ? "
|
|
70449
|
+
return true ? "a9ec5c8c45c8fd26c4fc913361bf75fe125d800f96d12f8b2a0662dba43eaa08" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
70450
70450
|
}
|
|
70451
70451
|
function readSources(value) {
|
|
70452
70452
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -93267,7 +93267,7 @@ var init_nitro_superset = __esm({
|
|
|
93267
93267
|
init_nitroContract();
|
|
93268
93268
|
init_swift_standin_digest();
|
|
93269
93269
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
93270
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
93270
|
+
NITRO_COMPILER_DIGEST = true ? "0ee082c55c7987b7a437615cb187f9688fc9c6f93887dab00cf2566a462c1b27" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
93271
93271
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
93272
93272
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
93273
93273
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -117226,14 +117226,14 @@ var init_beta = __esm({
|
|
|
117226
117226
|
}
|
|
117227
117227
|
});
|
|
117228
117228
|
|
|
117229
|
-
//
|
|
117229
|
+
// cli/catalog/types.ts
|
|
117230
117230
|
var init_types = __esm({
|
|
117231
|
-
"
|
|
117231
|
+
"cli/catalog/types.ts"() {
|
|
117232
117232
|
"use strict";
|
|
117233
117233
|
}
|
|
117234
117234
|
});
|
|
117235
117235
|
|
|
117236
|
-
//
|
|
117236
|
+
// cli/catalog/meta.ts
|
|
117237
117237
|
function option(flag, description, hidden) {
|
|
117238
117238
|
return hidden ? { flag, description, hidden } : { flag, description };
|
|
117239
117239
|
}
|
|
@@ -117248,7 +117248,7 @@ function inspectVerbPathKey(group, verb2) {
|
|
|
117248
117248
|
}
|
|
117249
117249
|
var REDACT_OPTION, cliCommandMetas, cliCommandMetaById, cliCommandMetaByName, cliInspectVerbMetas, cliInspectVerbMetasByVerb, cliInspectVerbMetaByPath, cliInspectVerbMetaByVerb;
|
|
117250
117250
|
var init_meta = __esm({
|
|
117251
|
-
"
|
|
117251
|
+
"cli/catalog/meta.ts"() {
|
|
117252
117252
|
"use strict";
|
|
117253
117253
|
REDACT_OPTION = option(
|
|
117254
117254
|
"--redact",
|
|
@@ -120956,32 +120956,32 @@ var init_meta = __esm({
|
|
|
120956
120956
|
}
|
|
120957
120957
|
});
|
|
120958
120958
|
|
|
120959
|
-
//
|
|
120959
|
+
// cli/catalog/routes.ts
|
|
120960
120960
|
var init_routes = __esm({
|
|
120961
|
-
"
|
|
120961
|
+
"cli/catalog/routes.ts"() {
|
|
120962
120962
|
"use strict";
|
|
120963
120963
|
}
|
|
120964
120964
|
});
|
|
120965
120965
|
|
|
120966
|
-
//
|
|
120966
|
+
// cli/catalog/content.ts
|
|
120967
120967
|
var init_content = __esm({
|
|
120968
|
-
"
|
|
120968
|
+
"cli/catalog/content.ts"() {
|
|
120969
120969
|
"use strict";
|
|
120970
120970
|
}
|
|
120971
120971
|
});
|
|
120972
120972
|
|
|
120973
|
-
//
|
|
120973
|
+
// cli/catalog/renderers.ts
|
|
120974
120974
|
var init_renderers = __esm({
|
|
120975
|
-
"
|
|
120975
|
+
"cli/catalog/renderers.ts"() {
|
|
120976
120976
|
"use strict";
|
|
120977
120977
|
init_content();
|
|
120978
120978
|
init_meta();
|
|
120979
120979
|
}
|
|
120980
120980
|
});
|
|
120981
120981
|
|
|
120982
|
-
//
|
|
120983
|
-
var
|
|
120984
|
-
"
|
|
120982
|
+
// cli/catalog/index.ts
|
|
120983
|
+
var init_catalog = __esm({
|
|
120984
|
+
"cli/catalog/index.ts"() {
|
|
120985
120985
|
"use strict";
|
|
120986
120986
|
init_types();
|
|
120987
120987
|
init_meta();
|
|
@@ -120994,9 +120994,9 @@ var init_cli = __esm({
|
|
|
120994
120994
|
var init_help_core = __esm({
|
|
120995
120995
|
"cli/help-core.ts"() {
|
|
120996
120996
|
"use strict";
|
|
120997
|
-
init_cli();
|
|
120998
|
-
init_renderers();
|
|
120999
120997
|
init_bridge_constants();
|
|
120998
|
+
init_catalog();
|
|
120999
|
+
init_renderers();
|
|
121000
121000
|
init_command_registry();
|
|
121001
121001
|
}
|
|
121002
121002
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
|
@@ -10961,9 +10961,6 @@ async function runExtractor(command, args, signal, input) {
|
|
|
10961
10961
|
}
|
|
10962
10962
|
}
|
|
10963
10963
|
|
|
10964
|
-
// src/wasm-optimize.ts
|
|
10965
|
-
var import_wasm_opt = require("wasm-opt");
|
|
10966
|
-
|
|
10967
10964
|
// src/home-paths.ts
|
|
10968
10965
|
var import_node_os6 = require("node:os");
|
|
10969
10966
|
var import_node_path17 = __toESM(require("node:path"), 1);
|
|
@@ -11228,8 +11225,9 @@ var FEATURES = [
|
|
|
11228
11225
|
];
|
|
11229
11226
|
var KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
11230
11227
|
var LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
11231
|
-
var
|
|
11232
|
-
var
|
|
11228
|
+
var BINARYEN_VERSION = "132";
|
|
11229
|
+
var runBinaryen = (0, import_node_util.promisify)(import_node_child_process13.execFile);
|
|
11230
|
+
var WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
11233
11231
|
var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
11234
11232
|
[
|
|
11235
11233
|
"linux-x64",
|
|
@@ -11256,7 +11254,7 @@ var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
|
11256
11254
|
async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
11257
11255
|
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
11258
11256
|
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
11259
|
-
const environment = { ...process.env
|
|
11257
|
+
const environment = { ...process.env };
|
|
11260
11258
|
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
11261
11259
|
environment.BINARYEN_CORES = String(
|
|
11262
11260
|
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
@@ -11270,7 +11268,7 @@ async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
|
11270
11268
|
const thunks = `${output}.thunks.wat`;
|
|
11271
11269
|
(0, import_node_fs17.writeFileSync)(guest, narrowed.module);
|
|
11272
11270
|
(0, import_node_fs17.writeFileSync)(thunks, narrowed.thunks);
|
|
11273
|
-
await (
|
|
11271
|
+
await runBinaryen(
|
|
11274
11272
|
(0, import_node_path18.join)((0, import_node_path18.dirname)(binary), "wasm-merge"),
|
|
11275
11273
|
[
|
|
11276
11274
|
...features,
|
|
@@ -11288,39 +11286,39 @@ async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
|
11288
11286
|
(0, import_node_fs17.rmSync)(guest);
|
|
11289
11287
|
(0, import_node_fs17.rmSync)(thunks);
|
|
11290
11288
|
}
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
|
-
|
|
11296
|
-
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
|
-
|
|
11300
|
-
|
|
11301
|
-
|
|
11302
|
-
|
|
11303
|
-
|
|
11304
|
-
|
|
11305
|
-
|
|
11306
|
-
|
|
11289
|
+
try {
|
|
11290
|
+
await runBinaryen(
|
|
11291
|
+
binary,
|
|
11292
|
+
[
|
|
11293
|
+
...LOWERING,
|
|
11294
|
+
...optimize ? ["-Oz"] : [],
|
|
11295
|
+
...names,
|
|
11296
|
+
...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
|
|
11297
|
+
...features,
|
|
11298
|
+
narrowed ? merged : file,
|
|
11299
|
+
"-o",
|
|
11300
|
+
output
|
|
11301
|
+
],
|
|
11302
|
+
{ env: environment, maxBuffer: Infinity }
|
|
11303
|
+
);
|
|
11304
|
+
} finally {
|
|
11305
|
+
if (narrowed) (0, import_node_fs17.rmSync)(merged);
|
|
11306
|
+
}
|
|
11307
11307
|
}
|
|
11308
11308
|
async function installWasmOpt() {
|
|
11309
|
-
if (import_wasm_opt.BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
|
|
11310
|
-
throw new Error("the Binaryen release pins must match the wasm-opt package");
|
|
11311
11309
|
const platform = `${process.platform}-${process.arch}`;
|
|
11312
11310
|
const release = BINARYEN_RELEASES.get(platform);
|
|
11313
11311
|
if (!release) throw new Error(`no pinned Binaryen release for ${platform}`);
|
|
11314
|
-
const destDir = (0, import_node_path18.join)(rnxHomeDir(), "tools", "binaryen",
|
|
11312
|
+
const destDir = (0, import_node_path18.join)(rnxHomeDir(), "tools", "binaryen", BINARYEN_VERSION, platform);
|
|
11315
11313
|
const binary = (0, import_node_path18.join)(destDir, "bin", "wasm-opt");
|
|
11316
11314
|
if (!(0, import_node_fs17.existsSync)(binary))
|
|
11317
11315
|
await installVerifiedTarball({
|
|
11318
|
-
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${
|
|
11316
|
+
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-${release.asset}.tar.gz`,
|
|
11319
11317
|
digest: { algorithm: "sha256", encoding: "hex", value: release.sha256 },
|
|
11320
11318
|
destDir,
|
|
11321
11319
|
installedMarker: "bin/wasm-opt",
|
|
11322
11320
|
stripComponents: 1,
|
|
11323
|
-
label: `Binaryen ${
|
|
11321
|
+
label: `Binaryen ${BINARYEN_VERSION}`
|
|
11324
11322
|
});
|
|
11325
11323
|
return binary;
|
|
11326
11324
|
}
|
|
@@ -13762,7 +13760,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13762
13760
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13763
13761
|
var MULTI_MANIFEST_VERSION = 69;
|
|
13764
13762
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13765
|
-
var compilerSourceDigest = true ? "
|
|
13763
|
+
var compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
13766
13764
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13767
13765
|
const hash = (0, import_node_crypto14.createHash)("sha256");
|
|
13768
13766
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
@@ -10921,9 +10921,6 @@ async function runExtractor(command, args, signal, input) {
|
|
|
10921
10921
|
}
|
|
10922
10922
|
}
|
|
10923
10923
|
|
|
10924
|
-
// src/wasm-optimize.ts
|
|
10925
|
-
import { BINARYEN_VERSION, wasmOpt } from "wasm-opt";
|
|
10926
|
-
|
|
10927
10924
|
// src/home-paths.ts
|
|
10928
10925
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
10929
10926
|
import fs9 from "node:fs";
|
|
@@ -11190,8 +11187,9 @@ var FEATURES = [
|
|
|
11190
11187
|
];
|
|
11191
11188
|
var KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
11192
11189
|
var LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
11190
|
+
var BINARYEN_VERSION = "132";
|
|
11191
|
+
var runBinaryen = promisify2(execFile2);
|
|
11193
11192
|
var WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
11194
|
-
var PINNED_BINARYEN_VERSION = "132";
|
|
11195
11193
|
var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
11196
11194
|
[
|
|
11197
11195
|
"linux-x64",
|
|
@@ -11218,7 +11216,7 @@ var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
|
11218
11216
|
async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
11219
11217
|
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
11220
11218
|
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
11221
|
-
const environment = { ...process.env
|
|
11219
|
+
const environment = { ...process.env };
|
|
11222
11220
|
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
11223
11221
|
environment.BINARYEN_CORES = String(
|
|
11224
11222
|
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
@@ -11232,7 +11230,7 @@ async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
|
11232
11230
|
const thunks = `${output}.thunks.wat`;
|
|
11233
11231
|
writeFileSync5(guest, narrowed.module);
|
|
11234
11232
|
writeFileSync5(thunks, narrowed.thunks);
|
|
11235
|
-
await
|
|
11233
|
+
await runBinaryen(
|
|
11236
11234
|
join2(dirname(binary), "wasm-merge"),
|
|
11237
11235
|
[
|
|
11238
11236
|
...features,
|
|
@@ -11250,26 +11248,26 @@ async function runWasmOpt(file, output, optimize, skipPasses, binary) {
|
|
|
11250
11248
|
rmSync4(guest);
|
|
11251
11249
|
rmSync4(thunks);
|
|
11252
11250
|
}
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
|
-
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
|
|
11262
|
-
|
|
11263
|
-
|
|
11264
|
-
|
|
11265
|
-
|
|
11266
|
-
|
|
11267
|
-
|
|
11268
|
-
|
|
11251
|
+
try {
|
|
11252
|
+
await runBinaryen(
|
|
11253
|
+
binary,
|
|
11254
|
+
[
|
|
11255
|
+
...LOWERING,
|
|
11256
|
+
...optimize ? ["-Oz"] : [],
|
|
11257
|
+
...names,
|
|
11258
|
+
...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
|
|
11259
|
+
...features,
|
|
11260
|
+
narrowed ? merged : file,
|
|
11261
|
+
"-o",
|
|
11262
|
+
output
|
|
11263
|
+
],
|
|
11264
|
+
{ env: environment, maxBuffer: Infinity }
|
|
11265
|
+
);
|
|
11266
|
+
} finally {
|
|
11267
|
+
if (narrowed) rmSync4(merged);
|
|
11268
|
+
}
|
|
11269
11269
|
}
|
|
11270
11270
|
async function installWasmOpt() {
|
|
11271
|
-
if (BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
|
|
11272
|
-
throw new Error("the Binaryen release pins must match the wasm-opt package");
|
|
11273
11271
|
const platform = `${process.platform}-${process.arch}`;
|
|
11274
11272
|
const release = BINARYEN_RELEASES.get(platform);
|
|
11275
11273
|
if (!release) throw new Error(`no pinned Binaryen release for ${platform}`);
|
|
@@ -13750,7 +13748,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13750
13748
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13751
13749
|
var MULTI_MANIFEST_VERSION = 69;
|
|
13752
13750
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13753
|
-
var compilerSourceDigest = true ? "
|
|
13751
|
+
var compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
13754
13752
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13755
13753
|
const hash = createHash14("sha256");
|
|
13756
13754
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2401 | (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;
|
|
@@ -16028,9 +16028,6 @@ async function runExtractor(command, args, signal, input) {
|
|
|
16028
16028
|
}
|
|
16029
16029
|
}
|
|
16030
16030
|
|
|
16031
|
-
// src/wasm-optimize.ts
|
|
16032
|
-
var import_wasm_opt = require("wasm-opt");
|
|
16033
|
-
|
|
16034
16031
|
// src/home-paths.ts
|
|
16035
16032
|
var import_node_fs19 = __toESM(require("node:fs"), 1);
|
|
16036
16033
|
var import_node_os6 = require("node:os");
|
|
@@ -16317,8 +16314,9 @@ var FEATURES = [
|
|
|
16317
16314
|
];
|
|
16318
16315
|
var KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
16319
16316
|
var LOWERING = ["--memory64-lowering", "--table64-lowering"];
|
|
16320
|
-
var
|
|
16321
|
-
var
|
|
16317
|
+
var BINARYEN_VERSION = "132";
|
|
16318
|
+
var runBinaryen = (0, import_node_util2.promisify)(import_node_child_process14.execFile);
|
|
16319
|
+
var WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
|
|
16322
16320
|
var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
16323
16321
|
[
|
|
16324
16322
|
"linux-x64",
|
|
@@ -16345,7 +16343,7 @@ var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
|
16345
16343
|
async function runWasmOpt(file, output2, optimize, skipPasses, binary) {
|
|
16346
16344
|
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
16347
16345
|
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
16348
|
-
const environment = { ...process.env
|
|
16346
|
+
const environment = { ...process.env };
|
|
16349
16347
|
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
16350
16348
|
environment.BINARYEN_CORES = String(
|
|
16351
16349
|
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
@@ -16359,7 +16357,7 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary) {
|
|
|
16359
16357
|
const thunks = `${output2}.thunks.wat`;
|
|
16360
16358
|
(0, import_node_fs20.writeFileSync)(guest, narrowed.module);
|
|
16361
16359
|
(0, import_node_fs20.writeFileSync)(thunks, narrowed.thunks);
|
|
16362
|
-
await (
|
|
16360
|
+
await runBinaryen(
|
|
16363
16361
|
(0, import_node_path20.join)((0, import_node_path20.dirname)(binary), "wasm-merge"),
|
|
16364
16362
|
[
|
|
16365
16363
|
...features,
|
|
@@ -16377,39 +16375,39 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary) {
|
|
|
16377
16375
|
(0, import_node_fs20.rmSync)(guest);
|
|
16378
16376
|
(0, import_node_fs20.rmSync)(thunks);
|
|
16379
16377
|
}
|
|
16380
|
-
|
|
16381
|
-
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
|
|
16390
|
-
|
|
16391
|
-
|
|
16392
|
-
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16378
|
+
try {
|
|
16379
|
+
await runBinaryen(
|
|
16380
|
+
binary,
|
|
16381
|
+
[
|
|
16382
|
+
...LOWERING,
|
|
16383
|
+
...optimize ? ["-Oz"] : [],
|
|
16384
|
+
...names,
|
|
16385
|
+
...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
|
|
16386
|
+
...features,
|
|
16387
|
+
narrowed ? merged : file,
|
|
16388
|
+
"-o",
|
|
16389
|
+
output2
|
|
16390
|
+
],
|
|
16391
|
+
{ env: environment, maxBuffer: Infinity }
|
|
16392
|
+
);
|
|
16393
|
+
} finally {
|
|
16394
|
+
if (narrowed) (0, import_node_fs20.rmSync)(merged);
|
|
16395
|
+
}
|
|
16396
16396
|
}
|
|
16397
16397
|
async function installWasmOpt() {
|
|
16398
|
-
if (import_wasm_opt.BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
|
|
16399
|
-
throw new Error("the Binaryen release pins must match the wasm-opt package");
|
|
16400
16398
|
const platform = `${process.platform}-${process.arch}`;
|
|
16401
16399
|
const release = BINARYEN_RELEASES.get(platform);
|
|
16402
16400
|
if (!release) throw new Error(`no pinned Binaryen release for ${platform}`);
|
|
16403
|
-
const destDir = (0, import_node_path20.join)(rnxHomeDir(), "tools", "binaryen",
|
|
16401
|
+
const destDir = (0, import_node_path20.join)(rnxHomeDir(), "tools", "binaryen", BINARYEN_VERSION, platform);
|
|
16404
16402
|
const binary = (0, import_node_path20.join)(destDir, "bin", "wasm-opt");
|
|
16405
16403
|
if (!(0, import_node_fs20.existsSync)(binary))
|
|
16406
16404
|
await installVerifiedTarball({
|
|
16407
|
-
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${
|
|
16405
|
+
url: `https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-${release.asset}.tar.gz`,
|
|
16408
16406
|
digest: { algorithm: "sha256", encoding: "hex", value: release.sha256 },
|
|
16409
16407
|
destDir,
|
|
16410
16408
|
installedMarker: "bin/wasm-opt",
|
|
16411
16409
|
stripComponents: 1,
|
|
16412
|
-
label: `Binaryen ${
|
|
16410
|
+
label: `Binaryen ${BINARYEN_VERSION}`
|
|
16413
16411
|
});
|
|
16414
16412
|
return binary;
|
|
16415
16413
|
}
|
|
@@ -18677,7 +18675,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
18677
18675
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
18678
18676
|
var MULTI_MANIFEST_VERSION = 69;
|
|
18679
18677
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
18680
|
-
var compilerSourceDigest = true ? "
|
|
18678
|
+
var compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
18681
18679
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
18682
18680
|
const hash = (0, import_node_crypto14.createHash)("sha256");
|
|
18683
18681
|
hash.update(`swift-compile
|
|
@@ -34141,7 +34139,7 @@ function sourceClosureDigest(srcDir, entrypoints, excludedFiles) {
|
|
|
34141
34139
|
return hash.digest("hex");
|
|
34142
34140
|
}
|
|
34143
34141
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
34144
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
34142
|
+
var STANDIN_SOURCE_DIGEST = true ? "452e58b6d6a9ad1b373b2d6df2ddb32802505c8bd43da19f49858f006a4f0464" : standinSourceDigest();
|
|
34145
34143
|
|
|
34146
34144
|
// src/swift-standins.ts
|
|
34147
34145
|
var import_node_child_process32 = require("node:child_process");
|