peachsim 0.1.2034 → 0.1.2035
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 +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +17 -9
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +16 -8
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +17 -9
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +2 -2
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +2 -2
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +17 -9
- package/dist-lib/swift-compile.cjs +14 -6
- package/dist-lib/swift-compile.mjs +14 -6
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +15 -7
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/swift-wasm-prune.ts +15 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (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;
|
|
@@ -47279,10 +47279,18 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
47279
47279
|
swiftrtOrigPath = t;
|
|
47280
47280
|
} else if (/\.(?:c|cc|cpp|cxx|m|mm)\.o$/.test(t) && staticClangTargets.some((name3) => t.includes(`/${name3}.build/`))) {
|
|
47281
47281
|
const obj = parseWasmObjectCached(t, false, false);
|
|
47282
|
-
|
|
47283
|
-
|
|
47284
|
-
|
|
47285
|
-
|
|
47282
|
+
let definesObjCClassOrCategory = false;
|
|
47283
|
+
for (let i = 0; i < obj.symKind.length; i++) {
|
|
47284
|
+
if (obj.symKind[i] !== 1) continue;
|
|
47285
|
+
const fl = obj.symFlags[i];
|
|
47286
|
+
if ((fl & 16) !== 0 || (fl & 3) === 1) continue;
|
|
47287
|
+
const seg = obj.segNames[obj.symElemIdx[i]];
|
|
47288
|
+
if (seg === "__objc_classes" || seg === "__objc_cats") {
|
|
47289
|
+
definesObjCClassOrCategory = true;
|
|
47290
|
+
break;
|
|
47291
|
+
}
|
|
47292
|
+
}
|
|
47293
|
+
if (definesObjCClassOrCategory) eagerFiles.push(t);
|
|
47286
47294
|
else lazyBuildObjects.set(t, obj);
|
|
47287
47295
|
} else {
|
|
47288
47296
|
eagerFiles.push(t);
|
|
@@ -57547,7 +57555,7 @@ var init_swift_compile = __esm({
|
|
|
57547
57555
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
57548
57556
|
MULTI_MANIFEST_VERSION = 68;
|
|
57549
57557
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
57550
|
-
compilerSourceDigest = true ? "
|
|
57558
|
+
compilerSourceDigest = true ? "8bfee40c50f3384e195625fc284db244920750e59803861ba88123902c7e0aee" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
57551
57559
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
57552
57560
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
57553
57561
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -63949,7 +63957,7 @@ var init_swift_standin_digest = __esm({
|
|
|
63949
63957
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
63950
63958
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
63951
63959
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
63952
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
63960
|
+
STANDIN_SOURCE_DIGEST = true ? "3528dc56a076f4b40bf55f9894854c4d3a6af94247c9964bd711195d1e6e5540" : standinSourceDigest();
|
|
63953
63961
|
}
|
|
63954
63962
|
});
|
|
63955
63963
|
|
|
@@ -64679,7 +64687,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
64679
64687
|
init_swift_native_pin();
|
|
64680
64688
|
init_xcode_project();
|
|
64681
64689
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
64682
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
64690
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "311d9b65aca8782080a7a457434fe1f33995df250c44edba6c275f802a3433ed" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64683
64691
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
64684
64692
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
64685
64693
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -83230,7 +83238,7 @@ var init_nitro_superset = __esm({
|
|
|
83230
83238
|
init_swift_standin_digest();
|
|
83231
83239
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
83232
83240
|
packageVersion = (root) => JSON.parse((0, import_node_fs94.readFileSync)((0, import_node_path91.join)(root, "package.json"), "utf8")).version;
|
|
83233
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
83241
|
+
NITRO_COMPILER_DIGEST = true ? "d28453d9f3a4f35f1172b5b09fdfb32847650a2eae8a0f57ec0b0f57d63ed151" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
83234
83242
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
83235
83243
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
83236
83244
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (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;
|
|
@@ -5778,10 +5778,18 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
5778
5778
|
swiftrtOrigPath = t;
|
|
5779
5779
|
} else if (/\.(?:c|cc|cpp|cxx|m|mm)\.o$/.test(t) && staticClangTargets.some((name2) => t.includes(`/${name2}.build/`))) {
|
|
5780
5780
|
const obj = parseWasmObjectCached(t, false, false);
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5781
|
+
let definesObjCClassOrCategory = false;
|
|
5782
|
+
for (let i = 0; i < obj.symKind.length; i++) {
|
|
5783
|
+
if (obj.symKind[i] !== 1) continue;
|
|
5784
|
+
const fl = obj.symFlags[i];
|
|
5785
|
+
if ((fl & 16) !== 0 || (fl & 3) === 1) continue;
|
|
5786
|
+
const seg = obj.segNames[obj.symElemIdx[i]];
|
|
5787
|
+
if (seg === "__objc_classes" || seg === "__objc_cats") {
|
|
5788
|
+
definesObjCClassOrCategory = true;
|
|
5789
|
+
break;
|
|
5790
|
+
}
|
|
5791
|
+
}
|
|
5792
|
+
if (definesObjCClassOrCategory) eagerFiles.push(t);
|
|
5785
5793
|
else lazyBuildObjects.set(t, obj);
|
|
5786
5794
|
} else {
|
|
5787
5795
|
eagerFiles.push(t);
|
|
@@ -12420,7 +12428,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12420
12428
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12421
12429
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12422
12430
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12423
|
-
var compilerSourceDigest = true ? "
|
|
12431
|
+
var compilerSourceDigest = true ? "8bfee40c50f3384e195625fc284db244920750e59803861ba88123902c7e0aee" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12424
12432
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12425
12433
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
12426
12434
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -5726,10 +5726,18 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
5726
5726
|
swiftrtOrigPath = t;
|
|
5727
5727
|
} else if (/\.(?:c|cc|cpp|cxx|m|mm)\.o$/.test(t) && staticClangTargets.some((name2) => t.includes(`/${name2}.build/`))) {
|
|
5728
5728
|
const obj = parseWasmObjectCached(t, false, false);
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5729
|
+
let definesObjCClassOrCategory = false;
|
|
5730
|
+
for (let i = 0; i < obj.symKind.length; i++) {
|
|
5731
|
+
if (obj.symKind[i] !== 1) continue;
|
|
5732
|
+
const fl = obj.symFlags[i];
|
|
5733
|
+
if ((fl & 16) !== 0 || (fl & 3) === 1) continue;
|
|
5734
|
+
const seg = obj.segNames[obj.symElemIdx[i]];
|
|
5735
|
+
if (seg === "__objc_classes" || seg === "__objc_cats") {
|
|
5736
|
+
definesObjCClassOrCategory = true;
|
|
5737
|
+
break;
|
|
5738
|
+
}
|
|
5739
|
+
}
|
|
5740
|
+
if (definesObjCClassOrCategory) eagerFiles.push(t);
|
|
5733
5741
|
else lazyBuildObjects.set(t, obj);
|
|
5734
5742
|
} else {
|
|
5735
5743
|
eagerFiles.push(t);
|
|
@@ -12402,7 +12410,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12402
12410
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12403
12411
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12404
12412
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12405
|
-
var compilerSourceDigest = true ? "
|
|
12413
|
+
var compilerSourceDigest = true ? "8bfee40c50f3384e195625fc284db244920750e59803861ba88123902c7e0aee" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
12406
12414
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12407
12415
|
const hash = createHash13("sha256");
|
|
12408
12416
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (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;
|
|
@@ -10456,10 +10456,18 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
10456
10456
|
swiftrtOrigPath = t;
|
|
10457
10457
|
} else if (/\.(?:c|cc|cpp|cxx|m|mm)\.o$/.test(t) && staticClangTargets.some((name3) => t.includes(`/${name3}.build/`))) {
|
|
10458
10458
|
const obj = parseWasmObjectCached(t, false, false);
|
|
10459
|
-
|
|
10460
|
-
|
|
10461
|
-
|
|
10462
|
-
|
|
10459
|
+
let definesObjCClassOrCategory = false;
|
|
10460
|
+
for (let i = 0; i < obj.symKind.length; i++) {
|
|
10461
|
+
if (obj.symKind[i] !== 1) continue;
|
|
10462
|
+
const fl = obj.symFlags[i];
|
|
10463
|
+
if ((fl & 16) !== 0 || (fl & 3) === 1) continue;
|
|
10464
|
+
const seg = obj.segNames[obj.symElemIdx[i]];
|
|
10465
|
+
if (seg === "__objc_classes" || seg === "__objc_cats") {
|
|
10466
|
+
definesObjCClassOrCategory = true;
|
|
10467
|
+
break;
|
|
10468
|
+
}
|
|
10469
|
+
}
|
|
10470
|
+
if (definesObjCClassOrCategory) eagerFiles.push(t);
|
|
10463
10471
|
else lazyBuildObjects.set(t, obj);
|
|
10464
10472
|
} else {
|
|
10465
10473
|
eagerFiles.push(t);
|
|
@@ -16988,7 +16996,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
16988
16996
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16989
16997
|
var MULTI_MANIFEST_VERSION = 68;
|
|
16990
16998
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16991
|
-
var compilerSourceDigest = true ? "
|
|
16999
|
+
var compilerSourceDigest = true ? "8bfee40c50f3384e195625fc284db244920750e59803861ba88123902c7e0aee" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
16992
17000
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16993
17001
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
16994
17002
|
hash.update(`swift-compile
|
|
@@ -29999,7 +30007,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
29999
30007
|
return hash.digest("hex");
|
|
30000
30008
|
}
|
|
30001
30009
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
30002
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
30010
|
+
var STANDIN_SOURCE_DIGEST = true ? "3528dc56a076f4b40bf55f9894854c4d3a6af94247c9964bd711195d1e6e5540" : standinSourceDigest();
|
|
30003
30011
|
|
|
30004
30012
|
// src/swift-standins.ts
|
|
30005
30013
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2035 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/package.json
CHANGED
package/src/swift-wasm-prune.ts
CHANGED
|
@@ -1168,13 +1168,22 @@ export function pruneSwiftWasmLink(
|
|
|
1168
1168
|
// CocoaPods links a pod as a static archive under -ObjC, which loads
|
|
1169
1169
|
// every member defining an Objective-C class or category; any other
|
|
1170
1170
|
// member, Objective-C or not, is extracted only for a symbol it resolves.
|
|
1171
|
+
// clang's wasm objc abi names __objc_classes and __objc_cats in every
|
|
1172
|
+
// object for the weak .objc_null_* placeholders, so a segment name is
|
|
1173
|
+
// not itself a class or category. a real one is a non-weak data symbol.
|
|
1171
1174
|
const obj = parseWasmObjectCached(t, false, false)
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1175
|
+
let definesObjCClassOrCategory = false
|
|
1176
|
+
for (let i = 0; i < obj.symKind.length; i++) {
|
|
1177
|
+
if (obj.symKind[i] !== 1) continue
|
|
1178
|
+
const fl = obj.symFlags[i]!
|
|
1179
|
+
if ((fl & 0x10) !== 0 || (fl & 0x03) === 0x01) continue
|
|
1180
|
+
const seg = obj.segNames[obj.symElemIdx[i]!]
|
|
1181
|
+
if (seg === '__objc_classes' || seg === '__objc_cats') {
|
|
1182
|
+
definesObjCClassOrCategory = true
|
|
1183
|
+
break
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
if (definesObjCClassOrCategory) eagerFiles.push(t)
|
|
1178
1187
|
else lazyBuildObjects.set(t, obj)
|
|
1179
1188
|
} else {
|
|
1180
1189
|
eagerFiles.push(t)
|