crossbind 2.0.0-beta.58 → 2.0.0-beta.60
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "crossbind",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.60",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://crossbind.dev",
|
|
6
6
|
"repository": "https://github.com/crossbind/crossbind.git",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"test:coverage": "vitest run --coverage"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@vitest/coverage-v8": "^
|
|
23
|
-
"vitest": "^
|
|
22
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
23
|
+
"vitest": "^5.0.1"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@rollup/plugin-commonjs": "^29.0.3",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"log-update": "^8.0.0",
|
|
34
34
|
"picocolors": "^1.1.1",
|
|
35
35
|
"replace": "^1.2.2",
|
|
36
|
-
"rollup": "^4.
|
|
36
|
+
"rollup": "^4.63.4",
|
|
37
37
|
"spdx-expression-parse": "^5.0.0",
|
|
38
38
|
"upath": "^3.0.8"
|
|
39
39
|
},
|
package/src/actions/run.js
CHANGED
|
@@ -11,7 +11,7 @@ import { wasiCFlags, wasiCxxFlags, resolveWasiSdkPath, WASI_TARGET_TRIPLE } from
|
|
|
11
11
|
const EXEC_MAX_BUFFER = 512 * 1024 * 1024;
|
|
12
12
|
const CROSSCOMPILER_ARM64 = 'aarch64-linux-android33';
|
|
13
13
|
const CROSSCOMPILER_x86_64 = 'x86_64-linux-android33';
|
|
14
|
-
const ANDROID_NDK = '/opt/android-sdk/ndk/
|
|
14
|
+
const ANDROID_NDK = '/opt/android-sdk/ndk/current';
|
|
15
15
|
const t = `${ANDROID_NDK}/toolchains/llvm/prebuilt/linux-x86_64/bin`;
|
|
16
16
|
const t2 = `${ANDROID_NDK}/toolchains/llvm/prebuilt/linux-x86_64`;
|
|
17
17
|
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.0.6",
|
|
3
3
|
"registry": "ghcr.io/crossbind",
|
|
4
4
|
"toolchains": {
|
|
5
5
|
"rust": "1.98.1"
|
|
6
6
|
},
|
|
7
7
|
"images": {
|
|
8
8
|
"rust-sysroot": {
|
|
9
|
-
"index": "sha256:
|
|
9
|
+
"index": "sha256:b82285c6c74f0f2f21bd4f3d07af8a005b16b9e8faaecbe672f6e9b139616eb7",
|
|
10
10
|
"platforms": {
|
|
11
|
-
"linux/
|
|
12
|
-
"linux/
|
|
11
|
+
"linux/arm64": "sha256:50f2bc41d084157bb2d63caa8a91486ea15d3aff248e0d84013a20c7b8cf0c57",
|
|
12
|
+
"linux/amd64": "sha256:65c63d0b3df31406c514a6ed9dbb5ba0940b27c94e2e89b3ceafedaee339bca8"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"base": {
|
|
16
|
-
"index": "sha256:
|
|
16
|
+
"index": "sha256:3a742a779a68e0180ca43232b9e28047e469462c575f1cdef8a3af3ba984263b",
|
|
17
17
|
"platforms": {
|
|
18
|
-
"linux/
|
|
19
|
-
"linux/
|
|
18
|
+
"linux/amd64": "sha256:ff2a42fe5cdff75a9ce89fde340dbde5655f639de2e1288baeb61f2e82d1d095",
|
|
19
|
+
"linux/arm64": "sha256:2571179e6597369544a887da197e280ad9d15075719c04113cc2fd243358f56d"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"web": {
|
|
23
|
-
"index": "sha256:
|
|
23
|
+
"index": "sha256:cd9065909b8e4aea584fbe6f6e0215773feaed97ab46e5ce265a487171f87757",
|
|
24
24
|
"platforms": {
|
|
25
|
-
"linux/
|
|
26
|
-
"linux/
|
|
25
|
+
"linux/arm64": "sha256:224665ea653e6ff6e483fc24b226fa68bf45173a2598439665d827780cbe5534",
|
|
26
|
+
"linux/amd64": "sha256:862b197c13dbdf163d480d35e8b17f96b23b447701cb8e79f0252773d7a48a42"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"android": {
|
|
30
|
-
"index": "sha256:
|
|
30
|
+
"index": "sha256:0d0b56a76cff5b16f52eba3a4d2b17bc888fb2ca502bfd0ae029bf837c6c354d",
|
|
31
31
|
"platforms": {
|
|
32
|
-
"linux/amd64": "sha256:
|
|
32
|
+
"linux/amd64": "sha256:77fb9007369c5c8003024aade231642afb798664f82aada1a8ac26b931a15fbf"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -140,10 +140,10 @@ function buildScript(target, symbols) {
|
|
|
140
140
|
|
|
141
141
|
function getReactNativeScript(env) {
|
|
142
142
|
return `
|
|
143
|
-
import {
|
|
143
|
+
import { TurboModuleRegistry } from 'react-native';
|
|
144
144
|
import Module from '@crossbind/core-embind-jsi';
|
|
145
145
|
|
|
146
|
-
const
|
|
146
|
+
const RNJsiLib = TurboModuleRegistry.get('RNJsiLib');
|
|
147
147
|
|
|
148
148
|
function setEnv() {
|
|
149
149
|
const env = JSON.parse('${env}');
|