From bc73ec5220b1f33de3f82e59f0416494ef9ee348 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Thu, 3 Sep 2026 21:57:40 +0800 Subject: [PATCH 01/11] fix: use wasm2c only for riscv64, long64 and ppc64le --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10bb8eb..cbf6cde 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,24 +110,24 @@ jobs: - name: linux riscv64 os: ubuntu-latest target: riscv64gc-unknown-linux-gnu - features: '--no-default-features --features "tokio pac-engine pac-engine-wasmtime pac-engine-wasm2c"' - artifact_features: '--no-default-features --features "tokio pac-engine-wasmtime"' + features: '--no-default-features --features "tokio pac-engine-wasm2c"' + artifact_features: '--no-default-features --features "tokio pac-engine-wasm2c"' use_cross: true run_tests: true - name: linux loong64 os: ubuntu-latest target: loongarch64-unknown-linux-musl - features: '--no-default-features --features "tokio pac-engine pac-engine-wasmtime pac-engine-wasm2c"' - artifact_features: '--no-default-features --features "tokio pac-engine-wasmtime"' + features: '--no-default-features --features "tokio pac-engine-wasm2c"' + artifact_features: '--no-default-features --features "tokio pac-engine-wasm2c"' use_cross: true run_tests: true - name: linux ppc64le os: ubuntu-latest target: powerpc64le-unknown-linux-gnu - features: '--no-default-features --features "tokio pac-engine pac-engine-wasmtime pac-engine-wasm2c"' - artifact_features: '--no-default-features --features "tokio pac-engine-wasmtime"' + features: '--no-default-features --features "tokio pac-engine-wasm2c"' + artifact_features: '--no-default-features --features "tokio pac-engine-wasm2c"' use_cross: true run_tests: true From a84e71eb1a9d8eb35055826f843c5af0ea4e9925 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Thu, 3 Sep 2026 22:03:42 +0800 Subject: [PATCH 02/11] Revert "fix: switch loong64 to musl" This reverts commit 170e20dff664f04c8f6902269c40febc9958edd4. --- .github/workflows/ci.yml | 2 +- Cross.toml | 4 ++-- about.toml | 2 +- deny.toml | 2 +- npm/scripts/build-native.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbf6cde..ede6af1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: - name: linux loong64 os: ubuntu-latest - target: loongarch64-unknown-linux-musl + target: loongarch64-unknown-linux-gnu features: '--no-default-features --features "tokio pac-engine-wasm2c"' artifact_features: '--no-default-features --features "tokio pac-engine-wasm2c"' use_cross: true diff --git a/Cross.toml b/Cross.toml index 7b9c938..1340ce8 100644 --- a/Cross.toml +++ b/Cross.toml @@ -37,8 +37,8 @@ image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:0.2.5" [target.riscv64gc-unknown-linux-gnu] image = "ghcr.io/cross-rs/riscv64gc-unknown-linux-gnu:0.2.5" -[target.loongarch64-unknown-linux-musl] -image = "ghcr.io/cross-rs/loongarch64-unknown-linux-musl:0.2.5" +[target.loongarch64-unknown-linux-gnu] +image = "ghcr.io/cross-rs/loongarch64-unknown-linux-gnu:0.2.5" [target.powerpc64le-unknown-linux-gnu] image = "ghcr.io/cross-rs/powerpc64le-unknown-linux-gnu:0.2.5" \ No newline at end of file diff --git a/about.toml b/about.toml index f461135..cc98aca 100644 --- a/about.toml +++ b/about.toml @@ -35,7 +35,7 @@ targets = [ "aarch64-unknown-linux-musl", "armv7-unknown-linux-gnueabihf", "riscv64gc-unknown-linux-gnu", - "loongarch64-unknown-linux-musl", + "loongarch64-unknown-linux-gnu", "powerpc64le-unknown-linux-gnu", ] diff --git a/deny.toml b/deny.toml index 7eaa0df..a76d7f0 100644 --- a/deny.toml +++ b/deny.toml @@ -20,7 +20,7 @@ targets = [ "aarch64-unknown-linux-musl", "armv7-unknown-linux-gnueabihf", "riscv64gc-unknown-linux-gnu", - "loongarch64-unknown-linux-musl", + "loongarch64-unknown-linux-gnu", "powerpc64le-unknown-linux-gnu", ] all-features = true diff --git a/npm/scripts/build-native.js b/npm/scripts/build-native.js index 1a6e649..3ec5b26 100644 --- a/npm/scripts/build-native.js +++ b/npm/scripts/build-native.js @@ -14,7 +14,7 @@ const targets = { 'x86_64-unknown-linux-gnu': ['linux-x64-gnu', 'libos_proxy_resolver_node.so'], 'x86_64-unknown-linux-musl': ['linux-x64-musl', 'libos_proxy_resolver_node.so'], 'riscv64gc-unknown-linux-gnu': ['linux-riscv64-gnu', 'libos_proxy_resolver_node.so'], - 'loongarch64-unknown-linux-musl': ['linux-loong64-musl', 'libos_proxy_resolver_node.so'], + 'loongarch64-unknown-linux-gnu': ['linux-loong64-gnu', 'libos_proxy_resolver_node.so'], 'powerpc64le-unknown-linux-gnu': ['linux-ppc64le-gnu', 'libos_proxy_resolver_node.so'], 'aarch64-pc-windows-msvc': ['win32-arm64-msvc', 'os_proxy_resolver_node.dll'], 'x86_64-pc-windows-msvc': ['win32-x64-msvc', 'os_proxy_resolver_node.dll'], From 9a4fc792bdf0075ba1b0178a9e30fce7fa84830d Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Thu, 3 Sep 2026 22:13:36 +0800 Subject: [PATCH 03/11] fix: build cross addon for riscv64, loong64 and ppc64le --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ede6af1..383329f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,6 +105,7 @@ jobs: features: '--no-default-features --features "tokio pac-engine pac-engine-wasm2c"' artifact_features: '--no-default-features --features "tokio pac-engine-wasm2c"' use_cross: true + build_cross_addon: true run_tests: true - name: linux riscv64 @@ -113,6 +114,7 @@ jobs: features: '--no-default-features --features "tokio pac-engine-wasm2c"' artifact_features: '--no-default-features --features "tokio pac-engine-wasm2c"' use_cross: true + build_cross_addon: true run_tests: true - name: linux loong64 @@ -121,6 +123,7 @@ jobs: features: '--no-default-features --features "tokio pac-engine-wasm2c"' artifact_features: '--no-default-features --features "tokio pac-engine-wasm2c"' use_cross: true + build_cross_addon: true run_tests: true - name: linux ppc64le @@ -129,6 +132,7 @@ jobs: features: '--no-default-features --features "tokio pac-engine-wasm2c"' artifact_features: '--no-default-features --features "tokio pac-engine-wasm2c"' use_cross: true + build_cross_addon: true run_tests: true steps: From 9435d5d8c6e76582e91ce81070776bd31a23ada9 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Thu, 3 Sep 2026 22:22:19 +0800 Subject: [PATCH 04/11] fix: use edge cross-rs image for loong64 --- Cross.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cross.toml b/Cross.toml index 1340ce8..c85a623 100644 --- a/Cross.toml +++ b/Cross.toml @@ -38,7 +38,7 @@ image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:0.2.5" image = "ghcr.io/cross-rs/riscv64gc-unknown-linux-gnu:0.2.5" [target.loongarch64-unknown-linux-gnu] -image = "ghcr.io/cross-rs/loongarch64-unknown-linux-gnu:0.2.5" +image = "ghcr.io/cross-rs/loongarch64-unknown-linux-gnu:edge" [target.powerpc64le-unknown-linux-gnu] image = "ghcr.io/cross-rs/powerpc64le-unknown-linux-gnu:0.2.5" \ No newline at end of file From b1ac4b36a743f0c83e8c6bea7a6506be34837730 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Thu, 3 Sep 2026 22:31:38 +0800 Subject: [PATCH 05/11] fix: add npm package placeholders for riscv64, loong64 and ppc64le --- npm/platforms/linux-loong64-gnu/package.json | 13 +++++++++++++ npm/platforms/linux-ppc64le-gnu/package.json | 13 +++++++++++++ npm/platforms/linux-riscv64-gnu/package.json | 13 +++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 npm/platforms/linux-loong64-gnu/package.json create mode 100644 npm/platforms/linux-ppc64le-gnu/package.json create mode 100644 npm/platforms/linux-riscv64-gnu/package.json diff --git a/npm/platforms/linux-loong64-gnu/package.json b/npm/platforms/linux-loong64-gnu/package.json new file mode 100644 index 0000000..ccc41e8 --- /dev/null +++ b/npm/platforms/linux-loong64-gnu/package.json @@ -0,0 +1,13 @@ +{ + "name": "@vscodium/os-proxy-resolver-linux-riscv64-gnu", + "version": "0.4.0-265898", + "description": "Native binding for @vscodium/os-proxy-resolver on Linux riscv64", + "main": "os_proxy_resolver.node", + "files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"], + "os": ["linux"], + "cpu": ["riscv64"], + "libc": ["glibc"], + "publishConfig": { "access": "public" }, + "license": "MIT", + "repository": "github:microsoft/os-proxy-resolver" +} \ No newline at end of file diff --git a/npm/platforms/linux-ppc64le-gnu/package.json b/npm/platforms/linux-ppc64le-gnu/package.json new file mode 100644 index 0000000..ccc41e8 --- /dev/null +++ b/npm/platforms/linux-ppc64le-gnu/package.json @@ -0,0 +1,13 @@ +{ + "name": "@vscodium/os-proxy-resolver-linux-riscv64-gnu", + "version": "0.4.0-265898", + "description": "Native binding for @vscodium/os-proxy-resolver on Linux riscv64", + "main": "os_proxy_resolver.node", + "files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"], + "os": ["linux"], + "cpu": ["riscv64"], + "libc": ["glibc"], + "publishConfig": { "access": "public" }, + "license": "MIT", + "repository": "github:microsoft/os-proxy-resolver" +} \ No newline at end of file diff --git a/npm/platforms/linux-riscv64-gnu/package.json b/npm/platforms/linux-riscv64-gnu/package.json new file mode 100644 index 0000000..c7054fd --- /dev/null +++ b/npm/platforms/linux-riscv64-gnu/package.json @@ -0,0 +1,13 @@ +{ + "name": "@vscodium/os-proxy-resolver-linux-ppc64le-gnu", + "version": "0.4.0-265898", + "description": "Native binding for @vscodium/os-proxy-resolver on Linux ppc64le", + "main": "os_proxy_resolver.node", + "files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"], + "os": ["linux"], + "cpu": ["ppc64le"], + "libc": ["glibc"], + "publishConfig": { "access": "public" }, + "license": "MIT", + "repository": "github:microsoft/os-proxy-resolver" +} \ No newline at end of file From 0616346dc9bf1d7bcc68c3208b4de101bcbb9943 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Thu, 3 Sep 2026 22:39:26 +0800 Subject: [PATCH 06/11] fix: add opt deps for riscv64, loong64 andppc64le --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 307718f..c8dca45 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,9 @@ "@vscodium/os-proxy-resolver-linux-arm64-musl": "0.4.0-265898", "@vscodium/os-proxy-resolver-linux-x64-gnu": "0.4.0-265898", "@vscodium/os-proxy-resolver-linux-x64-musl": "0.4.0-265898", + "@vscodium/os-proxy-resolver-linux-riscv64-gnu": "0.4.0-265898", + "@vscodium/os-proxy-resolver-linux-ppc64le-gnu": "0.4.0-265898", + "@vscodium/os-proxy-resolver-linux-loong64-gnu": "0.4.0-265898", "@vscodium/os-proxy-resolver-win32-arm64-msvc": "0.4.0-265898", "@vscodium/os-proxy-resolver-win32-x64-msvc": "0.4.0-265898" } From acff5d55328d8bc8dc327a9c54e56f64291724c8 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Thu, 3 Sep 2026 22:59:57 +0800 Subject: [PATCH 07/11] fix: typo --- npm/platforms/linux-ppc64le-gnu/package.json | 6 +++--- npm/platforms/linux-riscv64-gnu/package.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/npm/platforms/linux-ppc64le-gnu/package.json b/npm/platforms/linux-ppc64le-gnu/package.json index ccc41e8..c7054fd 100644 --- a/npm/platforms/linux-ppc64le-gnu/package.json +++ b/npm/platforms/linux-ppc64le-gnu/package.json @@ -1,11 +1,11 @@ { - "name": "@vscodium/os-proxy-resolver-linux-riscv64-gnu", + "name": "@vscodium/os-proxy-resolver-linux-ppc64le-gnu", "version": "0.4.0-265898", - "description": "Native binding for @vscodium/os-proxy-resolver on Linux riscv64", + "description": "Native binding for @vscodium/os-proxy-resolver on Linux ppc64le", "main": "os_proxy_resolver.node", "files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"], "os": ["linux"], - "cpu": ["riscv64"], + "cpu": ["ppc64le"], "libc": ["glibc"], "publishConfig": { "access": "public" }, "license": "MIT", diff --git a/npm/platforms/linux-riscv64-gnu/package.json b/npm/platforms/linux-riscv64-gnu/package.json index c7054fd..ccc41e8 100644 --- a/npm/platforms/linux-riscv64-gnu/package.json +++ b/npm/platforms/linux-riscv64-gnu/package.json @@ -1,11 +1,11 @@ { - "name": "@vscodium/os-proxy-resolver-linux-ppc64le-gnu", + "name": "@vscodium/os-proxy-resolver-linux-riscv64-gnu", "version": "0.4.0-265898", - "description": "Native binding for @vscodium/os-proxy-resolver on Linux ppc64le", + "description": "Native binding for @vscodium/os-proxy-resolver on Linux riscv64", "main": "os_proxy_resolver.node", "files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"], "os": ["linux"], - "cpu": ["ppc64le"], + "cpu": ["riscv64"], "libc": ["glibc"], "publishConfig": { "access": "public" }, "license": "MIT", From 6a452b5e660de6d6af222d5612992cdcabadbe44 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Thu, 3 Sep 2026 23:11:20 +0800 Subject: [PATCH 08/11] fix: typo --- npm/platforms/linux-loong64-gnu/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npm/platforms/linux-loong64-gnu/package.json b/npm/platforms/linux-loong64-gnu/package.json index ccc41e8..e625032 100644 --- a/npm/platforms/linux-loong64-gnu/package.json +++ b/npm/platforms/linux-loong64-gnu/package.json @@ -1,11 +1,11 @@ { - "name": "@vscodium/os-proxy-resolver-linux-riscv64-gnu", + "name": "@vscodium/os-proxy-resolver-linux-loong64-gnu", "version": "0.4.0-265898", - "description": "Native binding for @vscodium/os-proxy-resolver on Linux riscv64", + "description": "Native binding for @vscodium/os-proxy-resolver on Linux loong64", "main": "os_proxy_resolver.node", "files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"], "os": ["linux"], - "cpu": ["riscv64"], + "cpu": ["loong64"], "libc": ["glibc"], "publishConfig": { "access": "public" }, "license": "MIT", From a9ff3d87a20a8c61620759fd6277fc6c077b8e97 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Fri, 4 Sep 2026 22:17:45 +0800 Subject: [PATCH 09/11] Reapply "fix: switch loong64 to musl" This reverts commit a84e71eb1a9d8eb35055826f843c5af0ea4e9925. --- .github/workflows/ci.yml | 2 +- Cross.toml | 4 ++-- about.toml | 2 +- deny.toml | 2 +- npm/scripts/build-native.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 383329f..03a39f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,7 +119,7 @@ jobs: - name: linux loong64 os: ubuntu-latest - target: loongarch64-unknown-linux-gnu + target: loongarch64-unknown-linux-musl features: '--no-default-features --features "tokio pac-engine-wasm2c"' artifact_features: '--no-default-features --features "tokio pac-engine-wasm2c"' use_cross: true diff --git a/Cross.toml b/Cross.toml index c85a623..070fc54 100644 --- a/Cross.toml +++ b/Cross.toml @@ -37,8 +37,8 @@ image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:0.2.5" [target.riscv64gc-unknown-linux-gnu] image = "ghcr.io/cross-rs/riscv64gc-unknown-linux-gnu:0.2.5" -[target.loongarch64-unknown-linux-gnu] -image = "ghcr.io/cross-rs/loongarch64-unknown-linux-gnu:edge" +[target.loongarch64-unknown-linux-musl] +image = "ghcr.io/cross-rs/loongarch64-unknown-linux-musl:edge" [target.powerpc64le-unknown-linux-gnu] image = "ghcr.io/cross-rs/powerpc64le-unknown-linux-gnu:0.2.5" \ No newline at end of file diff --git a/about.toml b/about.toml index cc98aca..f461135 100644 --- a/about.toml +++ b/about.toml @@ -35,7 +35,7 @@ targets = [ "aarch64-unknown-linux-musl", "armv7-unknown-linux-gnueabihf", "riscv64gc-unknown-linux-gnu", - "loongarch64-unknown-linux-gnu", + "loongarch64-unknown-linux-musl", "powerpc64le-unknown-linux-gnu", ] diff --git a/deny.toml b/deny.toml index a76d7f0..7eaa0df 100644 --- a/deny.toml +++ b/deny.toml @@ -20,7 +20,7 @@ targets = [ "aarch64-unknown-linux-musl", "armv7-unknown-linux-gnueabihf", "riscv64gc-unknown-linux-gnu", - "loongarch64-unknown-linux-gnu", + "loongarch64-unknown-linux-musl", "powerpc64le-unknown-linux-gnu", ] all-features = true diff --git a/npm/scripts/build-native.js b/npm/scripts/build-native.js index 3ec5b26..1a6e649 100644 --- a/npm/scripts/build-native.js +++ b/npm/scripts/build-native.js @@ -14,7 +14,7 @@ const targets = { 'x86_64-unknown-linux-gnu': ['linux-x64-gnu', 'libos_proxy_resolver_node.so'], 'x86_64-unknown-linux-musl': ['linux-x64-musl', 'libos_proxy_resolver_node.so'], 'riscv64gc-unknown-linux-gnu': ['linux-riscv64-gnu', 'libos_proxy_resolver_node.so'], - 'loongarch64-unknown-linux-gnu': ['linux-loong64-gnu', 'libos_proxy_resolver_node.so'], + 'loongarch64-unknown-linux-musl': ['linux-loong64-musl', 'libos_proxy_resolver_node.so'], 'powerpc64le-unknown-linux-gnu': ['linux-ppc64le-gnu', 'libos_proxy_resolver_node.so'], 'aarch64-pc-windows-msvc': ['win32-arm64-msvc', 'os_proxy_resolver_node.dll'], 'x86_64-pc-windows-msvc': ['win32-x64-msvc', 'os_proxy_resolver_node.dll'], From 0c4b9945a6c0eb8c4bc14140eed6e6bf63c7a66d Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Fri, 4 Sep 2026 22:45:58 +0800 Subject: [PATCH 10/11] Revert "Reapply "fix: switch loong64 to musl"" This reverts commit a9ff3d87a20a8c61620759fd6277fc6c077b8e97. --- .github/workflows/ci.yml | 2 +- Cross.toml | 4 ++-- about.toml | 2 +- deny.toml | 2 +- npm/scripts/build-native.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03a39f8..383329f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,7 +119,7 @@ jobs: - name: linux loong64 os: ubuntu-latest - target: loongarch64-unknown-linux-musl + target: loongarch64-unknown-linux-gnu features: '--no-default-features --features "tokio pac-engine-wasm2c"' artifact_features: '--no-default-features --features "tokio pac-engine-wasm2c"' use_cross: true diff --git a/Cross.toml b/Cross.toml index 070fc54..c85a623 100644 --- a/Cross.toml +++ b/Cross.toml @@ -37,8 +37,8 @@ image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:0.2.5" [target.riscv64gc-unknown-linux-gnu] image = "ghcr.io/cross-rs/riscv64gc-unknown-linux-gnu:0.2.5" -[target.loongarch64-unknown-linux-musl] -image = "ghcr.io/cross-rs/loongarch64-unknown-linux-musl:edge" +[target.loongarch64-unknown-linux-gnu] +image = "ghcr.io/cross-rs/loongarch64-unknown-linux-gnu:edge" [target.powerpc64le-unknown-linux-gnu] image = "ghcr.io/cross-rs/powerpc64le-unknown-linux-gnu:0.2.5" \ No newline at end of file diff --git a/about.toml b/about.toml index f461135..cc98aca 100644 --- a/about.toml +++ b/about.toml @@ -35,7 +35,7 @@ targets = [ "aarch64-unknown-linux-musl", "armv7-unknown-linux-gnueabihf", "riscv64gc-unknown-linux-gnu", - "loongarch64-unknown-linux-musl", + "loongarch64-unknown-linux-gnu", "powerpc64le-unknown-linux-gnu", ] diff --git a/deny.toml b/deny.toml index 7eaa0df..a76d7f0 100644 --- a/deny.toml +++ b/deny.toml @@ -20,7 +20,7 @@ targets = [ "aarch64-unknown-linux-musl", "armv7-unknown-linux-gnueabihf", "riscv64gc-unknown-linux-gnu", - "loongarch64-unknown-linux-musl", + "loongarch64-unknown-linux-gnu", "powerpc64le-unknown-linux-gnu", ] all-features = true diff --git a/npm/scripts/build-native.js b/npm/scripts/build-native.js index 1a6e649..3ec5b26 100644 --- a/npm/scripts/build-native.js +++ b/npm/scripts/build-native.js @@ -14,7 +14,7 @@ const targets = { 'x86_64-unknown-linux-gnu': ['linux-x64-gnu', 'libos_proxy_resolver_node.so'], 'x86_64-unknown-linux-musl': ['linux-x64-musl', 'libos_proxy_resolver_node.so'], 'riscv64gc-unknown-linux-gnu': ['linux-riscv64-gnu', 'libos_proxy_resolver_node.so'], - 'loongarch64-unknown-linux-musl': ['linux-loong64-musl', 'libos_proxy_resolver_node.so'], + 'loongarch64-unknown-linux-gnu': ['linux-loong64-gnu', 'libos_proxy_resolver_node.so'], 'powerpc64le-unknown-linux-gnu': ['linux-ppc64le-gnu', 'libos_proxy_resolver_node.so'], 'aarch64-pc-windows-msvc': ['win32-arm64-msvc', 'os_proxy_resolver_node.dll'], 'x86_64-pc-windows-msvc': ['win32-x64-msvc', 'os_proxy_resolver_node.dll'], From 5a730f15021cf382636c88b7810d2221efb7f4ab Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Fri, 4 Sep 2026 22:47:40 +0800 Subject: [PATCH 11/11] fix: handle 127 exit code in test workaround https://github.com/VSCodium/vscodium/issues/2990#issuecomment-5529757555 Co-authored-by: darkyzhou --- tests/async_resolution.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/async_resolution.rs b/tests/async_resolution.rs index 224ffb4..93177ea 100644 --- a/tests/async_resolution.rs +++ b/tests/async_resolution.rs @@ -45,7 +45,7 @@ fn async_resolution_worker_processes_second_distinct_request() { // may fail immediately when executing the foreign binary directly. // Native jobs still exercise the regression; a deadlocked child is // distinguished by remaining alive until the deadline below. - if status.code() == Some(2) { + if matches!(status.code(), Some(2) | Some(127)) { eprintln!("skipping nested subprocess unsupported by this target runner"); return; }