peachsim 0.1.2767 → 0.1.2769
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 +351 -77
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-RDD3HI5C.mjs → acorn-GNB3RJH7.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-BY3E6CUM.mjs → chunk-3WG4L5YK.mjs} +372 -106
- package/dist-lib/esm-chunks/{chunk-YX56RZ26.mjs → chunk-3ZKE33FC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-555YCJDH.mjs → chunk-4GHACZYW.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-CBAMX2H3.mjs → chunk-4IJOKKT2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GKHSLOW6.mjs → chunk-53WFZATQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-H4KLP3QO.mjs → chunk-57JPQBQL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PDMYH4NT.mjs → chunk-ALLMPTWQ.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-UGTY5DQQ.mjs → chunk-BFLH7V77.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-LO5KFOI3.mjs → chunk-BP7TLKZD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WJKKLL2J.mjs → chunk-ETXC2XBY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-C6YNOAXM.mjs → chunk-GHJPVQ3A.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D6JZSVL7.mjs → chunk-L2U2IEHU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7G6WGJWR.mjs → chunk-MBLYJ74N.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-P2KN5U5O.mjs → chunk-MGIODRG3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XPSICY6F.mjs → chunk-OG5C2CN2.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-4W67A7NE.mjs → chunk-OPIPPBGX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DFK4ZVNM.mjs → chunk-TI42U3CD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-H5C5TZNB.mjs → chunk-TJNFADI5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OYMWLKPN.mjs → chunk-TTVQWJGW.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-7VSU2AV7.mjs → chunk-VF3CWZTM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AC2RBU5N.mjs → chunk-WWANYYJG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EJWUFWN3.mjs → chunk-XX7VUACB.mjs} +26 -13
- package/dist-lib/esm-chunks/{chunk-BSN5R62H.mjs → chunk-ZGNNVEWM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3WJRW63F.mjs → chunk-ZLYAJ4CU.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-7POGDD5P.mjs → metro-layout-parser-LT2DPN6F.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-ULD72CI5.mjs → swift-package-prebuilt-ZFFWBI33.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-VXSTLD57.mjs → swift-sdk-app-module-UZ6BZSES.mjs} +22 -17
- package/dist-lib/esm-chunks/{swift-sdk-image-KDJATRA6.mjs → swift-sdk-image-J2DE3SBW.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-KNBUALWN.mjs → swift-sdk-image-producer-C4U4EQRW.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +351 -77
- 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 +351 -77
- package/dist-lib/host/fetch-proxy-handler.cjs +24 -20
- 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 +1 -1
- 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 +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- 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 +8 -8
- package/dist-lib/skills.cjs +351 -77
- package/dist-lib/swift-compile.cjs +331 -57
- package/dist-lib/swift-compile.mjs +12 -12
- 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 +6 -6
- 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/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.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/render-worker/aux-pointer-native.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/render-worker/auxPointerContract.d.ts +4 -0
- package/package.json +1 -1
- package/src/case-insensitive-header-overlay.ts +9 -1
- package/src/native-static-libraries.ts +16 -16
- package/src/swift-compile.ts +158 -42
- package/src/swift-distribution-mirror.ts +273 -10
- package/src/swift-objc-prebuilt.ts +10 -1
- package/src/swift-objc-standin.ts +6 -1
- package/src/swift-sdk-app-module.ts +10 -3
- package/src/swift-sdk-surface.ts +5 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2769 | (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;
|
|
@@ -11717,7 +11717,12 @@ function contents(node) {
|
|
|
11717
11717
|
}))
|
|
11718
11718
|
];
|
|
11719
11719
|
}
|
|
11720
|
-
function
|
|
11720
|
+
function clearCaseInsensitiveHeaderOverlayCache(rootPrefix) {
|
|
11721
|
+
const prefix = `${rootPrefix}${import_node_path16.default.sep}`;
|
|
11722
|
+
for (const key2 of scans.keys())
|
|
11723
|
+
if (key2 === rootPrefix || key2.startsWith(prefix)) scans.delete(key2);
|
|
11724
|
+
}
|
|
11725
|
+
function caseInsensitiveHeaderOverlay(directory2, roots, listed, fixedName) {
|
|
11721
11726
|
let known = scans;
|
|
11722
11727
|
if (listed) {
|
|
11723
11728
|
known = listedScans.get(listed) ?? /* @__PURE__ */ new Map();
|
|
@@ -11738,7 +11743,7 @@ function caseInsensitiveHeaderOverlay(directory2, roots, listed) {
|
|
|
11738
11743
|
const text7 = JSON.stringify({ "case-sensitive": "false", roots: roots_, version: 0 });
|
|
11739
11744
|
const file = import_node_path16.default.join(
|
|
11740
11745
|
directory2,
|
|
11741
|
-
`case-insensitive-${(0, import_node_crypto11.createHash)("sha256").update(text7).digest("hex").slice(0, 16)}.yaml`
|
|
11746
|
+
fixedName ?? `case-insensitive-${(0, import_node_crypto11.createHash)("sha256").update(text7).digest("hex").slice(0, 16)}.yaml`
|
|
11742
11747
|
);
|
|
11743
11748
|
writeBuildFile(file, text7);
|
|
11744
11749
|
return file;
|
|
@@ -14343,15 +14348,17 @@ function materializeObjcSdk(cacheDir6) {
|
|
|
14343
14348
|
}
|
|
14344
14349
|
return sdk2;
|
|
14345
14350
|
}
|
|
14346
|
-
function objcSdkIntakeFlags(headers, toolchainBin, minimum) {
|
|
14351
|
+
function objcSdkIntakeFlags(headers, toolchainBin, minimum, overlayDirectory) {
|
|
14347
14352
|
const caseOverlay = caseInsensitiveHeaderOverlay(
|
|
14348
|
-
import_node_path20.default.join(swiftCacheDir(), "swift-header-case"),
|
|
14353
|
+
overlayDirectory ?? import_node_path20.default.join(swiftCacheDir(), "swift-header-case"),
|
|
14349
14354
|
[
|
|
14350
14355
|
import_node_path20.default.join(headers, "System/Library/Frameworks"),
|
|
14351
14356
|
import_node_path20.default.join(headers, "wasm/include"),
|
|
14352
14357
|
import_node_path20.default.join(headers, "wasm/intrinsics"),
|
|
14353
14358
|
import_node_path20.default.join(headers, "usr/include")
|
|
14354
|
-
]
|
|
14359
|
+
],
|
|
14360
|
+
void 0,
|
|
14361
|
+
overlayDirectory ? SWIFT_SDK_HEADER_CASE_OVERLAY : void 0
|
|
14355
14362
|
);
|
|
14356
14363
|
return [
|
|
14357
14364
|
...swiftObjCPlatformFlags(toolchainBin, minimum),
|
|
@@ -15428,7 +15435,7 @@ function constantValue(node) {
|
|
|
15428
15435
|
}
|
|
15429
15436
|
return null;
|
|
15430
15437
|
}
|
|
15431
|
-
var import_node_child_process10, import_node_crypto12, import_node_fs20, import_node_path20, REFINED_CONSTANT_TYPES, NATIVE_GRAPH_SDK_VERSION, WASI_EMULATION, WASI_EMULATION_FLAGS, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID, resolvedPinnedSdk, ROUNDS, sdkId, headerFiles2, MISSING_IMPORT, FRAMEWORK_HEADER, FRAMEWORK_MODULEMAP, sdkDeclarations;
|
|
15438
|
+
var import_node_child_process10, import_node_crypto12, import_node_fs20, import_node_path20, REFINED_CONSTANT_TYPES, NATIVE_GRAPH_SDK_VERSION, WASI_EMULATION, WASI_EMULATION_FLAGS, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID, resolvedPinnedSdk, ROUNDS, sdkId, SWIFT_SDK_HEADER_CASE_OVERLAY, headerFiles2, MISSING_IMPORT, FRAMEWORK_HEADER, FRAMEWORK_MODULEMAP, sdkDeclarations;
|
|
15432
15439
|
var init_swift_objc_standin = __esm({
|
|
15433
15440
|
"src/swift-objc-standin.ts"() {
|
|
15434
15441
|
"use strict";
|
|
@@ -15469,6 +15476,7 @@ var init_swift_objc_standin = __esm({
|
|
|
15469
15476
|
};
|
|
15470
15477
|
NATIVE_GRAPH_ID = (0, import_node_crypto12.createHash)("sha256").update(JSON.stringify(NATIVE_GRAPH_INPUTS)).digest("hex");
|
|
15471
15478
|
ROUNDS = 12;
|
|
15479
|
+
SWIFT_SDK_HEADER_CASE_OVERLAY = "sdk-header-case.yaml";
|
|
15472
15480
|
headerFiles2 = (dir) => import_node_fs20.default.readdirSync(dir, { recursive: true, encoding: "utf8" }).filter((file) => file.endsWith(".h") || file.endsWith(".hh")).sort();
|
|
15473
15481
|
MISSING_IMPORT = "#import <PeachMissing/PeachMissing.h>\n";
|
|
15474
15482
|
FRAMEWORK_HEADER = /^System\/Library\/Frameworks\/([^/]+)\.framework\/Headers\/(.+)$/;
|
|
@@ -19571,7 +19579,7 @@ var init_react_native_core_digest = __esm({
|
|
|
19571
19579
|
|
|
19572
19580
|
// src/swift-compiler-digest.ts
|
|
19573
19581
|
function swiftArchiveCompilerDigestValue() {
|
|
19574
|
-
return true ? "
|
|
19582
|
+
return true ? "8b191a8fe01f7c85c340f8260c13e9935003dc8380f94603ae47599ba67822f9" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
19575
19583
|
}
|
|
19576
19584
|
var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
19577
19585
|
var init_swift_compiler_digest = __esm({
|
|
@@ -19717,13 +19725,13 @@ var init_swift_standin_digest = __esm({
|
|
|
19717
19725
|
];
|
|
19718
19726
|
RUNTIME_IMPORT = /(?:^|[;\n])[ \t]*(?:import|export)\s+(?!type(?:\s|\{))([\s\S]*?)\s+from\s*['"]([^'"]+)['"]|(?:^|[;\n])[ \t]*import\s+['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
19719
19727
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS, STANDIN_DIGEST_EXCLUDED_FILES);
|
|
19720
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
19728
|
+
STANDIN_SOURCE_DIGEST = true ? "46bd6373b813f44d3e812af83162f521ce032cba6bade9039bbb107120481dc5" : standinSourceDigest();
|
|
19721
19729
|
}
|
|
19722
19730
|
});
|
|
19723
19731
|
|
|
19724
19732
|
// src/expo-native-compiler-digest.ts
|
|
19725
19733
|
function expoNativeCompilerDigestValue() {
|
|
19726
|
-
return true ? "
|
|
19734
|
+
return true ? "3e260e6c7ef7597f483e25b974f3331143db4576ba153a8f6a7fa5912b7f12b4" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
19727
19735
|
}
|
|
19728
19736
|
var import_node_crypto18;
|
|
19729
19737
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -23910,9 +23918,175 @@ function syncSwiftDistributionMirror(root, source, manifest) {
|
|
|
23910
23918
|
const partial = `${record5}.${(0, import_node_crypto24.randomUUID)()}`;
|
|
23911
23919
|
(0, import_node_fs42.writeFileSync)(partial, JSON.stringify(manifest.files));
|
|
23912
23920
|
(0, import_node_fs42.renameSync)(partial, record5);
|
|
23921
|
+
if ([...changed, ...removed].some(
|
|
23922
|
+
(file) => !file.startsWith("lib/") && !file.startsWith("modules/")
|
|
23923
|
+
)) {
|
|
23924
|
+
clearCaseInsensitiveHeaderOverlayCache(mirror);
|
|
23925
|
+
clearCaseInsensitiveHeaderOverlayCache(import_node_path40.default.join(root, SWIFT_SDK_MIRROR));
|
|
23926
|
+
}
|
|
23913
23927
|
}
|
|
23914
23928
|
return mirror;
|
|
23915
23929
|
}
|
|
23930
|
+
function syncSwiftSdkMirror(root, frameworkRoot, toolchainBin, sourceSdkId) {
|
|
23931
|
+
const viewOptions = swiftSharedSdkViewOptions(
|
|
23932
|
+
frameworkRoot,
|
|
23933
|
+
true,
|
|
23934
|
+
toolchainBin,
|
|
23935
|
+
sourceSdkId
|
|
23936
|
+
);
|
|
23937
|
+
const sourceView = viewOptions[1];
|
|
23938
|
+
return syncSwiftSdkMirrorFromView(root, frameworkRoot, sourceView, sourceSdkId);
|
|
23939
|
+
}
|
|
23940
|
+
function syncSwiftSdkMirrorFromView(root, frameworkRoot, sourceView, sourceSdkId) {
|
|
23941
|
+
const mirror = import_node_path40.default.join(root, SWIFT_SDK_MIRROR);
|
|
23942
|
+
const bundle = import_node_path40.default.join(mirror, SWIFT_SDK_MIRROR_BUNDLE);
|
|
23943
|
+
const destTriple = import_node_path40.default.join(bundle, "sdk", SWIFT_WASM_TRIPLE);
|
|
23944
|
+
const bundleInfo = import_node_path40.default.join(bundle, "info.json");
|
|
23945
|
+
const recordFile = import_node_path40.default.join(mirror, SWIFT_SDK_MIRROR_RECORD);
|
|
23946
|
+
const options2 = ["--swift-sdks-path", mirror];
|
|
23947
|
+
const previous = readSdkRecord(recordFile);
|
|
23948
|
+
if (previous && previous.sourceView === sourceView && previous.sourceSdkId === sourceSdkId && (0, import_node_fs42.existsSync)(bundleInfo) && (0, import_node_fs42.existsSync)(import_node_path40.default.join(destTriple, "swift-sdk.json"))) {
|
|
23949
|
+
return { id: SWIFT_SDK_MIRROR_ID, options: options2, toolsetChanged: false };
|
|
23950
|
+
}
|
|
23951
|
+
const sourceTriple = resolveSdkViewTripleDir(sourceView, sourceSdkId);
|
|
23952
|
+
if (!previous) {
|
|
23953
|
+
(0, import_node_fs42.rmSync)(mirror, { recursive: true, force: true });
|
|
23954
|
+
(0, import_node_fs42.rmSync)(import_node_path40.default.join(root, ".build"), { recursive: true, force: true });
|
|
23955
|
+
}
|
|
23956
|
+
const changed = [];
|
|
23957
|
+
const removed = [];
|
|
23958
|
+
const distributionPrefix = `${frameworkRoot}${import_node_path40.default.sep}`;
|
|
23959
|
+
syncSdkTree(sourceTriple, destTriple, "", distributionPrefix, changed, removed);
|
|
23960
|
+
const infoText = JSON.stringify(
|
|
23961
|
+
{
|
|
23962
|
+
artifacts: {
|
|
23963
|
+
[SWIFT_SDK_MIRROR_ID]: {
|
|
23964
|
+
type: "swiftSDK",
|
|
23965
|
+
variants: [{ path: `sdk/${SWIFT_WASM_TRIPLE}/swift-sdk.json` }],
|
|
23966
|
+
version: "0.0.1"
|
|
23967
|
+
}
|
|
23968
|
+
},
|
|
23969
|
+
schemaVersion: "1.0"
|
|
23970
|
+
},
|
|
23971
|
+
null,
|
|
23972
|
+
2
|
|
23973
|
+
) + "\n";
|
|
23974
|
+
if (!(0, import_node_fs42.existsSync)(bundleInfo) || (0, import_node_fs42.readFileSync)(bundleInfo, "utf8") !== infoText) {
|
|
23975
|
+
(0, import_node_fs42.mkdirSync)(bundle, { recursive: true });
|
|
23976
|
+
const partial = `${bundleInfo}.${(0, import_node_crypto24.randomUUID)()}`;
|
|
23977
|
+
(0, import_node_fs42.writeFileSync)(partial, infoText);
|
|
23978
|
+
(0, import_node_fs42.renameSync)(partial, bundleInfo);
|
|
23979
|
+
}
|
|
23980
|
+
const touched = [...changed, ...removed];
|
|
23981
|
+
const toolsetChanged = !previous || touched.some(
|
|
23982
|
+
(file) => file === "toolset.json" || file === "swift-sdk.json" || file.startsWith("swift.xctoolchain/usr/bin/")
|
|
23983
|
+
);
|
|
23984
|
+
if (previous) {
|
|
23985
|
+
if (toolsetChanged) {
|
|
23986
|
+
(0, import_node_fs42.rmSync)(import_node_path40.default.join(root, ".build"), { recursive: true, force: true });
|
|
23987
|
+
} else {
|
|
23988
|
+
const compileTouched = touched.filter(
|
|
23989
|
+
(file) => !file.endsWith(".a") && !file.endsWith(".o") && !file.startsWith("rust/") && file !== "runtime-products.json"
|
|
23990
|
+
);
|
|
23991
|
+
const headersChanged = compileTouched.some(
|
|
23992
|
+
(file) => !file.endsWith(".swiftmodule") && !file.endsWith(".swiftdoc") && !file.endsWith(".swiftsourceinfo") && !file.endsWith(".abi.json")
|
|
23993
|
+
);
|
|
23994
|
+
if (compileTouched.length > 0) {
|
|
23995
|
+
invalidateBuildDependents(
|
|
23996
|
+
root,
|
|
23997
|
+
[[Buffer.from(`${escapeDepPath(destTriple)}/`), ""]],
|
|
23998
|
+
new Set(compileTouched),
|
|
23999
|
+
headersChanged
|
|
24000
|
+
);
|
|
24001
|
+
}
|
|
24002
|
+
if (headersChanged) clearCaseInsensitiveHeaderOverlayCache(mirror);
|
|
24003
|
+
}
|
|
24004
|
+
} else {
|
|
24005
|
+
clearCaseInsensitiveHeaderOverlayCache(mirror);
|
|
24006
|
+
}
|
|
24007
|
+
(0, import_node_fs42.mkdirSync)(mirror, { recursive: true });
|
|
24008
|
+
const partialRecord = `${recordFile}.${(0, import_node_crypto24.randomUUID)()}`;
|
|
24009
|
+
(0, import_node_fs42.writeFileSync)(partialRecord, JSON.stringify({ version: 1, sourceView, sourceSdkId }));
|
|
24010
|
+
(0, import_node_fs42.renameSync)(partialRecord, recordFile);
|
|
24011
|
+
return { id: SWIFT_SDK_MIRROR_ID, options: options2, toolsetChanged };
|
|
24012
|
+
}
|
|
24013
|
+
function readSdkRecord(file) {
|
|
24014
|
+
if (!(0, import_node_fs42.existsSync)(file)) return null;
|
|
24015
|
+
const value = JSON.parse((0, import_node_fs42.readFileSync)(file, "utf8"));
|
|
24016
|
+
if (!isRecord(value) || value.version !== 1 || typeof value.sourceView !== "string" || typeof value.sourceSdkId !== "string")
|
|
24017
|
+
return null;
|
|
24018
|
+
return {
|
|
24019
|
+
version: value.version,
|
|
24020
|
+
sourceView: value.sourceView,
|
|
24021
|
+
sourceSdkId: value.sourceSdkId
|
|
24022
|
+
};
|
|
24023
|
+
}
|
|
24024
|
+
function resolveSdkViewTripleDir(sourceView, sourceSdkId) {
|
|
24025
|
+
for (const entry of (0, import_node_fs42.readdirSync)(sourceView, { withFileTypes: true })) {
|
|
24026
|
+
if (!entry.name.endsWith(".artifactbundle")) continue;
|
|
24027
|
+
const bundleDir = import_node_path40.default.join(sourceView, entry.name);
|
|
24028
|
+
const infoPath = import_node_path40.default.join(bundleDir, "info.json");
|
|
24029
|
+
if (!(0, import_node_fs42.existsSync)(infoPath)) continue;
|
|
24030
|
+
const info = JSON.parse((0, import_node_fs42.readFileSync)(infoPath, "utf8"));
|
|
24031
|
+
if (!isRecord(info) || !isRecord(info.artifacts)) continue;
|
|
24032
|
+
const artifact = info.artifacts[sourceSdkId];
|
|
24033
|
+
if (!isRecord(artifact) || !Array.isArray(artifact.variants)) continue;
|
|
24034
|
+
const first = artifact.variants[0];
|
|
24035
|
+
if (!isRecord(first) || typeof first.path !== "string") continue;
|
|
24036
|
+
return import_node_path40.default.dirname(import_node_path40.default.join(bundleDir, first.path));
|
|
24037
|
+
}
|
|
24038
|
+
throw new Error(`Swift SDK ${sourceSdkId} not found in view ${sourceView}`);
|
|
24039
|
+
}
|
|
24040
|
+
function collectRemovedFiles(dir, prefix, out) {
|
|
24041
|
+
for (const entry of (0, import_node_fs42.readdirSync)(dir, { withFileTypes: true })) {
|
|
24042
|
+
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
24043
|
+
const full = import_node_path40.default.join(dir, entry.name);
|
|
24044
|
+
if (entry.isDirectory()) collectRemovedFiles(full, rel, out);
|
|
24045
|
+
else out.push(rel);
|
|
24046
|
+
}
|
|
24047
|
+
}
|
|
24048
|
+
function syncSdkTree(sourceDir, destDir, prefix, distributionPrefix, changed, removed) {
|
|
24049
|
+
(0, import_node_fs42.mkdirSync)(destDir, { recursive: true });
|
|
24050
|
+
const wanted = /* @__PURE__ */ new Set();
|
|
24051
|
+
for (const entry of (0, import_node_fs42.readdirSync)(sourceDir, { withFileTypes: true })) {
|
|
24052
|
+
wanted.add(entry.name);
|
|
24053
|
+
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
24054
|
+
const src = import_node_path40.default.join(sourceDir, entry.name);
|
|
24055
|
+
const dest = import_node_path40.default.join(destDir, entry.name);
|
|
24056
|
+
const destLstat = (0, import_node_fs42.lstatSync)(dest, { throwIfNoEntry: false });
|
|
24057
|
+
if (entry.isSymbolicLink()) {
|
|
24058
|
+
const target = (0, import_node_fs42.readlinkSync)(src);
|
|
24059
|
+
if (target.startsWith(distributionPrefix)) {
|
|
24060
|
+
if (destLstat?.isSymbolicLink() && (0, import_node_fs42.readlinkSync)(dest) === target) continue;
|
|
24061
|
+
if (destLstat) (0, import_node_fs42.rmSync)(dest, { recursive: true, force: true });
|
|
24062
|
+
(0, import_node_fs42.symlinkSync)(target, dest);
|
|
24063
|
+
changed.push(rel);
|
|
24064
|
+
continue;
|
|
24065
|
+
}
|
|
24066
|
+
}
|
|
24067
|
+
const srcStat = (0, import_node_fs42.statSync)(src, { throwIfNoEntry: false });
|
|
24068
|
+
if (!srcStat) continue;
|
|
24069
|
+
if (srcStat.isDirectory()) {
|
|
24070
|
+
if (destLstat && (!destLstat.isDirectory() || destLstat.isSymbolicLink()))
|
|
24071
|
+
(0, import_node_fs42.rmSync)(dest, { recursive: true, force: true });
|
|
24072
|
+
syncSdkTree(src, dest, rel, distributionPrefix, changed, removed);
|
|
24073
|
+
continue;
|
|
24074
|
+
}
|
|
24075
|
+
if (destLstat?.isFile() && !destLstat.isSymbolicLink() && destLstat.size === srcStat.size && (0, import_node_fs42.readFileSync)(src).equals((0, import_node_fs42.readFileSync)(dest)))
|
|
24076
|
+
continue;
|
|
24077
|
+
if (destLstat?.isDirectory()) (0, import_node_fs42.rmSync)(dest, { recursive: true, force: true });
|
|
24078
|
+
place(src, dest, (srcStat.mode & 73) !== 0 ? srcStat.mode & 511 : void 0);
|
|
24079
|
+
changed.push(rel);
|
|
24080
|
+
}
|
|
24081
|
+
for (const entry of (0, import_node_fs42.readdirSync)(destDir, { withFileTypes: true })) {
|
|
24082
|
+
if (wanted.has(entry.name)) continue;
|
|
24083
|
+
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
24084
|
+
const dest = import_node_path40.default.join(destDir, entry.name);
|
|
24085
|
+
if (entry.isDirectory()) collectRemovedFiles(dest, rel, removed);
|
|
24086
|
+
else removed.push(rel);
|
|
24087
|
+
(0, import_node_fs42.rmSync)(dest, { recursive: true, force: true });
|
|
24088
|
+
}
|
|
24089
|
+
}
|
|
23916
24090
|
function readRecord(file) {
|
|
23917
24091
|
if (!(0, import_node_fs42.existsSync)(file)) return null;
|
|
23918
24092
|
const value = JSON.parse((0, import_node_fs42.readFileSync)(file, "utf8"));
|
|
@@ -23924,24 +24098,33 @@ function readRecord(file) {
|
|
|
23924
24098
|
}
|
|
23925
24099
|
return files2;
|
|
23926
24100
|
}
|
|
23927
|
-
function place(from, to) {
|
|
24101
|
+
function place(from, to, mode) {
|
|
23928
24102
|
(0, import_node_fs42.mkdirSync)(import_node_path40.default.dirname(to), { recursive: true });
|
|
23929
24103
|
const partial = `${to}.${(0, import_node_crypto24.randomUUID)()}`;
|
|
23930
24104
|
(0, import_node_fs42.copyFileSync)(from, partial, import_node_fs42.constants.COPYFILE_FICLONE);
|
|
24105
|
+
if (mode !== void 0) (0, import_node_fs42.chmodSync)(partial, mode);
|
|
23931
24106
|
(0, import_node_fs42.renameSync)(partial, to);
|
|
23932
24107
|
}
|
|
23933
|
-
function
|
|
23934
|
-
|
|
23935
|
-
if (read.size === 0) return;
|
|
23936
|
-
const escapedMirror = mirror.replace(
|
|
24108
|
+
function escapeDepPath(directory2) {
|
|
24109
|
+
return directory2.replace(
|
|
23937
24110
|
/[\\ #$]/g,
|
|
23938
24111
|
(character) => character === "$" ? "$$" : `\\${character}`
|
|
23939
24112
|
);
|
|
24113
|
+
}
|
|
24114
|
+
function invalidateDependents(root, mirror, files2) {
|
|
24115
|
+
const read = new Set(files2.filter((file) => !file.startsWith("lib/")));
|
|
24116
|
+
if (read.size === 0) return;
|
|
23940
24117
|
const spellings = [
|
|
23941
|
-
[Buffer.from(`${
|
|
24118
|
+
[Buffer.from(`${escapeDepPath(mirror)}/`), ""]
|
|
23942
24119
|
];
|
|
23943
24120
|
if (files2.some((file) => file.startsWith("sdk/ios/")))
|
|
23944
24121
|
spellings.push([Buffer.from("/darwin/"), "sdk/ios/"]);
|
|
24122
|
+
const headersChanged = files2.some(
|
|
24123
|
+
(file) => !file.startsWith("lib/") && !file.startsWith("modules/")
|
|
24124
|
+
);
|
|
24125
|
+
invalidateBuildDependents(root, spellings, read, headersChanged);
|
|
24126
|
+
}
|
|
24127
|
+
function invalidateBuildDependents(root, spellings, read, headersChanged) {
|
|
23945
24128
|
const names = (text7) => spellings.some(([prefix, base]) => {
|
|
23946
24129
|
let end = 0;
|
|
23947
24130
|
for (let at = text7.indexOf(prefix); at !== -1; at = text7.indexOf(prefix, end)) {
|
|
@@ -23956,9 +24139,6 @@ function invalidateDependents(root, mirror, files2) {
|
|
|
23956
24139
|
});
|
|
23957
24140
|
const scratch2 = import_node_path40.default.join(root, ".build");
|
|
23958
24141
|
if (!(0, import_node_fs42.existsSync)(scratch2)) return;
|
|
23959
|
-
const headersChanged = files2.some(
|
|
23960
|
-
(file) => !file.startsWith("lib/") && !file.startsWith("modules/")
|
|
23961
|
-
);
|
|
23962
24142
|
for (const triple of (0, import_node_fs42.readdirSync)(scratch2, { withFileTypes: true })) {
|
|
23963
24143
|
const products = import_node_path40.default.join(scratch2, triple.name, "release");
|
|
23964
24144
|
if (!triple.isDirectory() || !(0, import_node_fs42.existsSync)(products)) continue;
|
|
@@ -23998,18 +24178,24 @@ function invalidateDependents(root, mirror, files2) {
|
|
|
23998
24178
|
if (headersChanged)
|
|
23999
24179
|
(0, import_node_fs42.rmSync)(import_node_path40.default.join(scratch2, "ModuleCache"), { recursive: true, force: true });
|
|
24000
24180
|
}
|
|
24001
|
-
var import_node_crypto24, import_node_fs42, import_node_path40, SWIFT_DISTRIBUTION_MIRROR;
|
|
24181
|
+
var import_node_crypto24, import_node_fs42, import_node_path40, SWIFT_DISTRIBUTION_MIRROR, SWIFT_SDK_MIRROR, SWIFT_SDK_MIRROR_ID, SWIFT_SDK_MIRROR_RECORD, SWIFT_SDK_MIRROR_BUNDLE;
|
|
24002
24182
|
var init_swift_distribution_mirror = __esm({
|
|
24003
24183
|
"src/swift-distribution-mirror.ts"() {
|
|
24004
24184
|
"use strict";
|
|
24005
24185
|
import_node_crypto24 = require("node:crypto");
|
|
24006
24186
|
import_node_fs42 = require("node:fs");
|
|
24007
24187
|
import_node_path40 = __toESM(require("node:path"), 1);
|
|
24188
|
+
init_case_insensitive_header_overlay();
|
|
24008
24189
|
init_is_record();
|
|
24009
24190
|
init_swift_distribution_contract();
|
|
24010
24191
|
init_swift_shared_sdk();
|
|
24011
24192
|
init_swiftContract();
|
|
24193
|
+
init_swiftTargetContract();
|
|
24012
24194
|
SWIFT_DISTRIBUTION_MIRROR = ".peach-distribution";
|
|
24195
|
+
SWIFT_SDK_MIRROR = ".peach-sdk";
|
|
24196
|
+
SWIFT_SDK_MIRROR_ID = "peach-wasm-sdk";
|
|
24197
|
+
SWIFT_SDK_MIRROR_RECORD = ".peach-sdk-mirror.json";
|
|
24198
|
+
SWIFT_SDK_MIRROR_BUNDLE = "peach-wasm.artifactbundle";
|
|
24013
24199
|
}
|
|
24014
24200
|
});
|
|
24015
24201
|
|
|
@@ -37617,8 +37803,10 @@ function swiftPeachModules(moduleRoot) {
|
|
|
37617
37803
|
(0, import_node_fs55.readFileSync)(import_node_path53.default.join(moduleRoot, "Package.swift"), "utf8")
|
|
37618
37804
|
).filter((target) => !target.executable && !target.path.startsWith("fixtures/")).map((target) => target.name);
|
|
37619
37805
|
}
|
|
37620
|
-
function
|
|
37621
|
-
const
|
|
37806
|
+
function clearSwiftSdkPathsCache(sdkDir) {
|
|
37807
|
+
for (const key2 of sdkPaths.keys()) if (key2.includes(sdkDir)) sdkPaths.delete(key2);
|
|
37808
|
+
}
|
|
37809
|
+
function swiftSdkPaths(moduleRoot, toolchainBin, options2 = swiftCompileSdkOptions(moduleRoot, toolchainBin), sdk2 = swiftModuleSdk(moduleRoot).wasmSdkId) {
|
|
37622
37810
|
const key2 = JSON.stringify([toolchainBin, sdk2, options2]);
|
|
37623
37811
|
const cached2 = sdkPaths.get(key2);
|
|
37624
37812
|
if (cached2) return cached2;
|
|
@@ -41005,7 +41193,10 @@ function finishSwiftAppModuleFile(file) {
|
|
|
41005
41193
|
(0, import_node_fs61.appendFileSync)(file, Buffer.concat([header, nameBytes, thunks]));
|
|
41006
41194
|
}
|
|
41007
41195
|
function swiftAppModuleInputs(tokens2, buildRoot, sdkLibraries) {
|
|
41008
|
-
const owned = (token) =>
|
|
41196
|
+
const owned = (token) => {
|
|
41197
|
+
const resolved = import_node_path59.default.resolve(token);
|
|
41198
|
+
return resolved.startsWith(`${buildRoot}/`) && !resolved.startsWith(`${buildRoot}/${SWIFT_DISTRIBUTION_MIRROR}/`) && !resolved.startsWith(`${buildRoot}/${SWIFT_SDK_MIRROR}/`) && (!token.includes("/.peach-pruned-objs/") || token.endsWith("/swiftrt-patched.o"));
|
|
41199
|
+
};
|
|
41009
41200
|
const inputs2 = [];
|
|
41010
41201
|
for (const [index, token] of tokens2.entries()) {
|
|
41011
41202
|
if (token === "--start-lib") inputs2.push(token);
|
|
@@ -42460,6 +42651,7 @@ var init_swift_sdk_app_module = __esm({
|
|
|
42460
42651
|
import_node_zlib4 = require("node:zlib");
|
|
42461
42652
|
init_nativeSdkBindingContract();
|
|
42462
42653
|
init_nativeWasmContract();
|
|
42654
|
+
init_swift_distribution_mirror();
|
|
42463
42655
|
init_swift_guest_dyld_functions();
|
|
42464
42656
|
init_swift_guest_linked_spans();
|
|
42465
42657
|
init_swift_project_user();
|
|
@@ -43935,7 +44127,9 @@ var init_swift_objc_prebuilt = __esm({
|
|
|
43935
44127
|
init_internal_child_contract();
|
|
43936
44128
|
init_self_invocation();
|
|
43937
44129
|
init_native_prebuilt();
|
|
44130
|
+
init_swift_distribution_mirror();
|
|
43938
44131
|
init_swift_objc_prebuilt_catalog();
|
|
44132
|
+
init_swift_objc_standin();
|
|
43939
44133
|
init_swift_toolchain();
|
|
43940
44134
|
quote2 = (value) => "'" + value.replaceAll("'", "'\\''") + "'";
|
|
43941
44135
|
}
|
|
@@ -45516,7 +45710,7 @@ function syncSwiftTree(base, files2, alreadySynced) {
|
|
|
45516
45710
|
const full = import_node_path70.default.join(dir, entry.name);
|
|
45517
45711
|
if (dir === base && (entry.name === ".build" || entry.name === SWIFT_CACHE_HOLD_MARKER || entry.name.startsWith(".peach-modules-") || // distribution clang maps are written beside the project, so a sync
|
|
45518
45712
|
// must not remove them.
|
|
45519
|
-
entry.name === CLANG_DISTRIBUTION_MODULES || entry.name === SWIFT_DISTRIBUTION_MIRROR || entry.name === SWIFT_LINK_STAMP || entry.name === SWIFT_BUILD_ROOT_SHAPE))
|
|
45713
|
+
entry.name === CLANG_DISTRIBUTION_MODULES || entry.name === SWIFT_DISTRIBUTION_MIRROR || entry.name === SWIFT_SDK_MIRROR || entry.name === SWIFT_LINK_STAMP || entry.name === SWIFT_BUILD_ROOT_SHAPE))
|
|
45520
45714
|
continue;
|
|
45521
45715
|
if (entry.isDirectory()) walk4(full);
|
|
45522
45716
|
else if (!files2.has(full) && (!kept || !kept.has((0, import_node_fs70.lstatSync)(full).ino)))
|
|
@@ -46150,7 +46344,7 @@ function needsNativeToolset(input, prebuilt) {
|
|
|
46150
46344
|
input.packageFiles || prebuilt || Object.keys(input.files).some(isSwiftNativeTranslationUnit)
|
|
46151
46345
|
);
|
|
46152
46346
|
}
|
|
46153
|
-
function writeSwiftProject(layout2, input, moduleRoot, prebuilt, allowHeaderCompiler = false, objcPrebuiltStage) {
|
|
46347
|
+
function writeSwiftProject(layout2, input, moduleRoot, prebuilt, allowHeaderCompiler = false, objcPrebuiltStage, compileSdk) {
|
|
46154
46348
|
const nativeToolset = needsNativeToolset(input, prebuilt);
|
|
46155
46349
|
if (input.headerAliases !== void 0 && !isSwiftHeaderAliases(input.headerAliases))
|
|
46156
46350
|
throw new Error("swift compile input has invalid original header aliases");
|
|
@@ -46279,6 +46473,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
46279
46473
|
checkedToolchain = swiftToolchain(pin2.release, swiftModuleSdk(moduleRoot));
|
|
46280
46474
|
return checkedToolchain;
|
|
46281
46475
|
};
|
|
46476
|
+
const resolvedSdkPaths = (toolchainBin) => swiftSdkPaths(moduleRoot, toolchainBin, compileSdk?.options, compileSdk?.id);
|
|
46282
46477
|
const targetStagedFiles = /* @__PURE__ */ new Map();
|
|
46283
46478
|
const stageTargetFile = (target, file, contents2, options2) => {
|
|
46284
46479
|
const relative3 = import_node_path70.default.relative(layout2.root, file).split(import_node_path70.default.sep).join(import_node_path70.default.posix.sep);
|
|
@@ -46405,9 +46600,25 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
46405
46600
|
files2.set(destination, contents2);
|
|
46406
46601
|
}
|
|
46407
46602
|
}
|
|
46603
|
+
const binaryTreePrefix = `${SWIFT_BINARY_TREES_DIR}/`;
|
|
46604
|
+
const binaryTreeSegment = `/${SWIFT_BINARY_TREES_DIR}/`;
|
|
46605
|
+
const isBinaryTreeFile = (file) => file.startsWith(binaryTreePrefix) || file.includes(binaryTreeSegment);
|
|
46606
|
+
const stageBinaryTreeFile = (file, contents2) => {
|
|
46607
|
+
const destination = import_node_path70.default.join(layout2.root, file);
|
|
46608
|
+
if (files2.has(destination)) return;
|
|
46609
|
+
writeBuildFile(destination, contents2);
|
|
46610
|
+
alreadySynced.set(destination, contents2);
|
|
46611
|
+
files2.set(destination, contents2);
|
|
46612
|
+
};
|
|
46613
|
+
for (const [file, contents2] of Object.entries(input.files))
|
|
46614
|
+
if (isBinaryTreeFile(file)) stageBinaryTreeFile(file, contents2);
|
|
46615
|
+
for (const [file, bytes] of Object.entries(input.packageFiles ?? {}))
|
|
46616
|
+
if (isBinaryTreeFile(file) && !file.endsWith(".swift"))
|
|
46617
|
+
stageBinaryTreeFile(file, Buffer.from(bytes, "base64"));
|
|
46618
|
+
for (const [file, bytes] of Object.entries(input.projectFiles ?? {}))
|
|
46619
|
+
if (isBinaryTreeFile(file)) stageBinaryTreeFile(file, Buffer.from(bytes, "base64"));
|
|
46408
46620
|
const fromInputRoot = (file) => file.startsWith(`${SWIFT_NATIVE_INPUT_ROOT}/`) ? import_node_path70.default.join(layout2.root, file.slice(SWIFT_NATIVE_INPUT_ROOT.length + 1)) : file;
|
|
46409
46621
|
const inRoot = `${layout2.root}${import_node_path70.default.sep}`;
|
|
46410
|
-
const binaryTree = `${import_node_path70.default.sep}${SWIFT_BINARY_TREES_DIR}${import_node_path70.default.sep}`;
|
|
46411
46622
|
const headerSearch = writeXcodeHeaderSearch(
|
|
46412
46623
|
import_node_path70.default.join(layout2.root, ".build", "peach-xcode-headers"),
|
|
46413
46624
|
nativeTargets2.map((settings) => {
|
|
@@ -46459,7 +46670,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
46459
46670
|
import_node_path70.default.join(layout2.root, file)
|
|
46460
46671
|
])
|
|
46461
46672
|
),
|
|
46462
|
-
(file) => !file.startsWith(inRoot) || files2.has(file)
|
|
46673
|
+
(file) => !file.startsWith(inRoot) || files2.has(file)
|
|
46463
46674
|
);
|
|
46464
46675
|
const importModuleMaps = /* @__PURE__ */ new Map();
|
|
46465
46676
|
const sourceModuleMaps = /* @__PURE__ */ new Map();
|
|
@@ -46602,7 +46813,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
46602
46813
|
];
|
|
46603
46814
|
})();
|
|
46604
46815
|
const sdkInclude = import_node_path70.default.join(
|
|
46605
|
-
|
|
46816
|
+
resolvedSdkPaths(toolchainBin).sysroot,
|
|
46606
46817
|
"darwin/usr/include"
|
|
46607
46818
|
);
|
|
46608
46819
|
const dependencyModuleMaps = clangImportModuleMapFlags(
|
|
@@ -47349,7 +47560,8 @@ ${entry}`);
|
|
|
47349
47560
|
);
|
|
47350
47561
|
if (nativeFlags) {
|
|
47351
47562
|
const toolchainBin = nativeToolchain();
|
|
47352
|
-
const headers = import_node_path70.default.join(
|
|
47563
|
+
const headers = import_node_path70.default.join(resolvedSdkPaths(toolchainBin).sysroot, "darwin");
|
|
47564
|
+
const sdkOverlayDirectory = compileSdk?.id === SWIFT_SDK_MIRROR_ID ? import_node_path70.default.join(layout2.root, SWIFT_SDK_MIRROR) : void 0;
|
|
47353
47565
|
const dependencies2 = swiftTargetDependencies(input.files, targets);
|
|
47354
47566
|
const reachesNative = (name3, seen = /* @__PURE__ */ new Set()) => {
|
|
47355
47567
|
if (native.has(name3)) return true;
|
|
@@ -47367,7 +47579,12 @@ ${entry}`);
|
|
|
47367
47579
|
throw new Error(
|
|
47368
47580
|
target.name + ": missing or unsupported declared iOS deployment target " + JSON.stringify(version2)
|
|
47369
47581
|
);
|
|
47370
|
-
const sdkIntake = objcSdkIntakeFlags(
|
|
47582
|
+
const sdkIntake = objcSdkIntakeFlags(
|
|
47583
|
+
headers,
|
|
47584
|
+
toolchainBin,
|
|
47585
|
+
minimum,
|
|
47586
|
+
sdkOverlayDirectory
|
|
47587
|
+
);
|
|
47371
47588
|
const sdkOverlay = sdkIntake.indexOf("-ivfsoverlay");
|
|
47372
47589
|
if (sdkOverlay >= 0) generatedOverlays.add(sdkIntake[sdkOverlay + 1]);
|
|
47373
47590
|
const intake = [
|
|
@@ -47589,7 +47806,7 @@ ${entry}`);
|
|
|
47589
47806
|
distribution: distribution ?? void 0,
|
|
47590
47807
|
moduleExcludes,
|
|
47591
47808
|
deferDarwinOverlay: native.size > 0 && toolsetOrdersLibcxxBeforeDarwinOverlay(
|
|
47592
|
-
|
|
47809
|
+
resolvedSdkPaths(nativeToolchain()).cFlags
|
|
47593
47810
|
),
|
|
47594
47811
|
...reachesFrameworks ? {
|
|
47595
47812
|
distributionLink: {
|
|
@@ -47632,7 +47849,7 @@ ${entry}`);
|
|
|
47632
47849
|
...headerAliasFlags,
|
|
47633
47850
|
...native.size > 0 ? [
|
|
47634
47851
|
"-fmodule-map-file=" + import_node_path70.default.join(
|
|
47635
|
-
|
|
47852
|
+
resolvedSdkPaths(nativeToolchain()).sysroot,
|
|
47636
47853
|
"darwin/wasm/include/module.modulemap"
|
|
47637
47854
|
)
|
|
47638
47855
|
] : []
|
|
@@ -47642,7 +47859,7 @@ ${entry}`);
|
|
|
47642
47859
|
const prebuiltCompiler = distribution && objcPrebuiltStage !== false ? swiftObjCPrebuiltCompiler(
|
|
47643
47860
|
clang,
|
|
47644
47861
|
layout2.root,
|
|
47645
|
-
|
|
47862
|
+
resolvedSdkPaths(nativeToolchain()).sysroot,
|
|
47646
47863
|
distribution.id,
|
|
47647
47864
|
[...native.keys()],
|
|
47648
47865
|
objcPrebuiltStage
|
|
@@ -47900,12 +48117,55 @@ package.targets += [.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON
|
|
|
47900
48117
|
`;
|
|
47901
48118
|
return name3;
|
|
47902
48119
|
};
|
|
47903
|
-
const
|
|
47904
|
-
|
|
47905
|
-
|
|
47906
|
-
|
|
48120
|
+
const producerUnitCount = /* @__PURE__ */ new Map();
|
|
48121
|
+
for (const target of targets) {
|
|
48122
|
+
if (!producerSet.has(target.name)) continue;
|
|
48123
|
+
producerUnitCount.set(
|
|
48124
|
+
target.name,
|
|
48125
|
+
Math.max(
|
|
48126
|
+
1,
|
|
48127
|
+
targetEntries(target).filter(([file]) => file.endsWith(".swift")).length
|
|
48128
|
+
)
|
|
48129
|
+
);
|
|
48130
|
+
}
|
|
48131
|
+
const MAX_HEADER_STAGE_TARGETS = 100;
|
|
48132
|
+
const MAX_HEADER_STAGE_UNITS = 400;
|
|
48133
|
+
const chunkHeaderProducers = (producers2) => {
|
|
48134
|
+
const levelOrdered = [...producers2].sort(
|
|
48135
|
+
(left, right) => depths.get(left) - depths.get(right)
|
|
48136
|
+
);
|
|
48137
|
+
const totalUnits = levelOrdered.reduce(
|
|
48138
|
+
(sum, name3) => sum + (producerUnitCount.get(name3) ?? 1),
|
|
48139
|
+
0
|
|
48140
|
+
);
|
|
48141
|
+
if (levelOrdered.length <= 1 || levelOrdered.length <= MAX_HEADER_STAGE_TARGETS && totalUnits <= MAX_HEADER_STAGE_UNITS) {
|
|
48142
|
+
return [
|
|
48143
|
+
{
|
|
48144
|
+
target: buildProduct(SWIFT_HEADER_PRODUCTS_TARGET, levelOrdered),
|
|
48145
|
+
producers: levelOrdered
|
|
48146
|
+
}
|
|
48147
|
+
];
|
|
48148
|
+
}
|
|
48149
|
+
const chunks = [];
|
|
48150
|
+
let current2 = [];
|
|
48151
|
+
let units = 0;
|
|
48152
|
+
for (const name3 of levelOrdered) {
|
|
48153
|
+
const size2 = producerUnitCount.get(name3) ?? 1;
|
|
48154
|
+
if (current2.length > 0 && (current2.length >= MAX_HEADER_STAGE_TARGETS || units + size2 > MAX_HEADER_STAGE_UNITS)) {
|
|
48155
|
+
chunks.push(current2);
|
|
48156
|
+
current2 = [];
|
|
48157
|
+
units = 0;
|
|
48158
|
+
}
|
|
48159
|
+
current2.push(name3);
|
|
48160
|
+
units += size2;
|
|
47907
48161
|
}
|
|
47908
|
-
|
|
48162
|
+
if (current2.length > 0) chunks.push(current2);
|
|
48163
|
+
return chunks.map((members2, index) => ({
|
|
48164
|
+
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${index + 1}`, members2),
|
|
48165
|
+
producers: members2
|
|
48166
|
+
}));
|
|
48167
|
+
};
|
|
48168
|
+
const headerBuilds = headerCompiler ? chunkHeaderProducers(orderedProducers) : [...stages].sort(([left], [right]) => left - right).map(([level, producers2]) => ({
|
|
47909
48169
|
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${level}`, producers2),
|
|
47910
48170
|
producers: producers2
|
|
47911
48171
|
}));
|
|
@@ -49432,8 +49692,15 @@ ${compatShape}` : "";
|
|
|
49432
49692
|
frameworkLease
|
|
49433
49693
|
);
|
|
49434
49694
|
const compileFrameworkRoot2 = distribution ? swiftDistributionCompileView(frameworkRoot2, distribution) : frameworkRoot2;
|
|
49435
|
-
const
|
|
49436
|
-
const
|
|
49695
|
+
const sdk2 = swiftModuleSdk(frameworkRoot2).wasmSdkId;
|
|
49696
|
+
const compileSdk2 = mirrorDistribution ? syncSwiftSdkMirror(root2, frameworkRoot2, options2.toolchainBin, sdk2) : {
|
|
49697
|
+
id: sdk2,
|
|
49698
|
+
options: swiftCompileSdkOptions(frameworkRoot2, options2.toolchainBin),
|
|
49699
|
+
toolsetChanged: false
|
|
49700
|
+
};
|
|
49701
|
+
if (mirrorDistribution && compileSdk2.toolsetChanged)
|
|
49702
|
+
clearSwiftSdkPathsCache(import_node_path70.default.join(root2, SWIFT_SDK_MIRROR));
|
|
49703
|
+
const icu2 = options2.linkOnly ? null : swiftIcuAsset(options2.toolchainBin, sdk2);
|
|
49437
49704
|
let prebuilt2;
|
|
49438
49705
|
if (!distribution) {
|
|
49439
49706
|
if (allowWrite) stage("compiling framework products");
|
|
@@ -49444,7 +49711,7 @@ ${compatShape}` : "";
|
|
|
49444
49711
|
frameworkKey,
|
|
49445
49712
|
input,
|
|
49446
49713
|
swift,
|
|
49447
|
-
sdk:
|
|
49714
|
+
sdk: sdk2,
|
|
49448
49715
|
toolchainBin: options2.toolchainBin,
|
|
49449
49716
|
plugins: macroPlugins2,
|
|
49450
49717
|
buildOptions: {
|
|
@@ -49469,7 +49736,8 @@ ${compatShape}` : "";
|
|
|
49469
49736
|
frameworkRoot: frameworkRoot2,
|
|
49470
49737
|
compileFrameworkRoot: compileFrameworkRoot2,
|
|
49471
49738
|
macroPlugins: macroPlugins2,
|
|
49472
|
-
sdk:
|
|
49739
|
+
sdk: sdk2,
|
|
49740
|
+
compileSdk: compileSdk2,
|
|
49473
49741
|
icu: icu2,
|
|
49474
49742
|
prebuilt: prebuilt2,
|
|
49475
49743
|
readHold: readHold2
|
|
@@ -49490,7 +49758,7 @@ ${compatShape}` : "";
|
|
|
49490
49758
|
frameworkRoot,
|
|
49491
49759
|
compileFrameworkRoot,
|
|
49492
49760
|
macroPlugins,
|
|
49493
|
-
|
|
49761
|
+
compileSdk,
|
|
49494
49762
|
icu,
|
|
49495
49763
|
prebuilt
|
|
49496
49764
|
} = frameworks;
|
|
@@ -49508,13 +49776,13 @@ ${compatShape}` : "";
|
|
|
49508
49776
|
if (retireStaleSwiftLink(
|
|
49509
49777
|
root2,
|
|
49510
49778
|
swiftLinkStamp({
|
|
49511
|
-
frameworkKey: `${options2.release}\0${Boolean(distribution)}\0${swiftModuleSdk(frameworkRoot).wasmSdkId}`,
|
|
49779
|
+
frameworkKey: mirrorDistribution ? `${options2.release}\0mirror` : `${options2.release}\0${Boolean(distribution)}\0${swiftModuleSdk(frameworkRoot).wasmSdkId}`,
|
|
49512
49780
|
packageHostMacros
|
|
49513
49781
|
}),
|
|
49514
49782
|
swiftLinkStamp({
|
|
49515
|
-
//
|
|
49516
|
-
//
|
|
49517
|
-
frameworkKey: distribution ? `${options2.release}\0${distribution.wasmSdkChecksum}` : frameworkKey,
|
|
49783
|
+
// mirrored distributions and their WASI SDK mirror invalidate
|
|
49784
|
+
// dependents per changed file instead of wiping every Clang object.
|
|
49785
|
+
frameworkKey: mirrorDistribution ? `${options2.release}\0mirror` : distribution ? `${options2.release}\0${distribution.wasmSdkChecksum}` : frameworkKey,
|
|
49518
49786
|
prebuilt,
|
|
49519
49787
|
packageHostMacros
|
|
49520
49788
|
}),
|
|
@@ -49528,7 +49796,8 @@ ${compatShape}` : "";
|
|
|
49528
49796
|
frameworkRoot,
|
|
49529
49797
|
prebuilt,
|
|
49530
49798
|
!options2.project,
|
|
49531
|
-
options2.project ? false : options2.objcPrebuiltStage ?? (options2.intermediates ? false : void 0)
|
|
49799
|
+
options2.project ? false : options2.objcPrebuiltStage ?? (options2.intermediates ? false : void 0),
|
|
49800
|
+
compileSdk
|
|
49532
49801
|
);
|
|
49533
49802
|
const productFile = import_node_path70.default.join(frameworkRoot, SWIFT_FRAMEWORK_PRODUCT_FILE);
|
|
49534
49803
|
writeSwiftAutolinkLinker(
|
|
@@ -49604,6 +49873,7 @@ ${compatShape}` : "";
|
|
|
49604
49873
|
const jobs = swiftCompilerJobs();
|
|
49605
49874
|
const incrementalPreview = sdkImage !== void 0 && !guestGraph && !options2.project && !input.optimize && !input.unoptimized;
|
|
49606
49875
|
const perFile = input.unoptimized || incrementalPreview;
|
|
49876
|
+
const reproducibleFrameworkRoot = mirrorDistribution ? frameworkRoot : compileFrameworkRoot;
|
|
49607
49877
|
const buildArgs = [
|
|
49608
49878
|
"build",
|
|
49609
49879
|
...projectProcess?.cacheOptions ?? swiftPackageCacheOptions(),
|
|
@@ -49613,10 +49883,10 @@ ${compatShape}` : "";
|
|
|
49613
49883
|
String(jobs),
|
|
49614
49884
|
"--package-path",
|
|
49615
49885
|
root2,
|
|
49616
|
-
...
|
|
49886
|
+
...compileSdk.options,
|
|
49617
49887
|
...swiftObjCSelectorOptions(frameworkRoot),
|
|
49618
49888
|
"--swift-sdk",
|
|
49619
|
-
|
|
49889
|
+
compileSdk.id,
|
|
49620
49890
|
...preparation.targetToolset ? ["--toolset", import_node_path70.default.join(root2, ".peach-target-toolset.json")] : [],
|
|
49621
49891
|
"-c",
|
|
49622
49892
|
"release",
|
|
@@ -49651,7 +49921,7 @@ ${compatShape}` : "";
|
|
|
49651
49921
|
],
|
|
49652
49922
|
...swiftReproducibleBuildFlags([
|
|
49653
49923
|
[import_node_path70.default.dirname(options2.toolchainBin), "toolchain"],
|
|
49654
|
-
[
|
|
49924
|
+
[reproducibleFrameworkRoot, "framework"],
|
|
49655
49925
|
[root2, "build"],
|
|
49656
49926
|
...forwarders
|
|
49657
49927
|
]).flatMap((flag, index, flags) => {
|
|
@@ -49661,8 +49931,8 @@ ${compatShape}` : "";
|
|
|
49661
49931
|
let mapped = flag;
|
|
49662
49932
|
for (const [dir, target] of [
|
|
49663
49933
|
[root2, "/peach/build"],
|
|
49664
|
-
[
|
|
49665
|
-
[(0, import_node_fs70.realpathSync)(
|
|
49934
|
+
[reproducibleFrameworkRoot, "/peach/framework"],
|
|
49935
|
+
[(0, import_node_fs70.realpathSync)(reproducibleFrameworkRoot), "/peach/framework"],
|
|
49666
49936
|
[toolchainDir, "/peach/toolchain"],
|
|
49667
49937
|
[(0, import_node_fs70.realpathSync)(toolchainDir), "/peach/toolchain"]
|
|
49668
49938
|
]) {
|
|
@@ -49691,8 +49961,14 @@ ${compatShape}` : "";
|
|
|
49691
49961
|
(0, import_node_fs70.rmSync)(linked, { force: true });
|
|
49692
49962
|
stage("compiling and linking Swift modules");
|
|
49693
49963
|
const frameworkInterfaces = /* @__PURE__ */ new Map();
|
|
49964
|
+
const compileSdkPaths = swiftSdkPaths(
|
|
49965
|
+
frameworkRoot,
|
|
49966
|
+
options2.toolchainBin,
|
|
49967
|
+
compileSdk.options,
|
|
49968
|
+
compileSdk.id
|
|
49969
|
+
);
|
|
49694
49970
|
const sdkFrameworks = import_node_path70.default.join(
|
|
49695
|
-
|
|
49971
|
+
compileSdkPaths.darwin,
|
|
49696
49972
|
"System/Library/Frameworks"
|
|
49697
49973
|
);
|
|
49698
49974
|
const generatedInterface = (source) => withoutImportedSdkEnumForwards(
|
|
@@ -49896,7 +50172,7 @@ ${compatShape}` : "";
|
|
|
49896
50172
|
options2.toolchainBin,
|
|
49897
50173
|
recipe2,
|
|
49898
50174
|
new Map(
|
|
49899
|
-
preparation.headerBuilds
|
|
50175
|
+
preparation.headerBuilds.flatMap((stage2) => stage2.producers).map((producer) => {
|
|
49900
50176
|
const paths = headerPaths(producer);
|
|
49901
50177
|
return [
|
|
49902
50178
|
swiftTargetModuleName(producer),
|
|
@@ -49990,7 +50266,7 @@ ${compatShape}` : "";
|
|
|
49990
50266
|
moduleRoot: frameworkRoot,
|
|
49991
50267
|
toolchainBin: options2.toolchainBin,
|
|
49992
50268
|
swiftCompiler: preparation.headerCompiler ? import_node_path70.default.join(root2, SWIFT_HEADER_COMPILER_WRAPPER) : compiler.SWIFT_EXEC ?? import_node_path70.default.join(options2.toolchainBin, "swiftc"),
|
|
49993
|
-
sysroot:
|
|
50269
|
+
sysroot: compileSdkPaths.sysroot,
|
|
49994
50270
|
sdk: swiftModuleSdk(frameworkRoot),
|
|
49995
50271
|
sdkImage,
|
|
49996
50272
|
compilerDigest: compilerSourceDigest,
|
|
@@ -50020,9 +50296,7 @@ ${compatShape}` : "";
|
|
|
50020
50296
|
project: options2.project && {
|
|
50021
50297
|
...options2.project,
|
|
50022
50298
|
env: { ...options2.project.env, ...projectProcess?.env },
|
|
50023
|
-
sdkRoot: import_node_path70.default.dirname(
|
|
50024
|
-
swiftSdkPaths(frameworkRoot, options2.toolchainBin).sysroot
|
|
50025
|
-
),
|
|
50299
|
+
sdkRoot: import_node_path70.default.dirname(compileSdkPaths.sysroot),
|
|
50026
50300
|
linked: output
|
|
50027
50301
|
}
|
|
50028
50302
|
});
|
|
@@ -50283,7 +50557,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
50283
50557
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
50284
50558
|
MULTI_MANIFEST_VERSION = 76;
|
|
50285
50559
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
50286
|
-
compilerSourceDigest = true ? "
|
|
50560
|
+
compilerSourceDigest = true ? "404914a824c2f550a36612007732c8afa8459125cb02e28f12c34e2e6d8878d3" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
50287
50561
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
50288
50562
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
50289
50563
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -78811,112 +79085,112 @@ var init_native_static_libraries = __esm({
|
|
|
78811
79085
|
name: "skia",
|
|
78812
79086
|
nativeSha256: "5312f2b194b1f6b6721388028bf919e56400278245b039f47136aa98f0582333",
|
|
78813
79087
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
78814
|
-
recipe: "
|
|
79088
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78815
79089
|
archive: "libskia.a"
|
|
78816
79090
|
},
|
|
78817
79091
|
{
|
|
78818
79092
|
name: "skia_svg",
|
|
78819
79093
|
nativeSha256: "77adc498cff85db7850fb713c306681c6337f9b4ec42991b3764c8f3eff9d8d0",
|
|
78820
79094
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
78821
|
-
recipe: "
|
|
79095
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78822
79096
|
archive: "libsvg.a"
|
|
78823
79097
|
},
|
|
78824
79098
|
{
|
|
78825
79099
|
name: "skia_skshaper",
|
|
78826
79100
|
nativeSha256: "830bcf260bd24fd79ee5d323e26ec667638795e3a0e555f1093371b8342c345c",
|
|
78827
79101
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
78828
|
-
recipe: "
|
|
79102
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78829
79103
|
archive: "libskshaper.a"
|
|
78830
79104
|
},
|
|
78831
79105
|
{
|
|
78832
79106
|
name: "skia_skparagraph",
|
|
78833
79107
|
nativeSha256: "26afd4e5b11d46b0820a2cd7fd9918eb5a041946e1a1c0d4b91a5d54877e9dda",
|
|
78834
79108
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
78835
|
-
recipe: "
|
|
79109
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78836
79110
|
archive: "libskparagraph.a"
|
|
78837
79111
|
},
|
|
78838
79112
|
{
|
|
78839
79113
|
name: "skia_skunicode_core",
|
|
78840
79114
|
nativeSha256: "629f58c4e81157d42e353b2b255bebb2fd94d1f31d8f8157e982fa4367710526",
|
|
78841
79115
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
78842
|
-
recipe: "
|
|
79116
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78843
79117
|
archive: "libskunicode_core.a"
|
|
78844
79118
|
},
|
|
78845
79119
|
{
|
|
78846
79120
|
name: "skia_skunicode_libgrapheme",
|
|
78847
79121
|
nativeSha256: "047bd82306ba688453a3ff9dc02e203cdf16f2084551cca54f5d2b099baf1895",
|
|
78848
79122
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
78849
|
-
recipe: "
|
|
79123
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78850
79124
|
archive: "libskunicode_libgrapheme.a"
|
|
78851
79125
|
},
|
|
78852
79126
|
{
|
|
78853
79127
|
name: "skia_skottie",
|
|
78854
79128
|
nativeSha256: "75c0dfd82a256e761cddc45475b8109ed8c9a442767cf3a8bf8720eef0dd4af7",
|
|
78855
79129
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
78856
|
-
recipe: "
|
|
79130
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78857
79131
|
archive: "libskottie.a"
|
|
78858
79132
|
},
|
|
78859
79133
|
{
|
|
78860
79134
|
name: "skia_sksg",
|
|
78861
79135
|
nativeSha256: "df9652a46505d3c5c74d55b52295ef39218d2b5856e074117461fa2348312c8d",
|
|
78862
79136
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
78863
|
-
recipe: "
|
|
79137
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78864
79138
|
archive: "libsksg.a"
|
|
78865
79139
|
},
|
|
78866
79140
|
{
|
|
78867
79141
|
name: "skia",
|
|
78868
79142
|
nativeSha256: "c9b007c4da16f66d84b2f108af719b424ef91ee0759e58df0b76930bc6f82e31",
|
|
78869
79143
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
78870
|
-
recipe: "
|
|
79144
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78871
79145
|
archive: "libskia.a"
|
|
78872
79146
|
},
|
|
78873
79147
|
{
|
|
78874
79148
|
name: "skia_svg",
|
|
78875
79149
|
nativeSha256: "159705737769610b60216b114a28ba833840aa1df7833424df99edec4405b86f",
|
|
78876
79150
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
78877
|
-
recipe: "
|
|
79151
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78878
79152
|
archive: "libsvg.a"
|
|
78879
79153
|
},
|
|
78880
79154
|
{
|
|
78881
79155
|
name: "skia_skshaper",
|
|
78882
79156
|
nativeSha256: "934f3dbf3f38bca87b463b664a17c1588840f86ec89cf6961fb2a89b6336b35b",
|
|
78883
79157
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
78884
|
-
recipe: "
|
|
79158
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78885
79159
|
archive: "libskshaper.a"
|
|
78886
79160
|
},
|
|
78887
79161
|
{
|
|
78888
79162
|
name: "skia_skparagraph",
|
|
78889
79163
|
nativeSha256: "29a48349fc9b75c252b22fc6ca5ade90636900f82beec58780f03fd66ab345b3",
|
|
78890
79164
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
78891
|
-
recipe: "
|
|
79165
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78892
79166
|
archive: "libskparagraph.a"
|
|
78893
79167
|
},
|
|
78894
79168
|
{
|
|
78895
79169
|
name: "skia_skunicode_core",
|
|
78896
79170
|
nativeSha256: "096e5139c4de528dbba5a9605895f4c725853e48225503bdfa9c1d70241e5f58",
|
|
78897
79171
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
78898
|
-
recipe: "
|
|
79172
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78899
79173
|
archive: "libskunicode_core.a"
|
|
78900
79174
|
},
|
|
78901
79175
|
{
|
|
78902
79176
|
name: "skia_skunicode_libgrapheme",
|
|
78903
79177
|
nativeSha256: "d1ec3c2d5ad6889eb4fbf4a6bab74f39946739501d40de903f7d8cb2181ac37d",
|
|
78904
79178
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
78905
|
-
recipe: "
|
|
79179
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78906
79180
|
archive: "libskunicode_libgrapheme.a"
|
|
78907
79181
|
},
|
|
78908
79182
|
{
|
|
78909
79183
|
name: "skia_skottie",
|
|
78910
79184
|
nativeSha256: "52ea2e046f45f51df6027d783e923864e8c4ef94a1fe4fc5971e436574d8ae57",
|
|
78911
79185
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
78912
|
-
recipe: "
|
|
79186
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78913
79187
|
archive: "libskottie.a"
|
|
78914
79188
|
},
|
|
78915
79189
|
{
|
|
78916
79190
|
name: "skia_sksg",
|
|
78917
79191
|
nativeSha256: "541a74d8f83dc411efe8eeac377486a5054fab4c7710afe406a20a27efe8f627",
|
|
78918
79192
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
78919
|
-
recipe: "
|
|
79193
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
78920
79194
|
archive: "libsksg.a"
|
|
78921
79195
|
},
|
|
78922
79196
|
{
|
|
@@ -105669,7 +105943,7 @@ var init_nitro_superset = __esm({
|
|
|
105669
105943
|
init_nitroContract();
|
|
105670
105944
|
init_swift_standin_digest();
|
|
105671
105945
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105672
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
105946
|
+
NITRO_COMPILER_DIGEST = true ? "61b3b5dc20fe5b64808415a8f9ef336a84a5a1c498d9b6f9362e41c0b5a37f73" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105673
105947
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105674
105948
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105675
105949
|
published2 = /* @__PURE__ */ new Map();
|