Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,30 +105,34 @@ 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
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
build_cross_addon: 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"'
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
build_cross_addon: 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
build_cross_addon: true
run_tests: true

steps:
Expand Down
4 changes: 2 additions & 2 deletions Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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:edge"

[target.powerpc64le-unknown-linux-gnu]
image = "ghcr.io/cross-rs/powerpc64le-unknown-linux-gnu:0.2.5"
2 changes: 1 addition & 1 deletion about.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]

Expand Down
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions npm/platforms/linux-loong64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "@vscodium/os-proxy-resolver-linux-loong64-gnu",
"version": "0.4.0-265898",
"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": ["loong64"],
"libc": ["glibc"],
"publishConfig": { "access": "public" },
"license": "MIT",
"repository": "github:microsoft/os-proxy-resolver"
}
13 changes: 13 additions & 0 deletions npm/platforms/linux-ppc64le-gnu/package.json
Original file line number Diff line number Diff line change
@@ -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"
}
13 changes: 13 additions & 0 deletions npm/platforms/linux-riscv64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -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"
}
2 changes: 1 addition & 1 deletion npm/scripts/build-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/async_resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down