Skip to content

Commit e2e1581

Browse files
chore: Update CI for WASI tests to run on more recent nightly build (#1649)
* chore: Update CI for WASI tests to run on more recent nightly build * Update to latest and update reference in support-tiers.md * fix: Use nightly with WASI fixes rust-lang/rust#147572 switched from WASI specific code in the Rust source to using WASI libc. The following fixes were required and have been merged into nightly: * [fix: WASI threading regression by disabling pthread usage](rust-lang/rust#151016) * [Fix std::fs::copy on WASI by setting proper OpenOptions flags](rust-lang/rust#150881) --------- Co-authored-by: Colin Murphy <colmurph@adobe.com>
1 parent 8fdae1b commit e2e1581

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/tier-1a.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -442,12 +442,12 @@ jobs:
442442
- name: Checkout repository
443443
uses: actions/checkout@v6
444444

445-
# nightly required for testing until this issue is resolved:
445+
# Nightly required for testing until this issue is resolved:
446446
# wasip2 target should not conditionally feature gate stdlib APIs rust-lang/rust#130323 https://github.com/rust-lang/rust/issues/130323
447447
- name: Install Rust toolchain
448448
uses: dtolnay/rust-toolchain@master
449449
with:
450-
toolchain: nightly-2025-08-25
450+
toolchain: nightly-2026-01-16
451451

452452
- name: Install wasmtime
453453
run: |
@@ -460,7 +460,7 @@ jobs:
460460
sudo apt-get install -y clang
461461
462462
- name: Add wasm32-wasip2 target
463-
run: rustup target add --toolchain nightly-2025-08-25 wasm32-wasip2
463+
run: rustup target add --toolchain nightly-2026-01-16 wasm32-wasip2
464464

465465
- name: Cache Rust dependencies
466466
uses: Swatinem/rust-cache@v2
@@ -472,7 +472,7 @@ jobs:
472472
RUST_MIN_STACK: 16777216
473473
FEATURES: ${{needs.get-features.outputs.rust-native-features}}
474474
run: |
475-
cargo +nightly-2025-08-25 test --target wasm32-wasip2 -p c2pa --features "$FEATURES" --no-default-features -- --no-capture
475+
cargo +nightly-2026-01-16 test --target wasm32-wasip2 -p c2pa --features "$FEATURES" --no-default-features -- --no-capture
476476
477477
clippy_check:
478478
name: Clippy
@@ -524,11 +524,11 @@ jobs:
524524
- name: Install nightly toolchain
525525
uses: dtolnay/rust-toolchain@master
526526
with:
527-
toolchain: nightly-2025-12-06
527+
toolchain: nightly-2026-01-16
528528
components: rustfmt
529529

530530
- name: Check format
531-
run: cargo +nightly-2025-12-06 fmt --all -- --check
531+
run: cargo +nightly-2026-01-16 fmt --all -- --check
532532

533533
cargo-deny:
534534
name: License / vulnerability audit

docs/support-tiers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ These requirements are enforced in the [Tier 1A workflow](/.github/workflows/tie
3636

3737
* **Ubuntu:** `x86_64-unknown-linux-gnu`, Rust `stable`, `all` features, `openssl` | `rust_native_crypto`, `glibc`
3838
* **Wasm:** `wasm32-unknown-unknown`, Rust `stable`, `fetch_remote_manifests` feature, `rust_native_crypto`
39-
* **WASI:** `wasm32-wasip2`, Rust `nightly-2025-08-25`, `all` features
39+
* **WASI:** `wasm32-wasip2`, Rust `nightly-2026-01-16`, `all` features
4040

4141
### Tier 1A for c2pa-c-ffi
4242

0 commit comments

Comments
 (0)