peachsim 0.1.2561 → 0.1.2562
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +52 -12
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-Y2S2LXLT.mjs → acorn-Q22M6WOR.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-35NYB6LV.mjs → chunk-2SO2C5FV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-H3GKQG6A.mjs → chunk-36FHDERF.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-4PPL3O7Y.mjs → chunk-A4JEVAJE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-A72652JO.mjs → chunk-AM4K5S4B.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WKZCKZXF.mjs → chunk-BHYC2MNS.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-WECAJVNN.mjs → chunk-CNAMYVUQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CPL4BXG5.mjs → chunk-GKMAR3UN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4YW6XCTY.mjs → chunk-GZISBWKM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Z3RYFNYV.mjs → chunk-HJZRIROU.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-PPGG2RHY.mjs → chunk-JKZVLPH3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XGA73PQN.mjs → chunk-MNFZO6P7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YSTT7VR7.mjs → chunk-ONETXZWG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OODKPIA2.mjs → chunk-PDHKRXLR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7IITPVQA.mjs → chunk-PLJGPUCK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PAVV4OTD.mjs → chunk-QAR3QLGG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D3BIUZPZ.mjs → chunk-QN6HZZRJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EC66AKCC.mjs → chunk-SCRYU7HQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BBQNMMDP.mjs → chunk-UESWZZED.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-QWP3NMNA.mjs → chunk-VOOX3EIF.mjs} +59 -19
- package/dist-lib/esm-chunks/{chunk-FFE4PHHU.mjs → chunk-XGXCADRS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SGKTKV7R.mjs → chunk-YHV5ITC4.mjs} +5 -5
- package/dist-lib/esm-chunks/{metro-layout-parser-S5YRM2N7.mjs → metro-layout-parser-6NROM3NC.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-5ZPMLU6X.mjs → swift-package-prebuilt-4SGKMCEQ.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-6Y5WESVQ.mjs → swift-sdk-app-module-K2BBOWB3.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-HOIAOANO.mjs → swift-sdk-image-2OORMZCP.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-PTR7MJ5Q.mjs → swift-sdk-image-producer-XQ3KW7BR.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +50 -10
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +52 -12
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +79 -79
- package/dist-lib/public-origins-lib.json +69 -69
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- 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 +7 -7
- package/dist-lib/skills.cjs +52 -12
- package/dist-lib/swift-compile.cjs +48 -8
- package/dist-lib/swift-compile.mjs +10 -10
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +5 -5
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/preview/upload-protocol.d.ts +1 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/swift-compile.ts +54 -8
- package/src/swiftContract.ts +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_AUTOLINK_LINKER,
|
|
4
4
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
windowAdmission,
|
|
19
19
|
withSwiftRootLock,
|
|
20
20
|
writeSwiftAutolinkLinker
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PDHKRXLR.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SWIFT_BINARY_TREES_DIR,
|
|
24
24
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isSwiftResourcePath,
|
|
34
34
|
isSwiftSourceLinkGraph,
|
|
35
35
|
swiftProjectFilesProblems
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-AM4K5S4B.mjs";
|
|
37
37
|
import {
|
|
38
38
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
39
39
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -57,16 +57,16 @@ import {
|
|
|
57
57
|
swiftPackagePartition,
|
|
58
58
|
swiftTargetModuleName,
|
|
59
59
|
withoutGlogModuleMap
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-SCRYU7HQ.mjs";
|
|
61
61
|
import {
|
|
62
62
|
rnxPublicBrand
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QAR3QLGG.mjs";
|
|
64
64
|
import {
|
|
65
65
|
isRecord
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-GZISBWKM.mjs";
|
|
67
67
|
import {
|
|
68
68
|
__publicField
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-JKZVLPH3.mjs";
|
|
70
70
|
|
|
71
71
|
// src/swift-compile.ts
|
|
72
72
|
import {
|
|
@@ -13486,7 +13486,7 @@ async function compileGuestLink(options) {
|
|
|
13486
13486
|
};
|
|
13487
13487
|
const sdk = options.sdkImage;
|
|
13488
13488
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
13489
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
13489
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-2OORMZCP.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
13490
13490
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
13491
13491
|
throw new Error("the SDK image has no guest link manifest");
|
|
13492
13492
|
const result = linkPrunedGuestImages({
|
|
@@ -13773,7 +13773,7 @@ async function compileGuestLink(options) {
|
|
|
13773
13773
|
finishSwiftAppModule,
|
|
13774
13774
|
linkSwiftAppModule,
|
|
13775
13775
|
readSwiftSdkUsage
|
|
13776
|
-
} = await import("./swift-sdk-app-module-
|
|
13776
|
+
} = await import("./swift-sdk-app-module-K2BBOWB3.mjs");
|
|
13777
13777
|
const project = options.project;
|
|
13778
13778
|
const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
|
|
13779
13779
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -16284,7 +16284,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16284
16284
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16285
16285
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16286
16286
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16287
|
-
var compilerSourceDigest = true ? "
|
|
16287
|
+
var compilerSourceDigest = true ? "5b77b32ba9e1a5e77c9671faafe9ac0e7669eb9003445901ffff10b5a9b03550" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16288
16288
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16289
16289
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16290
16290
|
}
|
|
@@ -19956,16 +19956,54 @@ package.targets += [.target(name: ${JSON.stringify(name)}, dependencies: ${JSON.
|
|
|
19956
19956
|
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${level}`, producers2),
|
|
19957
19957
|
producers: producers2
|
|
19958
19958
|
}));
|
|
19959
|
-
const
|
|
19959
|
+
const earlyNativeTargets = [
|
|
19960
19960
|
.../* @__PURE__ */ new Set([
|
|
19961
19961
|
...input.staticClangTargets ?? [],
|
|
19962
|
-
...[...native].flatMap(
|
|
19963
|
-
|
|
19964
|
-
|
|
19965
|
-
|
|
19962
|
+
...[...native].flatMap(
|
|
19963
|
+
([name, plan]) => !plan.mixed && plan.sources.length > 0 ? [name] : []
|
|
19964
|
+
)
|
|
19965
|
+
])
|
|
19966
|
+
];
|
|
19967
|
+
const nativeBuildTargets = [
|
|
19968
|
+
.../* @__PURE__ */ new Set([
|
|
19969
|
+
...earlyNativeTargets,
|
|
19970
|
+
...[...native].flatMap(
|
|
19971
|
+
([, plan]) => plan.groups?.map((group) => group.name) ?? (plan.late ? [plan.late.name] : [])
|
|
19972
|
+
)
|
|
19966
19973
|
])
|
|
19967
19974
|
];
|
|
19968
|
-
|
|
19975
|
+
let nativePrerequisiteTargets = [];
|
|
19976
|
+
if (headerCompiler && earlyNativeTargets.length > 0) {
|
|
19977
|
+
const reachableFromProducers = /* @__PURE__ */ new Set();
|
|
19978
|
+
const visitReachable = (name) => {
|
|
19979
|
+
if (reachableFromProducers.has(name)) return;
|
|
19980
|
+
reachableFromProducers.add(name);
|
|
19981
|
+
for (const dependency of dependencies.get(name) ?? []) visitReachable(dependency);
|
|
19982
|
+
};
|
|
19983
|
+
for (const producer of orderedProducers) visitReachable(producer);
|
|
19984
|
+
const swiftDependent = /* @__PURE__ */ new Map();
|
|
19985
|
+
const reachesSwift = (name, seen = /* @__PURE__ */ new Set()) => {
|
|
19986
|
+
const cached = swiftDependent.get(name);
|
|
19987
|
+
if (cached !== void 0) return cached;
|
|
19988
|
+
if (seen.has(name)) return false;
|
|
19989
|
+
seen.add(name);
|
|
19990
|
+
const result = swiftTargets.has(name) || (dependencies.get(name) ?? []).some(
|
|
19991
|
+
(dependency) => reachesSwift(dependency, seen)
|
|
19992
|
+
);
|
|
19993
|
+
seen.delete(name);
|
|
19994
|
+
if (seen.size === 0) swiftDependent.set(name, result);
|
|
19995
|
+
return result;
|
|
19996
|
+
};
|
|
19997
|
+
nativePrerequisiteTargets = earlyNativeTargets.filter(
|
|
19998
|
+
(name) => reachableFromProducers.has(name) && !reachesSwift(name)
|
|
19999
|
+
);
|
|
20000
|
+
}
|
|
20001
|
+
const nativePrerequisiteSet = new Set(nativePrerequisiteTargets);
|
|
20002
|
+
const remainingNativeBuildTargets = nativeBuildTargets.filter(
|
|
20003
|
+
(name) => !nativePrerequisiteSet.has(name)
|
|
20004
|
+
);
|
|
20005
|
+
const nativePrerequisiteTarget = nativePrerequisiteTargets.length ? buildProduct("PeachHeaderNativePrereqs", nativePrerequisiteTargets) : void 0;
|
|
20006
|
+
const nativeProductTarget = remainingNativeBuildTargets.length ? buildProduct("PeachNativeProducts", remainingNativeBuildTargets) : void 0;
|
|
19969
20007
|
files.set(manifestPath, manifest);
|
|
19970
20008
|
syncSwiftTree(layout2.root, files);
|
|
19971
20009
|
if (layout2.multi)
|
|
@@ -19975,6 +20013,7 @@ package.targets += [.target(name: ${JSON.stringify(name)}, dependencies: ${JSON.
|
|
|
19975
20013
|
if (files.has(clangWrapper) && (statSync4(clangWrapper).mode & 4095) !== 493)
|
|
19976
20014
|
chmodSync3(clangWrapper, 493);
|
|
19977
20015
|
return {
|
|
20016
|
+
nativePrerequisiteTarget,
|
|
19978
20017
|
headerBuilds,
|
|
19979
20018
|
nativeHeaderDeclarations,
|
|
19980
20019
|
nativeProductTarget,
|
|
@@ -20843,7 +20882,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20843
20882
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20844
20883
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20845
20884
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20846
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20885
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-4SGKMCEQ.mjs")).useSwiftPackagePrebuilts(
|
|
20847
20886
|
sources,
|
|
20848
20887
|
moduleRoot,
|
|
20849
20888
|
options.toolchainBin
|
|
@@ -20857,7 +20896,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20857
20896
|
multi: compileTargets(input).length > 0
|
|
20858
20897
|
};
|
|
20859
20898
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
20860
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
20899
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-2OORMZCP.mjs")).buildSwiftSdkImage(
|
|
20861
20900
|
moduleRoot,
|
|
20862
20901
|
!!guestGraph,
|
|
20863
20902
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21330,6 +21369,7 @@ ${cap}` : "";
|
|
|
21330
21369
|
const runApp = async (compiler2) => {
|
|
21331
21370
|
const optionsWithCompiler = compiler2 ? { ...appOptions, env: { ...appOptions.env, ...compiler2 } } : appOptions;
|
|
21332
21371
|
const stages = [
|
|
21372
|
+
...preparation.nativePrerequisiteTarget ? [{ target: preparation.nativePrerequisiteTarget, producers: [] }] : [],
|
|
21333
21373
|
...preparation.headerBuilds,
|
|
21334
21374
|
...preparation.nativeProductTarget ? [{ target: preparation.nativeProductTarget, producers: [] }] : []
|
|
21335
21375
|
];
|
|
@@ -21507,7 +21547,7 @@ ${cap}` : "";
|
|
|
21507
21547
|
if (sdkImage && binding)
|
|
21508
21548
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21509
21549
|
} else if (sdkImage) {
|
|
21510
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21550
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-K2BBOWB3.mjs");
|
|
21511
21551
|
const binding = await buildSwiftAppModule({
|
|
21512
21552
|
buildRoot: root,
|
|
21513
21553
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-36FHDERF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DARWIN_RECORDS_PREFIX,
|
|
7
7
|
KEEP_WASM_NAMES,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
swiftSdkPaths,
|
|
32
32
|
unslottedFunctions,
|
|
33
33
|
wasmSections
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VOOX3EIF.mjs";
|
|
35
35
|
import {
|
|
36
36
|
SWIFT_WASM_TRIPLE,
|
|
37
37
|
sourceSwiftCheckout,
|
|
38
38
|
swiftCacheDir,
|
|
39
39
|
withSwiftRootLock
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-PDHKRXLR.mjs";
|
|
41
41
|
|
|
42
42
|
// src/swift-sdk-image.ts
|
|
43
43
|
import { execFile } from "node:child_process";
|
|
@@ -192,7 +192,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
192
192
|
const existing = cached(directory, key);
|
|
193
193
|
if (existing) return existing;
|
|
194
194
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
195
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
195
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-XQ3KW7BR.mjs");
|
|
196
196
|
await produceSwiftSdkImage({
|
|
197
197
|
moduleRoot,
|
|
198
198
|
key,
|
package/dist-lib/esm-chunks/{metro-layout-parser-S5YRM2N7.mjs → metro-layout-parser-6NROM3NC.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-JKZVLPH3.mjs";
|
|
3
3
|
|
|
4
4
|
// src/metro-layout-parser.ts
|
|
5
5
|
var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
|
|
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
|
|
|
8
8
|
var metroLayoutParser;
|
|
9
9
|
async function loadMetroLayoutParser() {
|
|
10
10
|
if (metroLayoutParser) return metroLayoutParser;
|
|
11
|
-
const { Parser } = await import("./acorn-
|
|
11
|
+
const { Parser } = await import("./acorn-Q22M6WOR.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
swiftAvailableModules,
|
|
7
7
|
swiftDistributionAt,
|
|
8
8
|
swiftImportNames
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-VOOX3EIF.mjs";
|
|
10
|
+
import "./chunk-PDHKRXLR.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AM4K5S4B.mjs";
|
|
14
14
|
import {
|
|
15
15
|
manifestCalls
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-SCRYU7HQ.mjs";
|
|
17
|
+
import "./chunk-ONETXZWG.mjs";
|
|
18
|
+
import "./chunk-QAR3QLGG.mjs";
|
|
19
|
+
import "./chunk-GKMAR3UN.mjs";
|
|
20
|
+
import "./chunk-GZISBWKM.mjs";
|
|
21
|
+
import "./chunk-JKZVLPH3.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-package-prebuilt.ts
|
|
24
24
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-6Y5WESVQ.mjs → swift-sdk-app-module-K2BBOWB3.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-YHV5ITC4.mjs";
|
|
9
|
+
import "./chunk-36FHDERF.mjs";
|
|
10
|
+
import "./chunk-MNFZO6P7.mjs";
|
|
11
11
|
import {
|
|
12
12
|
ADDEND_RELOCATIONS,
|
|
13
13
|
KEEP_WASM_NAMES,
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
wasmReader,
|
|
36
36
|
wasmSections,
|
|
37
37
|
writeWasmCustomSection
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-VOOX3EIF.mjs";
|
|
39
39
|
import {
|
|
40
40
|
SWIFT_WASM_TRIPLE
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-PDHKRXLR.mjs";
|
|
42
|
+
import "./chunk-AM4K5S4B.mjs";
|
|
43
|
+
import "./chunk-SCRYU7HQ.mjs";
|
|
44
|
+
import "./chunk-ONETXZWG.mjs";
|
|
45
|
+
import "./chunk-QAR3QLGG.mjs";
|
|
46
|
+
import "./chunk-GKMAR3UN.mjs";
|
|
47
|
+
import "./chunk-GZISBWKM.mjs";
|
|
48
|
+
import "./chunk-JKZVLPH3.mjs";
|
|
49
49
|
|
|
50
50
|
// src/swift-sdk-app-module.ts
|
|
51
51
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
swiftSdkImageFile,
|
|
16
16
|
swiftSdkImageKey,
|
|
17
17
|
swiftSdkImageProducts
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-YHV5ITC4.mjs";
|
|
19
|
+
import "./chunk-36FHDERF.mjs";
|
|
20
|
+
import "./chunk-MNFZO6P7.mjs";
|
|
21
|
+
import "./chunk-VOOX3EIF.mjs";
|
|
22
|
+
import "./chunk-PDHKRXLR.mjs";
|
|
23
|
+
import "./chunk-AM4K5S4B.mjs";
|
|
24
|
+
import "./chunk-SCRYU7HQ.mjs";
|
|
25
|
+
import "./chunk-ONETXZWG.mjs";
|
|
26
|
+
import "./chunk-QAR3QLGG.mjs";
|
|
27
|
+
import "./chunk-GKMAR3UN.mjs";
|
|
28
|
+
import "./chunk-GZISBWKM.mjs";
|
|
29
|
+
import "./chunk-JKZVLPH3.mjs";
|
|
30
30
|
export {
|
|
31
31
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
32
32
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftCacheDir,
|
|
4
4
|
windowAdmission,
|
|
5
5
|
withSwiftRootLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PDHKRXLR.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-GZISBWKM.mjs";
|
|
10
|
+
import "./chunk-JKZVLPH3.mjs";
|
|
11
11
|
|
|
12
12
|
// src/swift-sdk-image-producer.ts
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (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;
|
|
@@ -26242,13 +26242,13 @@ var init_swift_standin_digest = __esm({
|
|
|
26242
26242
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
26243
26243
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
26244
26244
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
26245
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
26245
|
+
STANDIN_SOURCE_DIGEST = true ? "011f6261bb9e287a79b39ffd6ca7c5bf1591a45ee9fc1487cde75cde7a7ccaef" : standinSourceDigest();
|
|
26246
26246
|
}
|
|
26247
26247
|
});
|
|
26248
26248
|
|
|
26249
26249
|
// src/expo-native-compiler-digest.ts
|
|
26250
26250
|
function expoNativeCompilerDigestValue() {
|
|
26251
|
-
return true ? "
|
|
26251
|
+
return true ? "2fba6e51b588bbf3f9b9a6d63f017535bcb0a5c85d67064158e38752b96ddf26" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26252
26252
|
}
|
|
26253
26253
|
var import_node_crypto17;
|
|
26254
26254
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -50454,16 +50454,54 @@ package.targets += [.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON
|
|
|
50454
50454
|
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${level}`, producers2),
|
|
50455
50455
|
producers: producers2
|
|
50456
50456
|
}));
|
|
50457
|
-
const
|
|
50457
|
+
const earlyNativeTargets = [
|
|
50458
50458
|
.../* @__PURE__ */ new Set([
|
|
50459
50459
|
...input.staticClangTargets ?? [],
|
|
50460
|
-
...[...native].flatMap(
|
|
50461
|
-
|
|
50462
|
-
|
|
50463
|
-
|
|
50460
|
+
...[...native].flatMap(
|
|
50461
|
+
([name3, plan]) => !plan.mixed && plan.sources.length > 0 ? [name3] : []
|
|
50462
|
+
)
|
|
50463
|
+
])
|
|
50464
|
+
];
|
|
50465
|
+
const nativeBuildTargets = [
|
|
50466
|
+
.../* @__PURE__ */ new Set([
|
|
50467
|
+
...earlyNativeTargets,
|
|
50468
|
+
...[...native].flatMap(
|
|
50469
|
+
([, plan]) => plan.groups?.map((group) => group.name) ?? (plan.late ? [plan.late.name] : [])
|
|
50470
|
+
)
|
|
50464
50471
|
])
|
|
50465
50472
|
];
|
|
50466
|
-
|
|
50473
|
+
let nativePrerequisiteTargets = [];
|
|
50474
|
+
if (headerCompiler && earlyNativeTargets.length > 0) {
|
|
50475
|
+
const reachableFromProducers = /* @__PURE__ */ new Set();
|
|
50476
|
+
const visitReachable = (name3) => {
|
|
50477
|
+
if (reachableFromProducers.has(name3)) return;
|
|
50478
|
+
reachableFromProducers.add(name3);
|
|
50479
|
+
for (const dependency of dependencies.get(name3) ?? []) visitReachable(dependency);
|
|
50480
|
+
};
|
|
50481
|
+
for (const producer of orderedProducers) visitReachable(producer);
|
|
50482
|
+
const swiftDependent = /* @__PURE__ */ new Map();
|
|
50483
|
+
const reachesSwift = (name3, seen = /* @__PURE__ */ new Set()) => {
|
|
50484
|
+
const cached2 = swiftDependent.get(name3);
|
|
50485
|
+
if (cached2 !== void 0) return cached2;
|
|
50486
|
+
if (seen.has(name3)) return false;
|
|
50487
|
+
seen.add(name3);
|
|
50488
|
+
const result = swiftTargets.has(name3) || (dependencies.get(name3) ?? []).some(
|
|
50489
|
+
(dependency) => reachesSwift(dependency, seen)
|
|
50490
|
+
);
|
|
50491
|
+
seen.delete(name3);
|
|
50492
|
+
if (seen.size === 0) swiftDependent.set(name3, result);
|
|
50493
|
+
return result;
|
|
50494
|
+
};
|
|
50495
|
+
nativePrerequisiteTargets = earlyNativeTargets.filter(
|
|
50496
|
+
(name3) => reachableFromProducers.has(name3) && !reachesSwift(name3)
|
|
50497
|
+
);
|
|
50498
|
+
}
|
|
50499
|
+
const nativePrerequisiteSet = new Set(nativePrerequisiteTargets);
|
|
50500
|
+
const remainingNativeBuildTargets = nativeBuildTargets.filter(
|
|
50501
|
+
(name3) => !nativePrerequisiteSet.has(name3)
|
|
50502
|
+
);
|
|
50503
|
+
const nativePrerequisiteTarget = nativePrerequisiteTargets.length ? buildProduct("PeachHeaderNativePrereqs", nativePrerequisiteTargets) : void 0;
|
|
50504
|
+
const nativeProductTarget = remainingNativeBuildTargets.length ? buildProduct("PeachNativeProducts", remainingNativeBuildTargets) : void 0;
|
|
50467
50505
|
files2.set(manifestPath, manifest);
|
|
50468
50506
|
syncSwiftTree(layout2.root, files2);
|
|
50469
50507
|
if (layout2.multi)
|
|
@@ -50473,6 +50511,7 @@ package.targets += [.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON
|
|
|
50473
50511
|
if (files2.has(clangWrapper) && ((0, import_node_fs68.statSync)(clangWrapper).mode & 4095) !== 493)
|
|
50474
50512
|
(0, import_node_fs68.chmodSync)(clangWrapper, 493);
|
|
50475
50513
|
return {
|
|
50514
|
+
nativePrerequisiteTarget,
|
|
50476
50515
|
headerBuilds,
|
|
50477
50516
|
nativeHeaderDeclarations,
|
|
50478
50517
|
nativeProductTarget,
|
|
@@ -51814,6 +51853,7 @@ ${cap}` : "";
|
|
|
51814
51853
|
const runApp = async (compiler2) => {
|
|
51815
51854
|
const optionsWithCompiler = compiler2 ? { ...appOptions, env: { ...appOptions.env, ...compiler2 } } : appOptions;
|
|
51816
51855
|
const stages = [
|
|
51856
|
+
...preparation.nativePrerequisiteTarget ? [{ target: preparation.nativePrerequisiteTarget, producers: [] }] : [],
|
|
51817
51857
|
...preparation.headerBuilds,
|
|
51818
51858
|
...preparation.nativeProductTarget ? [{ target: preparation.nativeProductTarget, producers: [] }] : []
|
|
51819
51859
|
];
|
|
@@ -52288,7 +52328,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
52288
52328
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
52289
52329
|
MULTI_MANIFEST_VERSION = 76;
|
|
52290
52330
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
52291
|
-
compilerSourceDigest = true ? "
|
|
52331
|
+
compilerSourceDigest = true ? "5b77b32ba9e1a5e77c9671faafe9ac0e7669eb9003445901ffff10b5a9b03550" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
52292
52332
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
52293
52333
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
52294
52334
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (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,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-AM4K5S4B.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-HJZRIROU.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-ONETXZWG.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-2SO2C5FV.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-GZISBWKM.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-JKZVLPH3.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2562 | (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;
|
|
@@ -2117,7 +2117,7 @@ var init_runtime_assets = __esm({
|
|
|
2117
2117
|
var runtime_companion_default;
|
|
2118
2118
|
var init_runtime_companion = __esm({
|
|
2119
2119
|
"runtime-companion.json"() {
|
|
2120
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
2120
|
+
runtime_companion_default = { abi: 1, sha256: "e4f8c9667fee8ed0bd41316d684267b2b7fd65309e3430a850786931e5589010", file: "node/cli-e4f8c9667fee8ed0bd41316d684267b2b7fd65309e3430a850786931e5589010.cjs" };
|
|
2121
2121
|
}
|
|
2122
2122
|
});
|
|
2123
2123
|
|
|
@@ -5715,13 +5715,13 @@ var init_swift_standin_digest = __esm({
|
|
|
5715
5715
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
5716
5716
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
5717
5717
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
5718
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
5718
|
+
STANDIN_SOURCE_DIGEST = true ? "011f6261bb9e287a79b39ffd6ca7c5bf1591a45ee9fc1487cde75cde7a7ccaef" : standinSourceDigest();
|
|
5719
5719
|
}
|
|
5720
5720
|
});
|
|
5721
5721
|
|
|
5722
5722
|
// src/expo-native-compiler-digest.ts
|
|
5723
5723
|
function expoNativeCompilerDigestValue() {
|
|
5724
|
-
return true ? "
|
|
5724
|
+
return true ? "2fba6e51b588bbf3f9b9a6d63f017535bcb0a5c85d67064158e38752b96ddf26" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
5725
5725
|
}
|
|
5726
5726
|
var import_node_crypto11;
|
|
5727
5727
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -56204,16 +56204,54 @@ package.targets += [.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON
|
|
|
56204
56204
|
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${level}`, producers2),
|
|
56205
56205
|
producers: producers2
|
|
56206
56206
|
}));
|
|
56207
|
-
const
|
|
56207
|
+
const earlyNativeTargets = [
|
|
56208
56208
|
.../* @__PURE__ */ new Set([
|
|
56209
56209
|
...input.staticClangTargets ?? [],
|
|
56210
|
-
...[...native].flatMap(
|
|
56211
|
-
|
|
56212
|
-
|
|
56213
|
-
|
|
56210
|
+
...[...native].flatMap(
|
|
56211
|
+
([name3, plan]) => !plan.mixed && plan.sources.length > 0 ? [name3] : []
|
|
56212
|
+
)
|
|
56213
|
+
])
|
|
56214
|
+
];
|
|
56215
|
+
const nativeBuildTargets = [
|
|
56216
|
+
.../* @__PURE__ */ new Set([
|
|
56217
|
+
...earlyNativeTargets,
|
|
56218
|
+
...[...native].flatMap(
|
|
56219
|
+
([, plan]) => plan.groups?.map((group) => group.name) ?? (plan.late ? [plan.late.name] : [])
|
|
56220
|
+
)
|
|
56214
56221
|
])
|
|
56215
56222
|
];
|
|
56216
|
-
|
|
56223
|
+
let nativePrerequisiteTargets = [];
|
|
56224
|
+
if (headerCompiler && earlyNativeTargets.length > 0) {
|
|
56225
|
+
const reachableFromProducers = /* @__PURE__ */ new Set();
|
|
56226
|
+
const visitReachable = (name3) => {
|
|
56227
|
+
if (reachableFromProducers.has(name3)) return;
|
|
56228
|
+
reachableFromProducers.add(name3);
|
|
56229
|
+
for (const dependency of dependencies.get(name3) ?? []) visitReachable(dependency);
|
|
56230
|
+
};
|
|
56231
|
+
for (const producer of orderedProducers) visitReachable(producer);
|
|
56232
|
+
const swiftDependent = /* @__PURE__ */ new Map();
|
|
56233
|
+
const reachesSwift = (name3, seen = /* @__PURE__ */ new Set()) => {
|
|
56234
|
+
const cached4 = swiftDependent.get(name3);
|
|
56235
|
+
if (cached4 !== void 0) return cached4;
|
|
56236
|
+
if (seen.has(name3)) return false;
|
|
56237
|
+
seen.add(name3);
|
|
56238
|
+
const result = swiftTargets.has(name3) || (dependencies.get(name3) ?? []).some(
|
|
56239
|
+
(dependency) => reachesSwift(dependency, seen)
|
|
56240
|
+
);
|
|
56241
|
+
seen.delete(name3);
|
|
56242
|
+
if (seen.size === 0) swiftDependent.set(name3, result);
|
|
56243
|
+
return result;
|
|
56244
|
+
};
|
|
56245
|
+
nativePrerequisiteTargets = earlyNativeTargets.filter(
|
|
56246
|
+
(name3) => reachableFromProducers.has(name3) && !reachesSwift(name3)
|
|
56247
|
+
);
|
|
56248
|
+
}
|
|
56249
|
+
const nativePrerequisiteSet = new Set(nativePrerequisiteTargets);
|
|
56250
|
+
const remainingNativeBuildTargets = nativeBuildTargets.filter(
|
|
56251
|
+
(name3) => !nativePrerequisiteSet.has(name3)
|
|
56252
|
+
);
|
|
56253
|
+
const nativePrerequisiteTarget = nativePrerequisiteTargets.length ? buildProduct("PeachHeaderNativePrereqs", nativePrerequisiteTargets) : void 0;
|
|
56254
|
+
const nativeProductTarget = remainingNativeBuildTargets.length ? buildProduct("PeachNativeProducts", remainingNativeBuildTargets) : void 0;
|
|
56217
56255
|
files2.set(manifestPath, manifest);
|
|
56218
56256
|
syncSwiftTree(layout2.root, files2);
|
|
56219
56257
|
if (layout2.multi)
|
|
@@ -56223,6 +56261,7 @@ package.targets += [.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON
|
|
|
56223
56261
|
if (files2.has(clangWrapper) && ((0, import_node_fs79.statSync)(clangWrapper).mode & 4095) !== 493)
|
|
56224
56262
|
(0, import_node_fs79.chmodSync)(clangWrapper, 493);
|
|
56225
56263
|
return {
|
|
56264
|
+
nativePrerequisiteTarget,
|
|
56226
56265
|
headerBuilds,
|
|
56227
56266
|
nativeHeaderDeclarations,
|
|
56228
56267
|
nativeProductTarget,
|
|
@@ -57564,6 +57603,7 @@ ${cap}` : "";
|
|
|
57564
57603
|
const runApp = async (compiler2) => {
|
|
57565
57604
|
const optionsWithCompiler = compiler2 ? { ...appOptions, env: { ...appOptions.env, ...compiler2 } } : appOptions;
|
|
57566
57605
|
const stages = [
|
|
57606
|
+
...preparation.nativePrerequisiteTarget ? [{ target: preparation.nativePrerequisiteTarget, producers: [] }] : [],
|
|
57567
57607
|
...preparation.headerBuilds,
|
|
57568
57608
|
...preparation.nativeProductTarget ? [{ target: preparation.nativeProductTarget, producers: [] }] : []
|
|
57569
57609
|
];
|
|
@@ -58038,7 +58078,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
58038
58078
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
58039
58079
|
MULTI_MANIFEST_VERSION = 76;
|
|
58040
58080
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
58041
|
-
compilerSourceDigest = true ? "
|
|
58081
|
+
compilerSourceDigest = true ? "5b77b32ba9e1a5e77c9671faafe9ac0e7669eb9003445901ffff10b5a9b03550" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
58042
58082
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
58043
58083
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
58044
58084
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -117452,7 +117492,7 @@ var init_nitro_superset = __esm({
|
|
|
117452
117492
|
init_nitroContract();
|
|
117453
117493
|
init_swift_standin_digest();
|
|
117454
117494
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
117455
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
117495
|
+
NITRO_COMPILER_DIGEST = true ? "23066a69604950c603f52aa9ecf66d0ea2df4bc1ea4a68eb34e0f94c2b69bd6d" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
117456
117496
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
117457
117497
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
117458
117498
|
published3 = /* @__PURE__ */ new Map();
|