Skip to content

Update Wasmtime's Rust toolchain#12930

Merged
oliverchang merged 1 commit intogoogle:masterfrom
alexcrichton:update-wasmtime-rustc
Jan 13, 2025
Merged

Update Wasmtime's Rust toolchain#12930
oliverchang merged 1 commit intogoogle:masterfrom
alexcrichton:update-wasmtime-rustc

Conversation

@alexcrichton
Copy link
Copy Markdown
Contributor

The default Rust toolchain use to build Rust projects on OSS-Fuzz, nightly-2024-07-12, is too old to build Wasmtime at this time. This toolchain is held back to match the LLVM version that Clang is using (18) and is one of the last Rust nightly builds that still uses LLVM 18 (nightly-2024-07-30 is the last Rust nightly using 18, nightly-2024-08-01 uses LLVM 19).

In lieu of updating the toolchain for all projects I've opted to only update Wasmtime at this time. I believe this means that Wasmtime will lose coverage information for fuzzing because LLVM tooling is at version 18 whereas Wasmtime will be producing coverage files from LLVM 19. For Wasmtime this is ok as we rely on the fuzzers themselves much more than the retrospective coverage information.

The default Rust toolchain use to build Rust projects on OSS-Fuzz,
`nightly-2024-07-12`, is too old to build Wasmtime at this time.
This toolchain is held back to match the LLVM version that Clang is
using (18) and is one of the last Rust nightly builds that still uses
LLVM 18 (`nightly-2024-07-30` is the last Rust nightly using 18,
`nightly-2024-08-01` uses LLVM 19).

In lieu of updating the toolchain for all projects I've opted to only
update Wasmtime at this time. I believe this means that Wasmtime will
lose coverage information for fuzzing because LLVM tooling is at version
18 whereas Wasmtime will be producing coverage files from LLVM 19. For
Wasmtime this is ok as we rely on the fuzzers themselves much more than
the retrospective coverage information.
@github-actions
Copy link
Copy Markdown

alexcrichton is either the primary contact or is in the CCs list of projects/wasmtime.
alexcrichton has previously contributed to projects/wasmtime. The previous PR was #12668

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants