Skip to content

crates.io: Test the static.crates.io Fastly worker#1122

Merged
marcoieni merged 4 commits into
rust-lang:masterfrom
Turbo87:compute-static-tests
Jul 15, 2026
Merged

crates.io: Test the static.crates.io Fastly worker#1122
marcoieni merged 4 commits into
rust-lang:masterfrom
Turbo87:compute-static-tests

Conversation

@Turbo87

@Turbo87 Turbo87 commented Jul 15, 2026

Copy link
Copy Markdown
Member

Cargo now runs the static.crates.io worker’s wasm32-wasip1 test binaries through Viceroy, which supplies Fastly hostcalls unavailable in a regular WASI runtime.

The worker README documents the local cargo nextest run workflow and explains why each test runs in an isolated WebAssembly instance.

CI exercises the same test suite in a dedicated job with pinned Viceroy and cargo-nextest versions backed by job-local Rust caching. Renovate’s GitHub Actions versions preset keeps both tool pins current.

Turbo87 and others added 4 commits July 15, 2026 11:53
This configures Cargo to provide Fastly hostcalls for `wasm32-wasip1` test binaries.
These instructions explain how Viceroy supplies Fastly hostcalls and why `cargo-nextest` isolates WebAssembly test executions.
This runs the worker tests with cargo-nextest and Viceroy in a dedicated job. Job-local caching preserves the pinned Cargo tools, and Renovate tracks their crates.io releases.

@marcoieni marcoieni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@marcoieni
marcoieni merged commit 02d768c into rust-lang:master Jul 15, 2026
5 checks passed
@Turbo87
Turbo87 deleted the compute-static-tests branch July 15, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants