A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Adjust Wasmtime's release process with RCs (#14051)
Alex Crichtonb7062544446c
diff --git a/.github/workflows/main.yml b/.github/workflows/main.ymlindex f25e09ce81..b65bc47fe5 100644--- a/.github/workflows/main.yml+++ b/.github/workflows/main.yml@@ -137,7 +137,7 @@ jobs:- run: |for attempt in 1 2 3 4 5; do[ "$attempt" = "5" ] && exit 1- rustc scripts/publish.rs && ./publish bump-patch && cargo vet && break+ cargo run -p wasmtime-publish bump-patch && cargo vet && breaksleep 5donename: Ensure `cargo vet` works if versions are bumped@@ -1305,11 +1305,10 @@ jobs:rm sccache.tar.gzecho "`pwd`/sccache-0.2.13-x86_64-unknown-linux-musl" >> $GITHUB_PATHecho RUSTC_WRAPPER=sccache >> $GITHUB_ENV- - run: rustc scripts/publish.rs# Make sure the tree is publish-able as-is- - run: ./publish verify+ - run: cargo run -p wasmtime-publish verify# Make sure we can bump version numbers for the next release- - run: ./publish bump+ - run: cargo run -p wasmtime-publish bump-major# Run a subset of tests under MIRI on CI to help check the `unsafe` code in# Wasmtime to make sure it's at least not obviously incorrect for basic usage.diff --git a/.github/workflows/publish-artifacts.yml b/.github/workflows/publish-artifacts.ymlindex 6d2f01be88..2c244e6e9d 100644--- a/.github/workflows/publish-artifacts.yml+++ b/.github/workflows/publish-artifacts.yml@@ -52,7 +52,11 @@ jobs:- if: github.ref_name != 'main'run: |sed '/---------------/Q' RELEASES.md > relnotes.md- gh release create ${{ github.ref_name }} --notes-file relnotes.md dist/*+ prerelease=+ case "${{ github.ref_name }}" in+ *-*) prerelease=--prerelease ;;+ esac+ gh release create ${{ github.ref_name }} $prerelease --notes-file relnotes.md dist/*env:GH_TOKEN: ${{ github.token }}continue-on-error: truediff --git a/.github/workflows/publish-to-cratesio.yml b/.github/workflows/publish-to-cratesio.ymlindex c26b6107ae..739157aed3 100644--- a/.github/workflows/publish-to-cratesio.yml+++ b/.github/workflows/publish-to-cratesio.yml@@ -1,6 +1,6 @@# The purpose of this workflow is to publish the wasmtime workspace of crates# whenever a wasmtime tag is created. This baiscally boils down to running-# `scripts/publish.rs` at the right time.+# the `wasmtime-publish` crate at the right time.name: "Publish to crates.io"@@ -24,9 +24,10 @@ jobs:- run: rustup update stable && rustup default stable- uses: rust-lang/crates-io-auth-action@v1id: auth- - run: |- rustc scripts/publish.rs- ./publish publish+ - run: cargo run -p wasmtime-publish publish+ env:+ CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}+ - run: cargo run -p wasmtime-publish yank-old-rcsenv:CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}diff --git a/.github/workflows/release-process.yml b/.github/workflows/release-process.ymlindex 628dcff798..3ba2d22aeb 100644--- a/.github/workflows/release-process.yml+++ b/.github/workflows/release-process.yml@@ -2,8 +2,9 @@# much as possible. This specific workflow is responsible for a few timed parts# of the process:#-# * On the 5th of every month a new release branch is automatically created and-# the version number of the `main` branch is increased+# * On the 5th of every month a new release branch is automatically created,+# the version number of the `main` branch is increased, and the first release+# candidate of the new release branch is prepared.# * On the 20th of every month the previous release branch is published.## This automation is all done through PRs except for the creation of the release@@ -12,7 +13,9 @@# other steps of the way.## Note that this script also helps manage patch releases by sending a PR to the-# release branch with a bumped version number for all crates with a patch-bump.+# release branch with a bumped version number for all crates with a patch-bump,+# as well as publishing additional release candidates for a release branch which+# hasn't been released yet.name: "Automated Release Process"on:@@ -28,7 +31,7 @@ on:workflow_dispatch:inputs:action:- description: 'Publish script argument: "cut", "release-latest", or "release-patch"'+ description: 'Publish script argument: "cut", "release-latest", "release-rc", or "release-patch"'required: falsedefault: 'cut'@@ -46,7 +49,6 @@ jobs:submodules: true- name: Setuprun: |- rustc scripts/publish.rsgit config user.name 'Wasmtime Publish'git config user.email '[email protected]'git remote set-url origin https://git:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${{ github.repository }}@@ -58,16 +60,30 @@ jobs:version: 0.10.2- name: Bump major version number+ if: >-+ github.event.schedule == '0 0 5 * *' ||+ github.event.inputs.action == 'cut'+ env:+ GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}run: |set -ex+ # The `main` branch always carries a `-dev` version. Strip that suffix+ # to get the version that's about to be released.+ cur_dev=$(./ci/print-current-version.sh)+ cur=${cur_dev%-dev}+ branch=release-${cur_dev%-dev}++ # Remember where the release branch starts so that the release+ # candidate below can be built from exactly this commit.+ base=$(git rev-parse HEAD)+# Push the current contents of `main` to a new release branch- cur=$(./ci/print-current-version.sh)- git push origin HEAD:release-$cur+ git push origin HEAD:$branch# Update version numbers and make a commit indicating that. Note that# on merge this will not trigger a publish.- ./publish bump- num=$(./ci/print-current-version.sh)+ cargo run -p wasmtime-publish bump-major+ num=$(./ci/print-current-version.sh | sed 's/-dev$//')# Remove all release notes for the current version now that the# release branch has been created. Additionally add an entry in the@@ -75,7 +91,7 @@ jobs:# created branch.sed -i '0,/-----------/d' RELEASES.mdversion_with_trailing_x=$(echo $cur | sed 's/.$/x/')- sed -i "/ARCHIVE_START/a * [$version_with_trailing_x](https://github.com/${{ github.repository }}/blob/release-$cur/RELEASES.md)" RELEASES.md+ sed -i "/ARCHIVE_START/a * [$version_with_trailing_x](https://github.com/${{ github.repository }}/blob/$branch/RELEASES.md)" RELEASES.md# Use `RELEASES-template.md` as the new release notes and then append# the archive of all historical releases to the end of it.@@ -90,43 +106,72 @@ jobs:# Commit all of the above changes.git commit -am "Bump Wasmtime to $num"- # Push the result to a branch and setup metadata for the step below- # that creates a PR+ # Push the result to a branch and open a PR against `main`.git push origin HEAD:ci/bump-to-$num- echo "PR_HEAD=ci/bump-to-$num" >> $GITHUB_ENV- echo "PR_TITLE=Bump Wasmtime to $num" >> $GITHUB_ENV- echo "PR_BASE=main" >> $GITHUB_ENV- cat > pr-body <<-EOF- This is an [automated pull request][process] from CI which indicates that the next [\`release-$cur\` branch][branch] has been created and the \`main\` branch is getting its version number bumped from $cur to $num.+ cat > pr-body-main <<-EOF+ This is an [automated pull request][process] from CI which indicates that the next [\`$branch\` branch][branch] has been created and the \`main\` branch is getting its version number bumped from $cur to $num.Maintainers should take a moment to review the [release notes][RELEASES.md] for $cur and any updates should be made directly to the [release branch][branch].- Another automated PR will be made in roughly 2 weeks time when for the actual release itself.+ A second automated PR has been opened against the [release branch][branch] to publish \`$cur-rc.1\` as a release candidate, and another automated PR will be made in roughly 2 weeks time for the actual release itself.- If any issues arise on the \`main\` branch before the release is made then the issue should first be fixed on \`main\` and then backport to the \`release-$cur\` branch.+ If any issues arise on the \`main\` branch before the release is made then the issue should first be fixed on \`main\` and then backport to the \`$branch\` branch.- [RELEASES.md]: https://github.com/${{ github.repository }}/blob/release-$cur/RELEASES.md- [branch]: https://github.com/${{ github.repository }}/tree/release-$cur+ [RELEASES.md]: https://github.com/${{ github.repository }}/blob/$branch/RELEASES.md+ [branch]: https://github.com/${{ github.repository }}/tree/$branch[process]: https://docs.wasmtime.dev/contributing-release-process.htmlEOF- if: >-- github.event.schedule == '0 0 5 * *' ||- github.event.inputs.action == 'cut'+ gh pr create --repo ${{ github.repository }} \+ --head ci/bump-to-$num \+ --base main \+ --title "Bump Wasmtime to $num" \+ --body-file pr-body-main++ # Now go back to where the release branch was cut and prepare the+ # first release candidate for it.+ git reset --hard $base+ git submodule update --init --recursive+ cargo run -p wasmtime-publish bump-rc+ rc=$(./ci/print-current-version.sh)+ cargo vet+ git commit -a -F-<<EOF+ Release Wasmtime $rc++ [automatically-tag-and-release-this-commit]+ EOF++ git push origin HEAD:ci/rc-$rc+ cat > pr-body-rc <<-EOF+ This is an [automated pull request][process] from CI which will publish \`$rc\` as a release candidate for the upcoming $cur release. When this PR is merged a \`v$rc\` tag will be created, the crates will be published to crates.io, and a GitHub pre-release will be produced.++ [process]: https://docs.wasmtime.dev/contributing-release-process.html+ EOF+ gh pr create --repo ${{ github.repository }} \+ --head ci/rc-$rc \+ --base $branch \+ --title "Release Wasmtime $rc" \+ --body-file pr-body-rc- name: Perform latest release+ if: >-+ github.event.schedule == '0 0 20 * *' ||+ github.event.inputs.action == 'release-latest'+ env:+ GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}run: |set -exgit fetch origin# Determine the latest release branch- rustc ci/find-latest-release.rs -o /tmp/find-latest-release- cur=`/tmp/find-latest-release`+ cur=$(cargo run -q -p wasmtime-publish latest-release)- # Move to the most recent release branch, update the release date and- # commit it, indicating that the commit is what will get tagged and- # released+ # Move to the most recent release branch, drop the release-candidate+ # suffix from all version numbers, update the release date and commit+ # it, indicating that the commit is what will get tagged and released.git reset --hard origin/release-$curgit submodule update --init --recursive+ cargo run -p wasmtime-publish bump-drop-rc+ cargo vetsed -i "s/^Unreleased/Released $(date +'%Y-%m-%d')/" RELEASES.mdgit commit --allow-empty -a -F-<<EOFRelease Wasmtime $cur@@ -134,32 +179,64 @@ jobs:[automatically-tag-and-release-this-commit]EOF- # Push the result to a branch and setup metadata for the step below- # that creates a PR+ # Push the result to a branch and open a PR for itgit push origin HEAD:ci/release-$cur- echo "PR_HEAD=ci/release-$cur" >> $GITHUB_ENV- echo "PR_TITLE=Release Wasmtime $cur" >> $GITHUB_ENV- echo "PR_BASE=release-$cur" >> $GITHUB_ENVcat > pr-body <<-EOFThis is an [automated pull request][process] from CI which is intended to notify maintainers that it's time to release Wasmtime $cur. The [release branch][branch] was created roughly two weeks ago and it's now time for it to be published and released.- It's recommended that maintainers double-check that [RELEASES.md] is up-to-date and that there are no known issues before merging this PR. When this PR is merged a release tag will automatically created, crates will be published, and CI artifacts will be produced.+ It's recommended that maintainers double-check that [RELEASES.md] is up-to-date and that there are no known issues before merging this PR. When this PR is merged a release tag will automatically created, crates will be published, CI artifacts will be produced, and the final release candidate will be yanked from crates.io.[RELEASES.md]: https://github.com/${{ github.repository }}/blob/release-$cur/RELEASES.md[process]: https://docs.wasmtime.dev/contributing-release-process.html[branch]: https://github.com/${{ github.repository }}/tree/release-$curEOF- if: >-- github.event.schedule == '0 0 20 * *' ||- github.event.inputs.action == 'release-latest'+ gh pr create --repo ${{ github.repository }} \+ --head ci/release-$cur \+ --base release-$cur \+ --title "Release Wasmtime $cur" \+ --body-file pr-body++ - name: Release a new release candidate+ if: github.event.inputs.action == 'release-rc'+ env:+ GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}+ run: |+ set -ex+ # Move to the next release candidate for this branch. Note that this+ # commit message indicates that on-merge a release will be made.+ cargo run -p wasmtime-publish bump-rc+ # Update `cargo vet` entries for all the new crate versions+ cargo vet+ rc=$(./ci/print-current-version.sh)+ git commit -a -F-<<EOF+ Release Wasmtime $rc++ [automatically-tag-and-release-this-commit]+ EOF++ # Push the result to a branch and open a PR for it+ git push origin HEAD:ci/rc-$rc+ cat > pr-body <<-EOF+ This is an [automated pull request][process] from CI to publish \`$rc\` as a new release candidate, requested by @${{ github.actor }}. When this PR is merged a \`v$rc\` tag will be created, the crates will be published to crates.io, a GitHub pre-release will be produced, and the previous release candidate will be yanked from crates.io.++ [process]: https://docs.wasmtime.dev/contributing-release-process.html+ EOF+ gh pr create --repo ${{ github.repository }} \+ --head ci/rc-$rc \+ --base ${{ github.ref_name }} \+ --title "Release Wasmtime $rc" \+ --body-file pr-body- name: Bump and release patch version number+ if: github.event.inputs.action == 'release-patch'+ env:+ GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}run: |set -ex# Update version numbers on a patch basis and update RELEASES.md if a# patch release marker is already in there. Note that this commit# message indicates that on-merge a release will be made.- ./publish bump-patch+ cargo run -p wasmtime-publish bump-patch# Update `cargo vet` entries for all the new crate versionscargo vetsed -i "s/^Unreleased/Released $(date +'%Y-%m-%d')/" RELEASES.md@@ -170,12 +247,8 @@ jobs:[automatically-tag-and-release-this-commit]EOF- # Push the result to a branch and setup metadata for the step below- # that creates a PR+ # Push the result to a branch and open a PR for itgit push origin HEAD:ci/bump-to-$num- echo "PR_HEAD=ci/bump-to-$num" >> $GITHUB_ENV- echo "PR_TITLE=Release Wasmtime $num" >> $GITHUB_ENV- echo "PR_BASE=${{ github.ref_name }}" >> $GITHUB_ENVcat > pr-body <<-EOFThis is an [automated pull request][process] from CI to create a patch release for Wasmtime $num, requested by @${{ github.actor }}.@@ -184,28 +257,8 @@ jobs:[RELEASES.md]: https://github.com/${{ github.repository }}/blob/release-$num/RELEASES.md[process]: https://docs.wasmtime.dev/contributing-release-process.htmlEOF-- if: github.event.inputs.action == 'release-patch'-- - name: Make a PR- # Note that the syntax here is kinda funky, and the general gist is that- # I couldn't figure out a good way to have a multiline string-literal- # become a json-encoded string literal to send to GitHub. This- # represents my best attempt.- run: |- set -ex- body=$(jq -sR < ./pr-body)-- curl --include --request POST \- https://api.github.com/repos/${{ github.repository }}/pulls \- --header "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \- --data @- << EOF- {- "head": "$PR_HEAD",- "base": "$PR_BASE",- "title": "$PR_TITLE",- "body": $body,- "maintainer_can_modify": true-- }- EOF+ gh pr create --repo ${{ github.repository }} \+ --head ci/bump-to-$num \+ --base ${{ github.ref_name }} \+ --title "Release Wasmtime $num" \+ --body-file pr-bodydiff --git a/.gitignore b/.gitignoreindex 0165f5801e..b2bd063757 100644--- a/.gitignore+++ b/.gitignore@@ -18,7 +18,6 @@ target.z3-tracefoo.cargo-publishvendorexamples/buildexamples/.cachediff --git a/Cargo.lock b/Cargo.lockindex f2c0b89cd8..78326de57c 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -287,7 +287,7 @@ dependencies = [[[package]]name = "byte-array-literals"-version = "49.0.0"+version = "49.0.0-dev"[[package]]name = "byteorder"@@ -673,7 +673,7 @@ dependencies = [[[package]]name = "cranelift"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["cranelift-codegen","cranelift-frontend",@@ -686,7 +686,7 @@ dependencies = [[[package]]name = "cranelift-assembler-x64"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["arbitrary","arbtest",@@ -705,14 +705,14 @@ dependencies = [[[package]]name = "cranelift-assembler-x64-meta"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["cranelift-srcgen",][[package]]name = "cranelift-bforest"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["cranelift-entity","wasmtime-internal-core",@@ -720,7 +720,7 @@ dependencies = [[[package]]name = "cranelift-bitset"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["arbitrary","serde",@@ -730,7 +730,7 @@ dependencies = [[[package]]name = "cranelift-codegen"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["anyhow","bumpalo",@@ -767,7 +767,7 @@ dependencies = [[[package]]name = "cranelift-codegen-meta"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["cranelift-assembler-x64-meta","cranelift-codegen-shared",@@ -778,18 +778,18 @@ dependencies = [[[package]]name = "cranelift-codegen-shared"-version = "0.136.0"+version = "0.136.0-dev"[[package]]name = "cranelift-control"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["arbitrary",][[package]]name = "cranelift-entity"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["cranelift-bitset","serde",@@ -831,7 +831,7 @@ dependencies = [[[package]]name = "cranelift-frontend"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["cranelift-codegen","env_logger 0.11.5",@@ -856,7 +856,7 @@ dependencies = [[[package]]name = "cranelift-interpreter"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["cranelift-codegen","cranelift-entity",@@ -870,7 +870,7 @@ dependencies = [[[package]]name = "cranelift-isle"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["codespan-reporting","log",@@ -954,7 +954,7 @@ dependencies = [[[package]]name = "cranelift-jit"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["anyhow","cranelift",@@ -976,7 +976,7 @@ dependencies = [[[package]]name = "cranelift-module"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["anyhow","cranelift-codegen",@@ -988,7 +988,7 @@ dependencies = [[[package]]name = "cranelift-native"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["cranelift-codegen","libc",@@ -997,7 +997,7 @@ dependencies = [[[package]]name = "cranelift-object"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["anyhow","cranelift-codegen",@@ -1013,7 +1013,7 @@ dependencies = [[[package]]name = "cranelift-reader"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["anyhow","cranelift-codegen",@@ -1023,7 +1023,7 @@ dependencies = [[[package]]name = "cranelift-serde"-version = "0.136.0"+version = "0.136.0-dev"dependencies = ["clap","cranelift-codegen",@@ -1033,7 +1033,7 @@ dependencies = [[[package]]name = "cranelift-srcgen"-version = "0.136.0"+version = "0.136.0-dev"[[package]]name = "cranelift-tools"@@ -1294,7 +1294,7 @@ checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d"[[package]]name = "embedding"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["dlmalloc","raw-cpuid",@@ -2459,7 +2459,7 @@ dependencies = [[[package]]name = "min-platform-host"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["libloading","object 0.40.0",@@ -2984,7 +2984,7 @@ dependencies = [[[package]]name = "pulley-interpreter"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["anyhow","arbitrary",@@ -3008,7 +3008,7 @@ dependencies = [[[package]]name = "pulley-macros"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["proc-macro2","quote",@@ -3484,9 +3484,9 @@ dependencies = [[[package]]name = "serde_spanned"-version = "1.0.3"+version = "1.1.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e24345aa0fe688594e73770a5f6d1b216508b4f93484c0026d521acd30134392"+checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26"dependencies = ["serde_core",]@@ -3984,9 +3984,9 @@ dependencies = [[[package]]name = "toml"-version = "0.9.8"+version = "1.1.4+spec-1.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f0dc8b1fb61449e27716ec0e1bdf0f6b8f3e8f6b05391e8497b8b6d7804ea6d8"+checksum = "3aace63f4bbcdfc2c965b059de67119c89c4017a70d633be6c104910f67056f5"dependencies = ["indexmap 2.14.0","serde_core",@@ -3999,27 +3999,40 @@ dependencies = [[[package]]name = "toml_datetime"-version = "0.7.3"+version = "1.1.1+spec-1.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533"+checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7"dependencies = ["serde_core",]+[[package]]+name = "toml_edit"+version = "0.25.13+spec-1.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6975367e4d2ef766d86af01ffad14b622fecc8d4357a998fbc4deb6e9bacaf9b"+dependencies = [+ "indexmap 2.14.0",+ "toml_datetime",+ "toml_parser",+ "toml_writer",+ "winnow",+]+[[package]]name = "toml_parser"-version = "1.0.4"+version = "1.1.3+spec-1.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e"+checksum = "1d38ac1cf9b95face32296c0a3ede1fdc270627c9d9c02a7274dd6d960dc4d56"dependencies = ["winnow",][[package]]name = "toml_writer"-version = "1.0.4"+version = "1.1.2+spec-1.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "df8b2b54733674ad286d16267dcfc7a71ed5c776e4ac7aa3c3e2561f7c637bf2"+checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2"[[package]]name = "torch-sys"@@ -4271,7 +4284,7 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"[[package]]name = "verify-component-adapter"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["anyhow","wasmparser 0.254.0",@@ -4345,7 +4358,7 @@ dependencies = [[[package]]name = "wasi-preview1-component-adapter"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["bitflags 2.11.1","byte-array-literals",@@ -4577,7 +4590,7 @@ dependencies = [[[package]]name = "wasmtime"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["addr2line 0.26.0","async-trait",@@ -4638,7 +4651,7 @@ dependencies = [[[package]]name = "wasmtime-bench-api"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["clap","shuffling-allocator",@@ -4652,14 +4665,14 @@ dependencies = [[[package]]name = "wasmtime-c-api"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["wasmtime-c-api-impl",][[package]]name = "wasmtime-c-api-impl"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["async-trait","bytes",@@ -4678,7 +4691,7 @@ dependencies = [[[package]]name = "wasmtime-cli"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["anyhow","async-trait",@@ -4755,7 +4768,7 @@ dependencies = [[[package]]name = "wasmtime-cli-flags"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["clap","file-per-thread-logger",@@ -4769,7 +4782,7 @@ dependencies = [[[package]]name = "wasmtime-environ"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["anyhow","arbitrary",@@ -4886,7 +4899,7 @@ dependencies = [[[package]]name = "wasmtime-internal-c-api-macros"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["proc-macro2","quote",@@ -4894,7 +4907,7 @@ dependencies = [[[package]]name = "wasmtime-internal-cache"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["base64","directories-next",@@ -4915,7 +4928,7 @@ dependencies = [[[package]]name = "wasmtime-internal-component-macro"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["anyhow","component-macro-test-helpers",@@ -4935,11 +4948,11 @@ dependencies = [[[package]]name = "wasmtime-internal-component-util"-version = "49.0.0"+version = "49.0.0-dev"[[package]]name = "wasmtime-internal-core"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["anyhow","hashbrown 0.17.0",@@ -4949,7 +4962,7 @@ dependencies = [[[package]]name = "wasmtime-internal-cranelift"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["cranelift-codegen","cranelift-control",@@ -4973,7 +4986,7 @@ dependencies = [[[package]]name = "wasmtime-internal-debugger"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["async-trait","env_logger 0.11.5",@@ -4986,7 +4999,7 @@ dependencies = [[[package]]name = "wasmtime-internal-explorer"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["capstone","serde",@@ -5000,7 +5013,7 @@ dependencies = [[[package]]name = "wasmtime-internal-fiber"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["backtrace","cc",@@ -5013,7 +5026,7 @@ dependencies = [[[package]]name = "wasmtime-internal-gdbstub-component"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["anyhow","clap",@@ -5029,11 +5042,11 @@ dependencies = [[[package]]name = "wasmtime-internal-gdbstub-component-artifact"-version = "49.0.0"+version = "49.0.0-dev"[[package]]name = "wasmtime-internal-jit-debug"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["cc","object 0.40.0",@@ -5043,7 +5056,7 @@ dependencies = [[[package]]name = "wasmtime-internal-jit-icache-coherence"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["libc","wasmtime-internal-core",@@ -5052,7 +5065,7 @@ dependencies = [[[package]]name = "wasmtime-internal-unwinder"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["cranelift-codegen","log",@@ -5062,7 +5075,7 @@ dependencies = [[[package]]name = "wasmtime-internal-versioned-export-macros"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["proc-macro2","quote",@@ -5071,7 +5084,7 @@ dependencies = [[[package]]name = "wasmtime-internal-winch"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["cranelift-codegen","gimli 0.33.0",@@ -5086,7 +5099,7 @@ dependencies = [[[package]]name = "wasmtime-internal-wit-bindgen"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["anyhow","bitflags 2.11.1",@@ -5098,7 +5111,18 @@ dependencies = [[[package]]name = "wasmtime-internal-wmemcheck"-version = "49.0.0"+version = "49.0.0-dev"++[[package]]+name = "wasmtime-publish"+version = "0.0.0"+dependencies = [+ "semver",+ "serde",+ "serde_derive",+ "serde_json",+ "toml_edit",+][[package]]name = "wasmtime-test-macros"@@ -5113,7 +5137,7 @@ dependencies = [[[package]]name = "wasmtime-test-util"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["arbitrary","arbtest",@@ -5136,7 +5160,7 @@ dependencies = [[[package]]name = "wasmtime-wasi"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["async-trait","bitflags 2.11.1",@@ -5164,7 +5188,7 @@ dependencies = [[[package]]name = "wasmtime-wasi-config"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["test-programs-artifacts","tokio",@@ -5174,7 +5198,7 @@ dependencies = [[[package]]name = "wasmtime-wasi-http"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["async-trait","base64",@@ -5207,7 +5231,7 @@ dependencies = [[[package]]name = "wasmtime-wasi-io"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["async-trait","bytes",@@ -5218,7 +5242,7 @@ dependencies = [[[package]]name = "wasmtime-wasi-keyvalue"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["test-programs-artifacts","tokio",@@ -5228,7 +5252,7 @@ dependencies = [[[package]]name = "wasmtime-wasi-nn"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["libtest-mimic","openvino",@@ -5247,7 +5271,7 @@ dependencies = [[[package]]name = "wasmtime-wasi-tls"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["bytes","futures",@@ -5267,7 +5291,7 @@ dependencies = [[[package]]name = "wasmtime-wast"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["json-from-wast","log",@@ -5281,7 +5305,7 @@ dependencies = [[[package]]name = "wasmtime-wizer"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["clap","criterion",@@ -5362,7 +5386,7 @@ dependencies = [[[package]]name = "wiggle"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["bitflags 2.11.1","proptest",@@ -5378,7 +5402,7 @@ dependencies = [[[package]]name = "wiggle-generate"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["heck","proc-macro2",@@ -5390,7 +5414,7 @@ dependencies = [[[package]]name = "wiggle-macro"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["proc-macro2","quote",@@ -5445,7 +5469,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"[[package]]name = "winch-codegen"-version = "49.0.0"+version = "49.0.0-dev"dependencies = ["cranelift-assembler-x64","cranelift-codegen",@@ -5593,9 +5617,12 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"[[package]]name = "winnow"-version = "0.7.13"+version = "1.0.4"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf"+checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81"+dependencies = [+ "memchr",+][[package]]name = "winsafe"diff --git a/Cargo.toml b/Cargo.tomlindex 71b8795bfe..72a976a5ff 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -194,6 +194,7 @@ members = ["crates/c-api/artifact","crates/environ/fuzz","crates/misc/component-async-tests",+ "crates/misc/publish","crates/test-programs","crates/wasi-preview1-component-adapter","crates/wasi-preview1-component-adapter/verify",@@ -219,7 +220,7 @@ exclude = [][workspace.package]-version = "49.0.0"+version = "49.0.0-dev"authors = ["The Wasmtime Project Developers"]edition = "2024"# Wasmtime's current policy is that this number can be no larger than the@@ -280,17 +281,17 @@ extra_unused_type_parameters = 'warn'# tooling but aren't intended to be widely depended on.## All of these crates are supported though in the sense that-wasmtime = { path = "crates/wasmtime", version = "49.0.0", default-features = false }-wasmtime-cli-flags = { path = "crates/cli-flags", version = "=49.0.0" }-wasmtime-environ = { path = "crates/environ", version = "=49.0.0" }-wasmtime-wasi = { path = "crates/wasi", version = "49.0.0", default-features = false }-wasmtime-wasi-io = { path = "crates/wasi-io", version = "49.0.0", default-features = false }-wasmtime-wasi-http = { path = "crates/wasi-http", version = "49.0.0", default-features = false }-wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "49.0.0" }-wasmtime-wasi-config = { path = "crates/wasi-config", version = "49.0.0" }-wasmtime-wasi-keyvalue = { path = "crates/wasi-keyvalue", version = "49.0.0" }-wasmtime-wasi-tls = { path = "crates/wasi-tls", version = "49.0.0" }-wasmtime-wast = { path = "crates/wast", version = "=49.0.0" }+wasmtime = { path = "crates/wasmtime", version = "49.0.0-dev", default-features = false }+wasmtime-cli-flags = { path = "crates/cli-flags", version = "=49.0.0-dev" }+wasmtime-environ = { path = "crates/environ", version = "=49.0.0-dev" }+wasmtime-wasi = { path = "crates/wasi", version = "49.0.0-dev", default-features = false }+wasmtime-wasi-io = { path = "crates/wasi-io", version = "49.0.0-dev", default-features = false }+wasmtime-wasi-http = { path = "crates/wasi-http", version = "49.0.0-dev", default-features = false }+wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "49.0.0-dev" }+wasmtime-wasi-config = { path = "crates/wasi-config", version = "49.0.0-dev" }+wasmtime-wasi-keyvalue = { path = "crates/wasi-keyvalue", version = "49.0.0-dev" }+wasmtime-wasi-tls = { path = "crates/wasi-tls", version = "49.0.0-dev" }+wasmtime-wast = { path = "crates/wast", version = "=49.0.0-dev" }# Internal Wasmtime-specific crates.#@@ -299,54 +300,54 @@ wasmtime-wast = { path = "crates/wast", version = "=49.0.0" }# that these are internal unsupported crates for external use. These exist as# part of the project organization of other public crates in Wasmtime and are# otherwise not supported in terms of CVEs for example.-wasmtime-core = { path = "crates/core", version = "=49.0.0", package = 'wasmtime-internal-core' }-wasmtime-wmemcheck = { path = "crates/wmemcheck", version = "=49.0.0", package = 'wasmtime-internal-wmemcheck' }-wasmtime-c-api-macros = { path = "crates/c-api-macros", version = "=49.0.0", package = 'wasmtime-internal-c-api-macros' }-wasmtime-cache = { path = "crates/cache", version = "=49.0.0", package = 'wasmtime-internal-cache' }-wasmtime-cranelift = { path = "crates/cranelift", version = "=49.0.0", package = 'wasmtime-internal-cranelift' }-wasmtime-winch = { path = "crates/winch", version = "=49.0.0", package = 'wasmtime-internal-winch' }-wasmtime-explorer = { path = "crates/explorer", version = "=49.0.0", package = 'wasmtime-internal-explorer' }-wasmtime-fiber = { path = "crates/fiber", version = "=49.0.0", package = 'wasmtime-internal-fiber' }-wasmtime-jit-debug = { path = "crates/jit-debug", version = "=49.0.0", package = 'wasmtime-internal-jit-debug' }-wasmtime-component-util = { path = "crates/component-util", version = "=49.0.0", package = 'wasmtime-internal-component-util' }-wasmtime-component-macro = { path = "crates/component-macro", version = "=49.0.0", package = 'wasmtime-internal-component-macro' }-wasmtime-versioned-export-macros = { path = "crates/versioned-export-macros", version = "=49.0.0", package = 'wasmtime-internal-versioned-export-macros' }-wasmtime-jit-icache-coherence = { path = "crates/jit-icache-coherence", version = "=49.0.0", package = 'wasmtime-internal-jit-icache-coherence' }-wasmtime-wit-bindgen = { path = "crates/wit-bindgen", version = "=49.0.0", package = 'wasmtime-internal-wit-bindgen' }-wasmtime-unwinder = { path = "crates/unwinder", version = "=49.0.0", package = 'wasmtime-internal-unwinder' }-wasmtime-debugger = { path = "crates/debugger", version = "=49.0.0", package = "wasmtime-internal-debugger" }-gdbstub-component-artifact = { path = "crates/gdbstub-component/artifact", version = "=49.0.0", package = "wasmtime-internal-gdbstub-component-artifact" }-wasmtime-wizer = { path = "crates/wizer", version = "49.0.0" }+wasmtime-core = { path = "crates/core", version = "=49.0.0-dev", package = 'wasmtime-internal-core' }+wasmtime-wmemcheck = { path = "crates/wmemcheck", version = "=49.0.0-dev", package = 'wasmtime-internal-wmemcheck' }+wasmtime-c-api-macros = { path = "crates/c-api-macros", version = "=49.0.0-dev", package = 'wasmtime-internal-c-api-macros' }+wasmtime-cache = { path = "crates/cache", version = "=49.0.0-dev", package = 'wasmtime-internal-cache' }+wasmtime-cranelift = { path = "crates/cranelift", version = "=49.0.0-dev", package = 'wasmtime-internal-cranelift' }+wasmtime-winch = { path = "crates/winch", version = "=49.0.0-dev", package = 'wasmtime-internal-winch' }+wasmtime-explorer = { path = "crates/explorer", version = "=49.0.0-dev", package = 'wasmtime-internal-explorer' }+wasmtime-fiber = { path = "crates/fiber", version = "=49.0.0-dev", package = 'wasmtime-internal-fiber' }+wasmtime-jit-debug = { path = "crates/jit-debug", version = "=49.0.0-dev", package = 'wasmtime-internal-jit-debug' }+wasmtime-component-util = { path = "crates/component-util", version = "=49.0.0-dev", package = 'wasmtime-internal-component-util' }+wasmtime-component-macro = { path = "crates/component-macro", version = "=49.0.0-dev", package = 'wasmtime-internal-component-macro' }+wasmtime-versioned-export-macros = { path = "crates/versioned-export-macros", version = "=49.0.0-dev", package = 'wasmtime-internal-versioned-export-macros' }+wasmtime-jit-icache-coherence = { path = "crates/jit-icache-coherence", version = "=49.0.0-dev", package = 'wasmtime-internal-jit-icache-coherence' }+wasmtime-wit-bindgen = { path = "crates/wit-bindgen", version = "=49.0.0-dev", package = 'wasmtime-internal-wit-bindgen' }+wasmtime-unwinder = { path = "crates/unwinder", version = "=49.0.0-dev", package = 'wasmtime-internal-unwinder' }+wasmtime-debugger = { path = "crates/debugger", version = "=49.0.0-dev", package = "wasmtime-internal-debugger" }+gdbstub-component-artifact = { path = "crates/gdbstub-component/artifact", version = "=49.0.0-dev", package = "wasmtime-internal-gdbstub-component-artifact" }+wasmtime-wizer = { path = "crates/wizer", version = "49.0.0-dev" }# Miscellaneous crates without a `wasmtime-*` prefix in their name but still# used in the `wasmtime-*` family of crates depending on various features/etc.-wiggle = { path = "crates/wiggle", version = "=49.0.0", default-features = false }-wiggle-macro = { path = "crates/wiggle/macro", version = "=49.0.0" }-wiggle-generate = { path = "crates/wiggle/generate", version = "=49.0.0" }-pulley-interpreter = { path = 'pulley', version = "=49.0.0" }-pulley-macros = { path = 'pulley/macros', version = "=49.0.0" }+wiggle = { path = "crates/wiggle", version = "=49.0.0-dev", default-features = false }+wiggle-macro = { path = "crates/wiggle/macro", version = "=49.0.0-dev" }+wiggle-generate = { path = "crates/wiggle/generate", version = "=49.0.0-dev" }+pulley-interpreter = { path = 'pulley', version = "=49.0.0-dev" }+pulley-macros = { path = 'pulley/macros', version = "=49.0.0-dev" }# Cranelift crates in this workspace-cranelift-assembler-x64 = { path = "cranelift/assembler-x64", version = "0.136.0" }-cranelift-codegen = { path = "cranelift/codegen", version = "0.136.0", default-features = false, features = ["unwind"] }-cranelift-frontend = { path = "cranelift/frontend", version = "0.136.0" }-cranelift-entity = { path = "cranelift/entity", version = "0.136.0" }-cranelift-native = { path = "cranelift/native", version = "0.136.0" }-cranelift-module = { path = "cranelift/module", version = "0.136.0" }-cranelift-interpreter = { path = "cranelift/interpreter", version = "0.136.0" }-cranelift-reader = { path = "cranelift/reader", version = "0.136.0" }+cranelift-assembler-x64 = { path = "cranelift/assembler-x64", version = "0.136.0-dev" }+cranelift-codegen = { path = "cranelift/codegen", version = "0.136.0-dev", default-features = false, features = ["unwind"] }+cranelift-frontend = { path = "cranelift/frontend", version = "0.136.0-dev" }+cranelift-entity = { path = "cranelift/entity", version = "0.136.0-dev" }+cranelift-native = { path = "cranelift/native", version = "0.136.0-dev" }+cranelift-module = { path = "cranelift/module", version = "0.136.0-dev" }+cranelift-interpreter = { path = "cranelift/interpreter", version = "0.136.0-dev" }+cranelift-reader = { path = "cranelift/reader", version = "0.136.0-dev" }cranelift-filetests = { path = "cranelift/filetests" }-cranelift-object = { path = "cranelift/object", version = "0.136.0" }-cranelift-jit = { path = "cranelift/jit", version = "0.136.0" }+cranelift-object = { path = "cranelift/object", version = "0.136.0-dev" }+cranelift-jit = { path = "cranelift/jit", version = "0.136.0-dev" }cranelift-fuzzgen = { path = "cranelift/fuzzgen" }-cranelift-bforest = { path = "cranelift/bforest", version = "0.136.0" }-cranelift-bitset = { path = "cranelift/bitset", version = "0.136.0" }-cranelift-control = { path = "cranelift/control", version = "0.136.0", default-features = false }-cranelift-srcgen = { path = "cranelift/srcgen", version = "0.136.0" }-cranelift = { path = "cranelift/umbrella", version = "0.136.0" }+cranelift-bforest = { path = "cranelift/bforest", version = "0.136.0-dev" }+cranelift-bitset = { path = "cranelift/bitset", version = "0.136.0-dev" }+cranelift-control = { path = "cranelift/control", version = "0.136.0-dev", default-features = false }+cranelift-srcgen = { path = "cranelift/srcgen", version = "0.136.0-dev" }+cranelift = { path = "cranelift/umbrella", version = "0.136.0-dev" }# Winch crates in this workspace.-winch-codegen = { path = "winch/codegen", version = "=49.0.0" }+winch-codegen = { path = "winch/codegen", version = "=49.0.0-dev" }# Internal crates not published to crates.io used in testing, builds, etcwasi-preview1-component-adapter = { path = "crates/wasi-preview1-component-adapter" }@@ -418,7 +419,7 @@ thiserror = "2.0.17"async-trait = "0.1.89"heck = "0.5"similar = "3.1.1"-toml = "0.9.8"+toml = "1.1.4"mach2 = "0.6"memfd = "0.6.5"psm = "0.1.11"diff --git a/ci/build-tarballs.sh b/ci/build-tarballs.shindex 815ed4d56f..7aeadb3798 100755--- a/ci/build-tarballs.sh+++ b/ci/build-tarballs.sh@@ -62,7 +62,10 @@ case $build inif [ "$min" = "" ]; then# Generate a `*.msi` installer for Windows as well- export WT_VERSION=`cat Cargo.toml | sed -n 's/^version = "\([^"]*\)".*/\1/p'`+ # Note that WiX requires a strictly numeric `x.y.z` version, so any+ # pre-release suffix (`-dev` on `main`, `-rc.N` on a release branch) is+ # stripped here.+ export WT_VERSION=$(./ci/print-current-version.sh | sed 's/-.*//')"$WIX/bin/candle" -arch x64 -out target/wasmtime.wixobj ci/wasmtime.wxs"$WIX/bin/light" -out dist/$bin_pkgname.msi target/wasmtime.wixobj -ext WixUtilExtensionrm dist/$bin_pkgname.wixpdbdiff --git a/ci/find-latest-release.rs b/ci/find-latest-release.rsdeleted file mode 100644index 00644245e5..0000000000--- a/ci/find-latest-release.rs+++ /dev/null@@ -1,26 +0,0 @@-use std::process::Command;-fn main() {- let output = Command::new("git")- .arg("for-each-ref")- .arg("refs/remotes/origin")- .arg("--format")- .arg("%(refname)")- .output()- .unwrap();- assert!(output.status.success());- let mut releases = std::str::from_utf8(&output.stdout)- .unwrap()- .lines()- .filter_map(|l| l.strip_prefix("refs/remotes/origin/release-"))- .filter_map(|l| {- let mut parts = l.split('.');- let major = parts.next()?.parse::<u32>().ok()?;- let minor = parts.next()?.parse::<u32>().ok()?;- let patch = parts.next()?.parse::<u32>().ok()?;- Some((major, minor, patch))- })- .collect::<Vec<_>>();- releases.sort();- let (major, minor, patch) = releases.last().unwrap();- println!("{}.{}.{}", major, minor, patch);-}diff --git a/cranelift/assembler-x64/Cargo.toml b/cranelift/assembler-x64/Cargo.tomlindex 4dc7c0cc4a..ee66891c33 100644--- a/cranelift/assembler-x64/Cargo.toml+++ b/cranelift/assembler-x64/Cargo.toml@@ -1,7 +1,7 @@[package]name = "cranelift-assembler-x64"description = "A Cranelift-specific x64 assembler"-version = "0.136.0"+version = "0.136.0-dev"license = "Apache-2.0 WITH LLVM-exception"edition.workspace = truerust-version.workspace = true@@ -25,7 +25,7 @@ arbtest = { workspace = true }capstone = { workspace = true }[build-dependencies]-cranelift-assembler-x64-meta = { path = "meta", version = "0.136.0" }+cranelift-assembler-x64-meta = { path = "meta", version = "0.136.0-dev" }[lints]workspace = truediff --git a/cranelift/assembler-x64/meta/Cargo.toml b/cranelift/assembler-x64/meta/Cargo.tomlindex 1da25ea7d2..296d469b0e 100644--- a/cranelift/assembler-x64/meta/Cargo.toml+++ b/cranelift/assembler-x64/meta/Cargo.toml@@ -1,7 +1,7 @@[package]name = "cranelift-assembler-x64-meta"description = "Generate a Cranelift-specific assembler for x64 instructions"-version = "0.136.0"+version = "0.136.0-dev"license = "Apache-2.0 WITH LLVM-exception"edition.workspace = truerust-version.workspace = truediff --git a/cranelift/bforest/Cargo.toml b/cranelift/bforest/Cargo.tomlindex 885db9d4da..2d68a1fad1 100644--- a/cranelift/bforest/Cargo.toml+++ b/cranelift/bforest/Cargo.toml@@ -1,7 +1,7 @@[package]authors = ["The Cranelift Project Developers"]name = "cranelift-bforest"-version = "0.136.0"+version = "0.136.0-dev"description = "A forest of B+-trees"license = "Apache-2.0 WITH LLVM-exception"documentation = "https://docs.rs/cranelift-bforest"diff --git a/cranelift/bitset/Cargo.toml b/cranelift/bitset/Cargo.tomlindex f271c5d955..1ea6611b5e 100644--- a/cranelift/bitset/Cargo.toml+++ b/cranelift/bitset/Cargo.toml@@ -1,7 +1,7 @@[package]authors = ["The Cranelift Project Developers"]name = "cranelift-bitset"-version = "0.136.0"+version = "0.136.0-dev"description = "Various bitset stuff for use inside Cranelift"license = "Apache-2.0 WITH LLVM-exception"documentation = "https://docs.rs/cranelift-bitset"diff --git a/cranelift/codegen/Cargo.toml b/cranelift/codegen/Cargo.tomlindex ff52e60190..67193fcb8b 100644--- a/cranelift/codegen/Cargo.toml+++ b/cranelift/codegen/Cargo.toml@@ -1,7 +1,7 @@[package]authors = ["The Cranelift Project Developers"]name = "cranelift-codegen"-version = "0.136.0"+version = "0.136.0-dev"description = "Low-level code generator library"license = "Apache-2.0 WITH LLVM-exception"documentation = "https://docs.rs/cranelift-codegen"@@ -25,7 +25,7 @@ anyhow = { workspace = true, optional = true, features = ['std'] }bumpalo = { workspace = true }capstone = { workspace = true, optional = true }cranelift-assembler-x64 = { workspace = true }-cranelift-codegen-shared = { path = "./shared", version = "0.136.0" }+cranelift-codegen-shared = { path = "./shared", version = "0.136.0-dev" }cranelift-entity = { workspace = true }cranelift-bforest = { workspace = true }cranelift-bitset = { workspace = true }@@ -58,8 +58,8 @@ proptest = { workspace = true }mutatis = { workspace = true }[build-dependencies]-cranelift-codegen-meta = { path = "meta", version = "0.136.0" }-cranelift-isle = { path = "../isle/isle", version = "=0.136.0" }+cranelift-codegen-meta = { path = "meta", version = "0.136.0-dev" }+cranelift-isle = { path = "../isle/isle", version = "=0.136.0-dev" }[features]default = ["std", "unwind", "host-arch", "timing"]diff --git a/cranelift/codegen/meta/Cargo.toml b/cranelift/codegen/meta/Cargo.tomlindex f8224056b2..7342f9d271 100644--- a/cranelift/codegen/meta/Cargo.toml+++ b/cranelift/codegen/meta/Cargo.toml@@ -1,7 +1,7 @@[package]name = "cranelift-codegen-meta"authors = ["The Cranelift Project Developers"]-version = "0.136.0"+version = "0.136.0-dev"description = "Metaprogram for cranelift-codegen code generator library"license = "Apache-2.0 WITH LLVM-exception"repository = "https://github.com/bytecodealliance/wasmtime"@@ -17,8 +17,8 @@ rustdoc-args = ["--document-private-items"][dependencies]cranelift-srcgen = { workspace = true }-cranelift-assembler-x64-meta = { path = "../../assembler-x64/meta", version = "0.136.0" }-cranelift-codegen-shared = { path = "../shared", version = "0.136.0" }+cranelift-assembler-x64-meta = { path = "../../assembler-x64/meta", version = "0.136.0-dev" }+cranelift-codegen-shared = { path = "../shared", version = "0.136.0-dev" }pulley-interpreter = { workspace = true, optional = true }heck = "0.5.0"diff --git a/cranelift/codegen/shared/Cargo.toml b/cranelift/codegen/shared/Cargo.tomlindex 4a18ae05f4..76b3caf399 100644--- a/cranelift/codegen/shared/Cargo.toml+++ b/cranelift/codegen/shared/Cargo.toml@@ -1,7 +1,7 @@[package]authors = ["The Cranelift Project Developers"]name = "cranelift-codegen-shared"-version = "0.136.0"+version = "0.136.0-dev"description = "For code shared between cranelift-codegen-meta and cranelift-codegen"license = "Apache-2.0 WITH LLVM-exception"repository = "https://github.com/bytecodealliance/wasmtime"diff --git a/cranelift/control/Cargo.toml b/cranelift/control/Cargo.tomlindex fe3bc32e9a..7761cf7bb6 100644--- a/cranelift/control/Cargo.toml+++ b/cranelift/control/Cargo.toml@@ -1,7 +1,7 @@[package]authors = ["The Cranelift Project Developers"]name = "cranelift-control"-version = "0.136.0"+version = "0.136.0-dev"description = "White-box fuzz testing framework"license = "Apache-2.0 WITH LLVM-exception"repository = "https://github.com/bytecodealliance/wasmtime"diff --git a/cranelift/entity/Cargo.toml b/cranelift/entity/Cargo.tomlindex ae4b1163f9..1ac38827a9 100644--- a/cranelift/entity/Cargo.toml+++ b/cranelift/entity/Cargo.toml@@ -1,7 +1,7 @@[package]authors = ["The Cranelift Project Developers"]name = "cranelift-entity"-version = "0.136.0"+version = "0.136.0-dev"description = "Data structures using entity references as mapping keys"license = "Apache-2.0 WITH LLVM-exception"documentation = "https://docs.rs/cranelift-entity"diff --git a/cranelift/frontend/Cargo.toml b/cranelift/frontend/Cargo.tomlindex 1a60440386..9d4c5d1e9b 100644--- a/cranelift/frontend/Cargo.toml+++ b/cranelift/frontend/Cargo.toml@@ -1,7 +1,7 @@[package]authors = ["The Cranelift Project Developers"]name = "cranelift-frontend"-version = "0.136.0"+version = "0.136.0-dev"description = "Cranelift IR builder helper"license = "Apache-2.0 WITH LLVM-exception"documentation = "https://docs.rs/cranelift-frontend"diff --git a/cranelift/interpreter/Cargo.toml b/cranelift/interpreter/Cargo.tomlindex f9d586ef02..6856752a30 100644--- a/cranelift/interpreter/Cargo.toml+++ b/cranelift/interpreter/Cargo.toml@@ -1,6 +1,6 @@[package]name = "cranelift-interpreter"-version = "0.136.0"+version = "0.136.0-dev"authors = ["The Cranelift Project Developers"]description = "Interpret Cranelift IR"repository = "https://github.com/bytecodealliance/wasmtime"diff --git a/cranelift/isle/isle/Cargo.toml b/cranelift/isle/isle/Cargo.tomlindex 2708b50236..340fde5fbf 100644--- a/cranelift/isle/isle/Cargo.toml+++ b/cranelift/isle/isle/Cargo.toml@@ -7,7 +7,7 @@ license = "Apache-2.0 WITH LLVM-exception"name = "cranelift-isle"readme = "../README.md"repository = "https://github.com/bytecodealliance/wasmtime/tree/main/cranelift/isle"-version = "0.136.0"+version = "0.136.0-dev"[lints]workspace = truediff --git a/cranelift/isle/islec/Cargo.toml b/cranelift/isle/islec/Cargo.tomlindex 51451634f4..b666dd9b96 100644--- a/cranelift/isle/islec/Cargo.toml+++ b/cranelift/isle/islec/Cargo.toml@@ -8,6 +8,6 @@ license = "Apache-2.0 WITH LLVM-exception"publish = false[dependencies]-cranelift-isle = { version = "*", path = "../isle/", features = ["fancy-errors", "logging"] }+cranelift-isle = { path = "../isle/", features = ["fancy-errors", "logging"] }env_logger = { workspace = true }clap = { workspace = true, features = ['default'] }diff --git a/cranelift/isle/veri/veri/Cargo.toml b/cranelift/isle/veri/veri/Cargo.tomlindex 51011c2013..3f9c74ef16 100644--- a/cranelift/isle/veri/veri/Cargo.toml+++ b/cranelift/isle/veri/veri/Cargo.toml@@ -5,9 +5,9 @@ edition.workspace = truepublish = false[dependencies]-cranelift-isle = { version = "*", path = "../../isle/", features = ["fancy-errors", "logging"] }+cranelift-isle = { path = "../../isle/", features = ["fancy-errors", "logging"] }cranelift-isle-veri-caching = { path = "../caching" }-cranelift-codegen-meta = { version = "*", path = "../../../codegen/meta", features = ["spec"] }+cranelift-codegen-meta = { path = "../../../codegen/meta", features = ["spec"] }log = { workspace = true }env_logger = { workspace = true }anyhow = { workspace = true, features = ['std', 'backtrace'] }diff --git a/cranelift/jit/Cargo.toml b/cranelift/jit/Cargo.tomlindex 47967ec095..5c95a9f140 100644--- a/cranelift/jit/Cargo.toml+++ b/cranelift/jit/Cargo.toml@@ -1,6 +1,6 @@[package]name = "cranelift-jit"-version = "0.136.0"+version = "0.136.0-dev"authors = ["The Cranelift Project Developers"]description = "A JIT library backed by Cranelift"repository = "https://github.com/bytecodealliance/wasmtime"diff --git a/cranelift/module/Cargo.toml b/cranelift/module/Cargo.tomlindex 3efa7e9cd5..624d5db209 100644--- a/cranelift/module/Cargo.toml+++ b/cranelift/module/Cargo.toml@@ -1,6 +1,6 @@[package]name = "cranelift-module"-version = "0.136.0"+version = "0.136.0-dev"authors = ["The Cranelift Project Developers"]description = "Support for linking functions and data with Cranelift"repository = "https://github.com/bytecodealliance/wasmtime"diff --git a/cranelift/native/Cargo.toml b/cranelift/native/Cargo.tomlindex c569ea65fb..39fca98167 100644--- a/cranelift/native/Cargo.toml+++ b/cranelift/native/Cargo.toml@@ -1,6 +1,6 @@[package]name = "cranelift-native"-version = "0.136.0"+version = "0.136.0-dev"authors = ["The Cranelift Project Developers"]description = "Support for targeting the host with Cranelift"documentation = "https://docs.rs/cranelift-native"diff --git a/cranelift/object/Cargo.toml b/cranelift/object/Cargo.tomlindex f634380c84..d6f74f19fe 100644--- a/cranelift/object/Cargo.toml+++ b/cranelift/object/Cargo.toml@@ -1,6 +1,6 @@[package]name = "cranelift-object"-version = "0.136.0"+version = "0.136.0-dev"authors = ["The Cranelift Project Developers"]description = "Emit Cranelift output to native object files with `object`"repository = "https://github.com/bytecodealliance/wasmtime"diff --git a/cranelift/reader/Cargo.toml b/cranelift/reader/Cargo.tomlindex 94c7ec381f..b33db9ac74 100644--- a/cranelift/reader/Cargo.toml+++ b/cranelift/reader/Cargo.toml@@ -1,7 +1,7 @@[package]authors = ["The Cranelift Project Developers"]name = "cranelift-reader"-version = "0.136.0"+version = "0.136.0-dev"description = "Cranelift textual IR reader"license = "Apache-2.0 WITH LLVM-exception"documentation = "https://docs.rs/cranelift-reader"diff --git a/cranelift/serde/Cargo.toml b/cranelift/serde/Cargo.tomlindex 963417e14c..8bb9cd5cb2 100644--- a/cranelift/serde/Cargo.toml+++ b/cranelift/serde/Cargo.toml@@ -1,6 +1,6 @@[package]name = "cranelift-serde"-version = "0.136.0"+version = "0.136.0-dev"authors = ["The Cranelift Project Developers"]description = "Serializer/Deserializer for Cranelift IR"repository = "https://github.com/bytecodealliance/wasmtime"diff --git a/cranelift/srcgen/Cargo.toml b/cranelift/srcgen/Cargo.tomlindex 75a73e2876..4273a7e0e6 100644--- a/cranelift/srcgen/Cargo.toml+++ b/cranelift/srcgen/Cargo.toml@@ -1,6 +1,6 @@[package]name = "cranelift-srcgen"-version = "0.136.0"+version = "0.136.0-dev"authors = ["The Wasmtime Project Developers"]description = "Helper functions for generating Rust and ISLE files"license = "Apache-2.0 WITH LLVM-exception"diff --git a/cranelift/umbrella/Cargo.toml b/cranelift/umbrella/Cargo.tomlindex 91e82b7f3b..6a65822d38 100644--- a/cranelift/umbrella/Cargo.toml+++ b/cranelift/umbrella/Cargo.toml@@ -1,7 +1,7 @@[package]authors = ["The Cranelift Project Developers"]name = "cranelift"-version = "0.136.0"+version = "0.136.0-dev"description = "Umbrella for commonly-used cranelift crates"license = "Apache-2.0 WITH LLVM-exception"documentation = "https://docs.rs/cranelift"diff --git a/crates/c-api/include/wasmtime.h b/crates/c-api/include/wasmtime.hindex 148cecf871..8898969976 100644--- a/crates/c-api/include/wasmtime.h+++ b/crates/c-api/include/wasmtime.h@@ -229,7 +229,7 @@/*** \brief Wasmtime version string.*/-#define WASMTIME_VERSION "49.0.0"+#define WASMTIME_VERSION "49.0.0-dev"/*** \brief Wasmtime major version number.*/diff --git a/crates/misc/publish/Cargo.toml b/crates/misc/publish/Cargo.tomlnew file mode 100644index 0000000000..9bb8b858bc--- /dev/null+++ b/crates/misc/publish/Cargo.toml@@ -0,0 +1,16 @@+[package]+name = "wasmtime-publish"+version = "0.0.0"+edition.workspace = true+rust-version.workspace = true+publish = false++[dependencies]+semver = { workspace = true }+serde = { workspace = true }+serde_derive = { workspace = true }+serde_json = { workspace = true }+toml_edit = "0.25.13"++[lints]+workspace = truediff --git a/crates/misc/publish/src/main.rs b/crates/misc/publish/src/main.rsnew file mode 100644index 0000000000..c411e6a556--- /dev/null+++ b/crates/misc/publish/src/main.rs@@ -0,0 +1,904 @@+//! Helper tool to publish the wasmtime and cranelift suites of crates.+//!+//! See documentation in `docs/contributing-release-process.md` for more+//! information, but in a nutshell:+//!+//! * `cargo run -p wasmtime-publish bump-major` - bump versions to the next `-dev`+//! * `cargo run -p wasmtime-publish bump-patch` - bump the patch number+//! * `cargo run -p wasmtime-publish bump-rc` - move to the next release candidate+//! * `cargo run -p wasmtime-publish bump-drop-rc` - strip the pre-release suffix+//! * `cargo run -p wasmtime-publish verify` - verify crates can be published to crates.io+//! * `cargo run -p wasmtime-publish publish` - actually publish crates to crates.io+//! * `cargo run -p wasmtime-publish yank-old-rcs` - yank superseded release candidates+//! * `cargo run -p wasmtime-publish latest-release` - print the most recent release branch's version++use semver::{Prerelease, Version};+use serde_derive::Deserialize;+use std::collections::HashMap;+use std::path::{Path, PathBuf};+use std::process::{Command, ExitStatus, Output, Stdio};+use std::time::Duration;+use std::{env, fs, thread};+use toml_edit::{DocumentMut, Item};++// note that this list must be topologically sorted by dependencies+const CRATES_TO_PUBLISH: &[&str] = &[+ "wasmtime-internal-core",+ "cranelift-bitset",+ // pulley+ "pulley-macros",+ "pulley-interpreter",+ // cranelift+ "cranelift-srcgen",+ "cranelift-assembler-x64-meta",+ "cranelift-assembler-x64",+ "cranelift-isle",+ "cranelift-entity",+ "cranelift-bforest",+ "cranelift-codegen-shared",+ "cranelift-codegen-meta",+ "cranelift-control",+ "cranelift-codegen",+ "cranelift-reader",+ "cranelift-serde",+ "cranelift-module",+ "cranelift-frontend",+ "cranelift-native",+ "cranelift-object",+ "cranelift-interpreter",+ "wasmtime-internal-component-util",+ "wasmtime-environ",+ "wasmtime-internal-jit-icache-coherence",+ // Wasmtime unwinder, used by both `cranelift-jit` (optionally) and filetests, and by Wasmtime.+ "wasmtime-internal-unwinder",+ // Cranelift crates that use Wasmtime unwinder.+ "cranelift-jit",+ "cranelift",+ // wiggle+ "wiggle-generate",+ "wiggle-macro",+ // wasmtime+ "wasmtime-internal-versioned-export-macros",+ "wasmtime-internal-wit-bindgen",+ "wasmtime-internal-component-macro",+ "wasmtime-internal-jit-debug",+ "wasmtime-internal-fiber",+ "wasmtime-internal-wmemcheck",+ "wasmtime-internal-cranelift",+ "wasmtime-internal-cache",+ "winch-codegen",+ "wasmtime-internal-winch",+ "wasmtime",+ "wiggle",+ // other misc wasmtime crates+ "wasmtime-wasi-io",+ "wasmtime-wasi",+ "wasmtime-wasi-http",+ "wasmtime-wasi-nn",+ "wasmtime-wasi-config",+ "wasmtime-wasi-keyvalue",+ "wasmtime-wasi-threads",+ "wasmtime-wasi-tls",+ "wasmtime-wast",+ "wasmtime-internal-c-api-macros",+ "wasmtime-c-api-impl",+ "wasmtime-wizer",+ "wasmtime-cli-flags",+ "wasmtime-internal-explorer",+ "wasmtime-internal-debugger",+ "wasmtime-internal-gdbstub-component-artifact",+ "wasmtime-cli",+];++// Anything **not** mentioned in this array is required to have an `=a.b.c`+// dependency requirement on it to enable breaking api changes even in "patch"+// releases since everything not mentioned here is just an organizational detail+// that no one else should rely on.+const PUBLIC_CRATES: &[&str] = &[+ // These are actually public crates which we cannot break the API of in+ // patch releases.+ "wasmtime",+ "wasmtime-wasi-io",+ "wasmtime-wasi",+ "wasmtime-wasi-tls",+ "wasmtime-wasi-http",+ "wasmtime-wasi-nn",+ "wasmtime-wasi-config",+ "wasmtime-wasi-keyvalue",+ "wasmtime-wasi-threads",+ "wasmtime-cli",+ "wasmtime-wizer",+ // All cranelift crates are considered "public" in that they can't have+ // breaking API changes in patch releases.+ "cranelift-srcgen",+ "cranelift-assembler-x64-meta",+ "cranelift-assembler-x64",+ "cranelift-entity",+ "cranelift-bforest",+ "cranelift-bitset",+ "cranelift-codegen-shared",+ "cranelift-codegen-meta",+ "cranelift-egraph",+ "cranelift-control",+ "cranelift-codegen",+ "cranelift-reader",+ "cranelift-serde",+ "cranelift-module",+ "cranelift-frontend",+ "cranelift-native",+ "cranelift-object",+ "cranelift-interpreter",+ "cranelift",+ "cranelift-jit",+ // This is a dependency of cranelift crates and as a result can't break in+ // patch releases as well+ "wasmtime-types",+];++const C_HEADER_PATH: &str = "./crates/c-api/include/wasmtime.h";++/// A single first-party crate discovered in the tree.+struct Crate {+ manifest: PathBuf,+ name: String,+ version: Version,+ publish: bool,+}++/// The version-rewriting operations that this tool knows how to perform.+#[derive(Copy, Clone)]+enum BumpOp {+ Major,+ Patch,+ Rc,+ DropRc,+}++fn main() {+ let root = read_doc(Path::new("./Cargo.toml"));+ let ws_version = workspace_version(&root);++ let mut crates = Vec::new();+ crates.push(read_crate(&ws_version, Path::new("./Cargo.toml")).expect("root is a crate"));+ find_crates(Path::new("crates"), &ws_version, &mut crates);+ find_crates(Path::new("cranelift"), &ws_version, &mut crates);+ find_crates(Path::new("pulley"), &ws_version, &mut crates);+ find_crates(Path::new("winch"), &ws_version, &mut crates);++ let pos = CRATES_TO_PUBLISH+ .iter()+ .enumerate()+ .map(|(i, c)| (*c, i))+ .collect::<HashMap<_, _>>();+ crates.sort_by_key(|krate| pos.get(&krate.name[..]));++ match &env::args().nth(1).expect("must have one argument")[..] {+ name @ ("bump-major" | "bump-patch" | "bump-rc" | "bump-drop-rc") => {+ let op = match name {+ "bump-major" => BumpOp::Major,+ "bump-patch" => BumpOp::Patch,+ "bump-rc" => BumpOp::Rc,+ "bump-drop-rc" => BumpOp::DropRc,+ _ => unreachable!(),+ };++ let next: HashMap<&str, Version> = crates+ .iter()+ .filter(|k| k.publish)+ .map(|k| (k.name.as_str(), bump(&k.version, op)))+ .collect();++ for krate in crates.iter() {+ bump_version(krate, &crates, &next);+ }+ // update C API version in wasmtime.h+ update_capi_version();+ // update the lock file+ run_cmd(Command::new("cargo").arg("fetch"));+ }++ "publish" => {+ // We have so many crates to publish we're frequently either+ // rate-limited or we run into issues where crates can't publish+ // successfully because they're waiting on the index entries of+ // previously-published crates to propagate. This means we try to+ // publish in a loop and we remove crates once they're successfully+ // published. Failed-to-publish crates get enqueued for another try+ // later on.+ for _ in 0..10 {+ crates.retain(|krate| !publish(krate));++ if crates.is_empty() {+ break;+ }++ println!(+ "{} crates failed to publish, waiting for a bit to retry",+ crates.len(),+ );+ thread::sleep(Duration::from_secs(40));+ }++ assert!(crates.is_empty(), "failed to publish all crates");++ println!();+ println!("===================================================================");+ println!();+ println!("Don't forget to push a git tag for this release!");+ println!();+ println!(" $ git tag vX.Y.Z");+ println!(" $ git push [email protected]:bytecodealliance/wasmtime.git vX.Y.Z");+ }++ "yank-old-rcs" => {+ assert!(+ yank_old_rcs(&crates),+ "failed to yank all superseded release candidates"+ );+ }++ "verify" => {+ verify(&crates);+ }++ "latest-release" => {+ println!("{}", latest_release_branch());+ }++ s => panic!("unknown command: {s}"),+ }+}++fn cmd_output(cmd: &mut Command) -> Output {+ eprintln!("Running: `{cmd:?}`");+ match cmd.output() {+ Ok(o) => o,+ Err(e) => panic!("Failed to run `{cmd:?}`: {e}"),+ }+}++fn cmd_status(cmd: &mut Command) -> ExitStatus {+ eprintln!("Running: `{cmd:?}`");+ match cmd.status() {+ Ok(s) => s,+ Err(e) => panic!("Failed to run `{cmd:?}`: {e}"),+ }+}++fn run_cmd(cmd: &mut Command) {+ let status = cmd_status(cmd);+ assert!(+ status.success(),+ "Command `{cmd:?}` exited with failure status: {status}"+ );+}++/// Parses the `Cargo.toml` at `path` into an editable document.+fn read_doc(path: &Path) -> DocumentMut {+ fs::read_to_string(path)+ .unwrap_or_else(|e| panic!("failed to read {}: {e}", path.display()))+ .parse::<DocumentMut>()+ .unwrap_or_else(|e| panic!("failed to parse {}: {e}", path.display()))+}++/// Reads the `[workspace.package] version` from the root manifest.+fn workspace_version(root: &DocumentMut) -> Version {+ let version = root["workspace"]["package"]["version"]+ .as_str()+ .expect("workspace version");+ parse_version(version)+}++fn parse_version(version: &str) -> Version {+ Version::parse(version).unwrap_or_else(|e| panic!("failed to parse version `{version}`: {e}"))+}++fn find_crates(dir: &Path, ws_version: &Version, dst: &mut Vec<Crate>) {+ if dir.join("Cargo.toml").exists() {+ if let Some(krate) = read_crate(ws_version, &dir.join("Cargo.toml")) {+ dst.push(krate);+ }+ }++ for entry in dir.read_dir().unwrap() {+ let entry = entry.unwrap();+ if entry.file_type().unwrap().is_dir() {+ find_crates(&entry.path(), ws_version, dst);+ }+ }+}++/// Reads the package name, version, and publish flag from a single manifest.+///+/// Returns `None` for virtual manifests (those without a `[package]` section),+/// which have nothing to publish. The version is taken from the manifest's own+/// `[package] version` when it's a literal (as with the cranelift crates on+/// their `0.x` version line) and otherwise inherited from the workspace.+fn read_crate(ws_version: &Version, manifest: &Path) -> Option<Crate> {+ let doc = read_doc(manifest);+ let package = doc.get("package")?.as_table_like()?;+ let name = package+ .get("name")+ .and_then(|i| i.as_str())+ .unwrap_or_else(|| panic!("{} has no package name", manifest.display()))+ .to_string();+ let version = match package.get("version").and_then(|i| i.as_str()) {+ Some(v) => parse_version(v),+ None => ws_version.clone(),+ };+ let publish = package+ .get("publish")+ .and_then(|i| i.as_bool())+ .unwrap_or(true);++ assert!(+ !publish || CRATES_TO_PUBLISH.contains(&name.as_str()),+ "{name} must either be listed in `CRATES_TO_PUBLISH` or set `publish = false`",+ );++ Some(Crate {+ manifest: manifest.to_path_buf(),+ name,+ version,+ publish,+ })+}++/// Rewrites a single crate's manifest: its own version and any dependency+/// requirements it places on other first-party crates.+fn bump_version(krate: &Crate, crates: &[Crate], next: &HashMap<&str, Version>) {+ println!("bumping `{}`...", krate.name);+ let mut doc = read_doc(&krate.manifest);++ // Rewrite the crate's own version. Note that `next` only contains published+ // crates, so `publish = false` crates are left alone.+ if let Some(new) = next.get(krate.name.as_str()) {+ println!(" {} => {new}", krate.version);+ set_own_version(&mut doc, new);+ }++ // Rewrite dependency requirements on other first-party crates across every+ // dependency table in the manifest (including `[workspace.dependencies]`).+ for_each_dep_table(&mut doc, |table| {+ let keys = table.iter().map(|(k, _)| k.to_string()).collect::<Vec<_>>();+ for key in keys {+ let item = table.get_mut(&key).unwrap();+ let Some(dep) = item.as_table_like_mut() else {+ continue;+ };+ let dep_name = dep+ .get("package")+ .and_then(|i| i.as_str())+ .unwrap_or(&key)+ .to_string();+ let Some(new) = next.get(dep_name.as_str()) else {+ continue;+ };+ let Some(other) = crates.iter().find(|c| c.name == dep_name) else {+ continue;+ };+ let Some(req_item) = dep.get_mut("version") else {+ continue;+ };+ let req = req_item.as_str().unwrap().to_string();+ let exact = req.strip_prefix('=');+ let base = exact.unwrap_or(&req);+ assert_eq!(+ base,+ other.version.to_string(),+ "{}: dependency on {dep_name} lists {base} but that crate is at {}",+ krate.manifest.display(),+ other.version,+ );++ // Public crates must use a caret requirement (so patch releases can+ // include breaking changes for everything else); internal crates+ // must be pinned exactly.+ if PUBLIC_CRATES.contains(&dep_name.as_str()) {+ assert!(+ exact.is_none(),+ "{} should not have an exact version requirement on {dep_name}",+ krate.name,+ );+ } else {+ assert!(+ exact.is_some(),+ "{} should have an exact version requirement on {dep_name}",+ krate.name,+ );+ }++ let new_req = if exact.is_some() {+ format!("={new}")+ } else {+ new.to_string()+ };+ set_version_str(req_item, &new_req);+ }+ });++ fs::write(&krate.manifest, doc.to_string()).unwrap();+}++fn set_own_version(doc: &mut DocumentMut, new: &Version) {+ if let Some(item) = doc+ .get_mut("package")+ .and_then(Item::as_table_like_mut)+ .and_then(|t| t.get_mut("version"))+ {+ if item.is_str() {+ set_version_str(item, &new.to_string());+ return;+ }+ }++ if let Some(item) = doc+ .get_mut("workspace")+ .and_then(Item::as_table_like_mut)+ .and_then(|t| t.get_mut("package"))+ .and_then(Item::as_table_like_mut)+ .and_then(|t| t.get_mut("version"))+ {+ set_version_str(item, &new.to_string());+ }+}++fn set_version_str(item: &mut Item, new: &str) {+ let decor = item.as_value().map(|v| v.decor().clone());+ *item = toml_edit::value(new.to_string());+ if let (Some(decor), Some(value)) = (decor, item.as_value_mut()) {+ *value.decor_mut() = decor;+ }+}++fn for_each_dep_table(doc: &mut DocumentMut, mut f: impl FnMut(&mut dyn toml_edit::TableLike)) {+ const KINDS: &[&str] = &["dependencies", "dev-dependencies", "build-dependencies"];++ for kind in KINDS {+ if let Some(table) = doc.get_mut(kind).and_then(Item::as_table_like_mut) {+ f(table);+ }+ }++ // `[workspace.dependencies]`+ if let Some(deps) = doc+ .get_mut("workspace")+ .and_then(Item::as_table_like_mut)+ .and_then(|t| t.get_mut("dependencies"))+ .and_then(Item::as_table_like_mut)+ {+ f(deps);+ }++ // `[target.'cfg(..)'.dependencies]` and friends+ if let Some(target) = doc.get_mut("target").and_then(Item::as_table_like_mut) {+ let cfgs = target+ .iter()+ .map(|(k, _)| k.to_string())+ .collect::<Vec<_>>();+ for cfg in cfgs {+ let Some(cfg) = target.get_mut(&cfg).and_then(Item::as_table_like_mut) else {+ continue;+ };+ for kind in KINDS {+ if let Some(table) = cfg.get_mut(kind).and_then(Item::as_table_like_mut) {+ f(table);+ }+ }+ }+ }+}++fn update_capi_version() {+ let version = workspace_version(&read_doc(Path::new("./Cargo.toml")));++ // Note that the `WASMTIME_VERSION` string carries the full version,+ // pre-release suffix included, while the numeric macros only describe the+ // `major.minor.patch` triple.+ let Version {+ major,+ minor,+ patch,+ ..+ } = version;++ let mut new_header = String::new();+ let contents = fs::read_to_string(C_HEADER_PATH).unwrap();+ for line in contents.lines() {+ if line.starts_with("#define WASMTIME_VERSION \"") {+ new_header.push_str(&format!("#define WASMTIME_VERSION \"{version}\""));+ } else if line.starts_with("#define WASMTIME_VERSION_MAJOR") {+ new_header.push_str(&format!("#define WASMTIME_VERSION_MAJOR {major}"));+ } else if line.starts_with("#define WASMTIME_VERSION_MINOR") {+ new_header.push_str(&format!("#define WASMTIME_VERSION_MINOR {minor}"));+ } else if line.starts_with("#define WASMTIME_VERSION_PATCH") {+ new_header.push_str(&format!("#define WASMTIME_VERSION_PATCH {patch}"));+ } else {+ new_header.push_str(line);+ }+ new_header.push('\n');+ }++ fs::write(C_HEADER_PATH, new_header).unwrap();+}++/// Computes the next version of `version` under the operation `op`.+fn bump(version: &Version, op: BumpOp) -> Version {+ let mut next = version.clone();+ match op {+ // A patch bump leaves any pre-release suffix alone. This keeps the+ // operation monotonic and means that CI's "does `cargo vet` still work+ // if versions are bumped" check behaves sensibly on `main` (`-dev`) and+ // on a release branch sitting at `-rc.N`.+ BumpOp::Patch => next.patch += 1,++ // Development on `main` always happens on a `-dev` version so that it's+ // clear the version is unreleased and unreleasable.+ BumpOp::Major => {+ if next.major != 0 {+ next.major += 1;+ next.minor = 0;+ next.patch = 0;+ } else {+ assert!(next.minor != 0);+ next.minor += 1;+ next.patch = 0;+ }+ next.pre = Prerelease::new("dev").unwrap();+ }++ // `-dev` (and a plain release) start the release-candidate sequence over+ // at 1, and each subsequent candidate increments from there.+ BumpOp::Rc => {+ let n = rc_number(version).map_or(1, |n| n + 1);+ next.pre = Prerelease::new(&format!("rc.{n}")).unwrap();+ }++ // Releasing simply drops whatever pre-release suffix is present, and is+ // a no-op if there isn't one.+ BumpOp::DropRc => next.pre = Prerelease::EMPTY,+ }+ next+}++/// Returns the release-candidate number if `version` is an `-rc.N` pre-release.+fn rc_number(version: &Version) -> Option<u64> {+ version.pre.as_str().strip_prefix("rc.")?.parse().ok()+}++fn publish(krate: &Crate) -> bool {+ if !krate.publish {+ return true;+ }++ // First make sure the crate isn't already published at this version. This+ // script may be re-run and there's no need to re-attempt previous work.+ let Some(versions) = published_versions(&krate.name) else {+ return false;+ };+ if versions.iter().any(|(v, _)| *v == krate.version) {+ println!(+ "skip publish {} because {} is already published",+ krate.name, krate.version,+ );+ return true;+ }++ let status = cmd_status(+ Command::new("cargo")+ .arg("publish")+ .current_dir(krate.manifest.parent().unwrap())+ .arg("--no-verify"),+ );+ if !status.success() {+ println!("FAIL: failed to publish `{}`: {status}", krate.name);+ return false;+ }++ true+}++/// Yanks every release candidate which the version being released supersedes,+/// returning whether everything was yanked successfully.+fn yank_old_rcs(crates: &[Crate]) -> bool {+ let Some(versions) = old_rcs(crates) else {+ return false;+ };++ let mut todo = Vec::new();+ for version in versions {+ for krate in crates.iter().filter(|k| k.publish) {+ todo.push((krate, version.clone()));+ }+ }++ // Just like publishing there are enough crates here to run into crates.io+ // rate limits, so work through the list in a loop and drop each yank from+ // it once it succeeds. Failed yanks get another try on the next round.+ for _ in 0..10 {+ todo.retain(|(krate, version)| !yank(krate, version));++ if todo.is_empty() {+ break;+ }++ println!("{} yanks failed, waiting for a bit to retry", todo.len());+ thread::sleep(Duration::from_secs(40));+ }++ todo.is_empty()+}++/// Yanks `version` of `krate`, returning whether it succeeded.+fn yank(krate: &Crate, version: &Version) -> bool {+ let status = cmd_status(+ Command::new("cargo")+ .arg("yank")+ .arg("--version")+ .arg(version.to_string())+ .arg(&krate.name),+ );+ if !status.success() {+ println!("FAIL: failed to yank `{} {version}`: {status}", krate.name);+ return false;+ }+ true+}++/// Returns the release candidates which the version being released has+/// superseded and which aren't yanked already, or `None` if that couldn't be+/// determined.+fn old_rcs(crates: &[Crate]) -> Option<Vec<Version>> {+ let wasmtime = crates+ .iter()+ .find(|k| k.name == "wasmtime")+ .expect("failed to find the `wasmtime` crate");+ let current = &wasmtime.version;++ let Some(versions) = published_versions(&wasmtime.name) else {+ println!("FAIL: could not list versions of `{}`", wasmtime.name);+ return None;+ };++ let mut ret = Vec::new();+ for (version, already_yanked) in versions {+ // Skip if already yanked+ if already_yanked {+ continue;+ }++ // Skip if this is for some other version track+ if version.major != current.major+ || version.minor != current.minor+ || version.patch != current.patch+ {+ continue;+ }++ // Skip if this isn't actually a rc+ if rc_number(&version).is_none() {+ continue;+ }+ ret.push(version);+ }+ Some(ret)+}++/// Returns the version of the most recent `release-*` branch on `origin`.+///+/// Release branches are named after the version they're releasing and never+/// carry a pre-release suffix, so the largest version named by a branch is the+/// most recent release branch. Note that this only sees branches which have+/// been fetched, so `git fetch` needs to have happened first.+fn latest_release_branch() -> Version {+ let output = cmd_output(+ Command::new("git")+ .arg("for-each-ref")+ .arg("refs/remotes/origin")+ .arg("--format")+ .arg("%(refname)"),+ );+ assert!(output.status.success(), "failed to list remote branches");+ let refs = String::from_utf8_lossy(&output.stdout);++ let mut releases = refs+ .lines()+ .filter_map(|l| l.strip_prefix("refs/remotes/origin/release-"))+ .filter_map(|l| Version::parse(l).ok())+ // Skip anything with a suffix, which isn't a release branch name and+ // would additionally sort before the release it's a candidate for.+ .filter(|v| v.pre.is_empty() && v.build.is_empty())+ .collect::<Vec<_>>();+ releases.sort();+ releases.pop().expect("no `release-*` branches found")+}++/// The subset of a crates.io version listing that's used here.+#[derive(Deserialize)]+struct VersionList {+ versions: Vec<VersionEntry>,+}++#[derive(Deserialize)]+struct VersionEntry {+ num: String,+ yanked: bool,+}++/// Returns every version of `name` published to crates.io along with whether+/// each one is yanked, or `None` if the list couldn't be fetched.+fn published_versions(name: &str) -> Option<Vec<(Version, bool)>> {+ let body = curl(&format!("https://crates.io/api/v1/crates/{name}/versions"))?;+ let list = match serde_json::from_str::<VersionList>(&body) {+ Ok(list) => list,+ Err(e) => {+ println!("failed to parse the version list of `{name}`: {e}");+ return None;+ }+ };+ Some(+ list.versions+ .into_iter()+ .filter_map(|v| Some((Version::parse(&v.num).ok()?, v.yanked)))+ .collect(),+ )+}++fn curl(url: &str) -> Option<String> {+ // Transient failures talking to crates.io are common enough that it's worth+ // retrying a few times before giving up on this request entirely.+ for i in 0..5 {+ if i > 0 {+ thread::sleep(Duration::from_secs(10));+ }+ let output = cmd_output(+ Command::new("curl")+ .arg("--user-agent")+ .arg("bytecodealliance/wasmtime auto-publish script")+ .arg(url),+ );+ if output.status.success() {+ return Some(String::from_utf8_lossy(&output.stdout).into());+ }+ println!("failed to curl: {}", output.status);+ println!("stderr: {}", String::from_utf8_lossy(&output.stderr));+ }+ None+}++// Verify the current tree is publish-able to crates.io. The intention here is+// that we'll run `cargo package` on everything which verifies the build as-if+// it were published to crates.io. This requires using an incrementally-built+// directory registry generated from `cargo vendor` because the versions+// referenced from `Cargo.toml` may not exist on crates.io.+fn verify(crates: &[Crate]) {+ verify_capi();++ if Path::new(".cargo").exists() {+ panic!(+ "`.cargo` already exists on the file system, remove it and then run the script again"+ );+ }+ if Path::new("vendor").exists() {+ panic!(+ "`vendor` already exists on the file system, remove it and then run the script again"+ );+ }++ let vendor = cmd_output(Command::new("cargo").arg("vendor").stderr(Stdio::inherit()));+ assert!(vendor.status.success());++ fs::create_dir_all(".cargo").unwrap();+ fs::write(".cargo/config.toml", vendor.stdout).unwrap();++ for krate in crates {+ if !krate.publish {+ continue;+ }+ verify_and_vendor(krate);+ }++ fn verify_and_vendor(krate: &Crate) {+ verify_crates_io(krate);++ let mut cmd = Command::new("cargo");+ cmd.arg("package")+ .arg("--manifest-path")+ .arg(&krate.manifest)+ .env("CARGO_TARGET_DIR", "./target");+ if krate.name.contains("wasi-nn") {+ cmd.arg("--no-verify");+ }+ run_cmd(&mut cmd);+ run_cmd(+ Command::new("tar")+ .arg("xf")+ .arg(format!(+ "../target/package/{}-{}.crate",+ krate.name, krate.version+ ))+ .current_dir("./vendor"),+ );+ fs::write(+ format!(+ "./vendor/{}-{}/.cargo-checksum.json",+ krate.name, krate.version+ ),+ "{\"files\":{}}",+ )+ .unwrap();+ }++ fn verify_capi() {+ let version = workspace_version(&read_doc(Path::new("./Cargo.toml")));+ let Version {+ major,+ minor,+ patch,+ ..+ } = version;++ let mut count = 0;+ let contents = fs::read_to_string(C_HEADER_PATH).unwrap();+ for line in contents.lines() {+ if line.starts_with(&format!("#define WASMTIME_VERSION \"{version}\"")) {+ count += 1;+ } else if line.starts_with(&format!("#define WASMTIME_VERSION_MAJOR {major}")) {+ count += 1;+ } else if line.starts_with(&format!("#define WASMTIME_VERSION_MINOR {minor}")) {+ count += 1;+ } else if line.starts_with(&format!("#define WASMTIME_VERSION_PATCH {patch}")) {+ count += 1;+ }+ }++ assert!(+ count == 4,+ "invalid version macros in {C_HEADER_PATH}, should match \"{version}\"",+ );+ }++ fn verify_crates_io(krate: &Crate) {+ let name = &krate.name;+ let Some(owners) = curl(&format!("https://crates.io/api/v1/crates/{name}/owners")) else {+ panic!(+ "+failed to get owners for {name}++If this crate does not exist on crates.io yet please visit++ https://docs.wasmtime.dev/contributing-coding-guidelines.html#adding-crates++and follow the instructions there+"+ );+ };++ // This is the id of the `wasmtime-publish` user on crates.io+ if !owners.contains("\"id\":73222,") {+ panic!(+ "+crate {name} is not owned by wasmtime-publish, please visit:++ https://docs.wasmtime.dev/contributing-coding-guidelines.html#adding-crates++and follow the instructions there+"+ );+ }++ // TODO: waiting for trusted publishing to be proven to work before+ // activating this.+ if false && owners.split("\"id\"").count() != 2 {+ panic!(+ "+crate {name} is not exclusively owned by wasmtime-publish, please visit:++ https://docs.wasmtime.dev/contributing-coding-guidelines.html#adding-crates++and follow the instructions there+"+ );+ }+ }+}diff --git a/crates/versioned-export-macros/src/lib.rs b/crates/versioned-export-macros/src/lib.rsindex eb87c1c171..2fb613dc29 100644--- a/crates/versioned-export-macros/src/lib.rs+++ b/crates/versioned-export-macros/src/lib.rs@@ -14,7 +14,11 @@ use quote::ToTokens;const VERSION: &str = env!("CARGO_PKG_VERSION");fn version(value: impl std::fmt::Display) -> String {- format!("{}_{}", value, VERSION.replace('.', "_"))+ let version: String = VERSION+ .chars()+ .map(|c| if c.is_ascii_alphanumeric() { c } else { '_' })+ .collect();+ format!("{}_{}", value, version)}fn versioned_lit_str(value: impl std::fmt::Display) -> syn::LitStr {diff --git a/docs/contributing-release-process.md b/docs/contributing-release-process.mdindex 4c0a3ffcb5..0646f66d54 100644--- a/docs/contributing-release-process.md+++ b/docs/contributing-release-process.md@@ -11,7 +11,8 @@ and all that needs to be done is to merge GitHub PRs that CI willgenerate. At a high-level the structure of Wasmtime's release process is:* On the 5th of every month a new `release-X.Y.Z` branch is created with the- current contents of `main`.+ current contents of `main`, and `X.Y.Z-rc.1` is published as a release+ candidate.* On the 20th of every month this release branch is published to crates.io andrelease artifacts are built.@@ -21,6 +22,16 @@ development on `main` and additionally happen once a month. The lag time behindtesting for any users using `main`. It's expected, though, that most consumerswill likely use the release branches of wasmtime.+Version numbers move through a lifecycle over the course of this process:++* The `main` branch permanently carries a `X.Y.Z-dev` version. This version is+ never published anywhere and exists to make it obvious that a checkout of+ `main` is in-development.+* Once a release branch is cut it moves to `X.Y.Z-rc.1`, which is published to+ crates.io and as a GitHub pre-release. Further release candidates may be cut+ as `-rc.2`, `-rc.3`, etc.+* On release day the pre-release suffix is dropped and `X.Y.Z` is published.+A detailed list of all the steps in the release automation process are below.The steps requiring interactions are **bolded**, otherwise everything else isautomatic and this is documenting what automation does.@@ -29,25 +40,39 @@ automatic and this is documenting what automation does.`.github/workflows/release-process.yml`) a CI jobwill run and do these steps:* Download the current `main` branch- * Push the `main` branch to `release-X.Y.Z`- * Run `./scripts/publish.rs` with the `bump` argument+ * Push the `main` branch to `release-X.0.0`+ * Run the `wasmtime-publish` crate with the `bump-major` argument* Commit the changes* Push these changes to a temporary `ci/*` branch* Open a PR with this branch against `main`+ * Then, starting again from the commit the release branch was cut at, run+ the `wasmtime-publish` crate with the `bump-rc` argument to move to+ `X.0.0-rc.1`, add the tag-and-release marker to the commit message, and+ open a second PR against `release-X.0.0`* This step can also be [triggered manually][ci-trigger] with the `main`branch and the `cut` argument.-2. **A maintainer of Wasmtime merges this PR**- * It's intended that this PR can be immediately merged as the release branch- has been created and all it's doing is bumping the version.-3. **Time passes and the `release-X.Y.Z` branch is maintained**- * All changes land on `main` first, then are backported to `release-X.Y.Z` as+2. **A maintainer of Wasmtime merges these two PRs**+ * It's intended that both PRs can be immediately merged as all they're doing+ is bumping the version.+ * Merging the release branch PR publishes `X.0.0-rc.1` following the same+ tag-and-publish path as a real release, except that the GitHub release is+ marked as a pre-release.+3. **Time passes and the `release-X.0.0` branch is maintained**+ * All changes land on `main` first, then are backported to `release-X.0.0` asnecessary.+ * If enough has changed to be worth testing again, a new release candidate+ can be [triggered manually][ci-trigger] with the release branch selected+ and the `release-rc` argument. This opens a PR bumping to the next `-rc.N`;+ merging it publishes that candidate and yanks the previous one.4. On the 20th of every month (same CI job as before) another CI job will runperforming:- * Reset to `release-X.Y.Z`- * Update the release date of `X.Y.Z` to today in `RELEASES.md`- * Add a special marker to the commit message to indicate a tag should be made.- * Open a PR against `release-X.Y.Z` for this change+ * Reset to `release-X.0.0`+ * Run the `wasmtime-publish` crate with the `bump-drop-rc` argument to drop+ the `-rc.N` suffix, leaving the version at `X.0.0`+ * Update the release date of `X.0.0` to today in `RELEASES.md`+ * Add a special marker to the commit message to indicate a tag should be+ made.+ * Open a PR against `release-X.0.0` for this change* This step can also be [triggered manually][ci-trigger] with the `main`branch and the `release-latest` argument.5. **A maintainer of Wasmtime merges this PR**@@ -86,8 +111,8 @@ of criteria. It's done on an as-needed basis. Requirements, however, are:equally patched to ensure that releases remain consistent.* Patch releases must not contain API-breaking changes in public crates. The- list of `PUBLIC_CRATES` in `scripts/publish.rs` is the list of crates to worry- about in terms of breaking changes.+ list of `PUBLIC_CRATES` in `crates/misc/publish/src/main.rs` is the list of+ crates to worry about in terms of breaking changes.* Wasm-level ABI-breaking changes are by default not allowed in patch releases.Users are expected to, for example, be able to load `*.cwasm` artifacts from@@ -109,14 +134,14 @@ Like above human interaction is indicated with **bold** text in these steps.it's at most broken for a week. Nevertheless issues come up, so be awarethat CI may be green on `main` but red on a release branch.* When merging backports maintainers need to double-check that the- `PUBLIC_CRATES` listed in `scripts/publish.rs` do not have+ `PUBLIC_CRATES` listed in `crates/misc/publish/src/main.rs` do not havesemver-API-breaking changes (in the strictest sense). All security fixesmust be done in such a way that the API doesn't break between the patchversion and the original version.* Don't forget to write patch notes in `RELEASES.md` for backported changes.2. **The patch release process is [triggered manually][ci-trigger] withthe `release-2.0.0` branch and the `release-patch` argument**- * This will run the `release-process.yml` workflow. The `scripts/publish.rs`+ * This will run the `release-process.yml` workflow. The `wasmtime-publish`script will be run with the `bump-patch` argument.* The changes will be committed with a special marker indicating a releaseneeds to be made.diff --git a/docs/stability-release.md b/docs/stability-release.mdindex bc07ccb913..e5fea2b7be 100644--- a/docs/stability-release.md+++ b/docs/stability-release.md@@ -69,6 +69,29 @@ for older release notes.For maintainers, performing a release is [documentedhere](./contributing-release-process.md#releasing-a-major-version).+## Release Candidates++When a release branch is created on the 5th of the month, `X.0.0-rc.1` is+published to crates.io and as a GitHub pre-release. Additional candidates may be+published as `-rc.2`, `-rc.3`, and so on if changes land on the release branch+that are worth testing before release day. Embedders of Wasmtime can use these+published pre-release versions to provide feedback on release candidates.++Release candidates come with no support or stability guarantees:++* They receive no security advisories, and will not be listed as affected+ versions in advisories for the releases they precede.+* Publishing a new release candidate yanks the previous one, and publishing+ `X.0.0` itself yanks the last candidate that preceded it, so a candidate can+ disappear from under you at any time. No release candidate outlives the+ release it was a candidate for.+* They should never be a permanent dependency of anything. Treat a release+ candidate exactly as you would treat a `git` dependency on an arbitrary commit+ of a release branch.++Note also that the `main` branch permanently carries a `-dev` version which is+never published anywhere.+## Version SupportWasmtime major version releases are of one of two categories:diff --git a/scripts/publish.rs b/scripts/publish.rsdeleted file mode 100644index 522efba7b7..0000000000--- a/scripts/publish.rs+++ /dev/null@@ -1,624 +0,0 @@-//! Helper script to publish the wasmtime and cranelift suites of crates-//!-//! See documentation in `docs/contributing-release-process.md` for more-//! information, but in a nutshell:-//!-//! * `./publish bump` - bump crate versions in-tree-//! * `./publish verify` - verify crates can be published to crates.io-//! * `./publish publish` - actually publish crates to crates.io--use std::collections::HashMap;-use std::env;-use std::fs;-use std::path::{Path, PathBuf};-use std::process::{Command, ExitStatus, Output, Stdio};-use std::thread;-use std::time::Duration;--// note that this list must be topologically sorted by dependencies-const CRATES_TO_PUBLISH: &[&str] = &[- "wasmtime-internal-core",- "cranelift-bitset",- // pulley- "pulley-macros",- "pulley-interpreter",- // cranelift- "cranelift-srcgen",- "cranelift-assembler-x64-meta",- "cranelift-assembler-x64",- "cranelift-isle",- "cranelift-entity",- "cranelift-bforest",- "cranelift-codegen-shared",- "cranelift-codegen-meta",- "cranelift-control",- "cranelift-codegen",- "cranelift-reader",- "cranelift-serde",- "cranelift-module",- "cranelift-frontend",- "cranelift-native",- "cranelift-object",- "cranelift-interpreter",- "wasmtime-internal-component-util",- "wasmtime-environ",- "wasmtime-internal-jit-icache-coherence",- // Wasmtime unwinder, used by both `cranelift-jit` (optionally) and filetests, and by Wasmtime.- "wasmtime-internal-unwinder",- // Cranelift crates that use Wasmtime unwinder.- "cranelift-jit",- "cranelift",- // wiggle- "wiggle-generate",- "wiggle-macro",- // wasmtime- "wasmtime-internal-versioned-export-macros",- "wasmtime-internal-wit-bindgen",- "wasmtime-internal-component-macro",- "wasmtime-internal-jit-debug",- "wasmtime-internal-fiber",- "wasmtime-internal-wmemcheck",- "wasmtime-internal-cranelift",- "wasmtime-internal-cache",- "winch-codegen",- "wasmtime-internal-winch",- "wasmtime",- "wiggle",- // other misc wasmtime crates- "wasmtime-wasi-io",- "wasmtime-wasi",- "wasmtime-wasi-http",- "wasmtime-wasi-nn",- "wasmtime-wasi-config",- "wasmtime-wasi-keyvalue",- "wasmtime-wasi-threads",- "wasmtime-wasi-tls",- "wasmtime-wast",- "wasmtime-internal-c-api-macros",- "wasmtime-c-api-impl",- "wasmtime-wizer",- "wasmtime-cli-flags",- "wasmtime-internal-explorer",- "wasmtime-internal-debugger",- "wasmtime-internal-gdbstub-component-artifact",- "wasmtime-cli",-];--// Anything **not** mentioned in this array is required to have an `=a.b.c`-// dependency requirement on it to enable breaking api changes even in "patch"-// releases since everything not mentioned here is just an organizational detail-// that no one else should rely on.-const PUBLIC_CRATES: &[&str] = &[- // These are actually public crates which we cannot break the API of in- // patch releases.- "wasmtime",- "wasmtime-wasi-io",- "wasmtime-wasi",- "wasmtime-wasi-tls",- "wasmtime-wasi-http",- "wasmtime-wasi-nn",- "wasmtime-wasi-config",- "wasmtime-wasi-keyvalue",- "wasmtime-wasi-threads",- "wasmtime-cli",- "wasmtime-wizer",- // All cranelift crates are considered "public" in that they can't have- // breaking API changes in patch releases.- "cranelift-srcgen",- "cranelift-assembler-x64-meta",- "cranelift-assembler-x64",- "cranelift-entity",- "cranelift-bforest",- "cranelift-bitset",- "cranelift-codegen-shared",- "cranelift-codegen-meta",- "cranelift-egraph",- "cranelift-control",- "cranelift-codegen",- "cranelift-reader",- "cranelift-serde",- "cranelift-module",- "cranelift-frontend",- "cranelift-native",- "cranelift-object",- "cranelift-interpreter",- "cranelift",- "cranelift-jit",- // This is a dependency of cranelift crates and as a result can't break in- // patch releases as well- "wasmtime-types",-];--const C_HEADER_PATH: &str = "./crates/c-api/include/wasmtime.h";--struct Workspace {- version: String,-}--struct Crate {- manifest: PathBuf,- name: String,- version: String,- publish: bool,-}--fn main() {- let mut crates = Vec::new();- let root = read_crate(None, "./Cargo.toml".as_ref());- let ws = Workspace {- version: root.version.clone(),- };- crates.push(root);- find_crates("crates".as_ref(), &ws, &mut crates);- find_crates("cranelift".as_ref(), &ws, &mut crates);- find_crates("pulley".as_ref(), &ws, &mut crates);- find_crates("winch".as_ref(), &ws, &mut crates);-- let pos = CRATES_TO_PUBLISH- .iter()- .enumerate()- .map(|(i, c)| (*c, i))- .collect::<HashMap<_, _>>();- crates.sort_by_key(|krate| pos.get(&krate.name[..]));-- match &env::args().nth(1).expect("must have one argument")[..] {- name @ "bump" | name @ "bump-patch" => {- for krate in crates.iter() {- bump_version(&krate, &crates, name == "bump-patch");- }- // update C API version in wasmtime.h- update_capi_version();- // update the lock file- run_cmd(Command::new("cargo").arg("fetch"));- }-- "publish" => {- // We have so many crates to publish we're frequently either- // rate-limited or we run into issues where crates can't publish- // successfully because they're waiting on the index entries of- // previously-published crates to propagate. This means we try to- // publish in a loop and we remove crates once they're successfully- // published. Failed-to-publish crates get enqueued for another try- // later on.- for _ in 0..10 {- crates.retain(|krate| !publish(krate));-- if crates.is_empty() {- break;- }-- println!(- "{} crates failed to publish, waiting for a bit to retry",- crates.len(),- );- thread::sleep(Duration::from_secs(40));- }-- assert!(crates.is_empty(), "failed to publish all crates");-- println!("");- println!("===================================================================");- println!("");- println!("Don't forget to push a git tag for this release!");- println!("");- println!(" $ git tag vX.Y.Z");- println!(" $ git push [email protected]:bytecodealliance/wasmtime.git vX.Y.Z");- }-- "verify" => {- verify(&crates);- }-- s => panic!("unknown command: {}", s),- }-}--fn cmd_output(cmd: &mut Command) -> Output {- eprintln!("Running: `{:?}`", cmd);- match cmd.output() {- Ok(o) => o,- Err(e) => panic!("Failed to run `{:?}`: {}", cmd, e),- }-}--fn cmd_status(cmd: &mut Command) -> ExitStatus {- eprintln!("Running: `{:?}`", cmd);- match cmd.status() {- Ok(s) => s,- Err(e) => panic!("Failed to run `{:?}`: {}", cmd, e),- }-}--fn run_cmd(cmd: &mut Command) {- let status = cmd_status(cmd);- assert!(- status.success(),- "Command `{:?}` exited with failure status: {}",- cmd,- status- );-}--fn find_crates(dir: &Path, ws: &Workspace, dst: &mut Vec<Crate>) {- if dir.join("Cargo.toml").exists() {- let krate = read_crate(Some(ws), &dir.join("Cargo.toml"));- dst.push(krate);- }-- for entry in dir.read_dir().unwrap() {- let entry = entry.unwrap();- if entry.file_type().unwrap().is_dir() {- find_crates(&entry.path(), ws, dst);- }- }-}--fn read_crate(ws: Option<&Workspace>, manifest: &Path) -> Crate {- let mut name = None;- let mut version = None;- let mut publish = true;- for line in fs::read_to_string(manifest).unwrap().lines() {- if name.is_none() && line.starts_with("name = \"") {- name = Some(- line.replace("name = \"", "")- .replace("\"", "")- .trim()- .to_string(),- );- }- if version.is_none() && line.starts_with("version = \"") {- version = Some(- line.replace("version = \"", "")- .replace("\"", "")- .trim()- .to_string(),- );- }- if let Some(ws) = ws {- if version.is_none() && line.starts_with("version.workspace = true") {- version = Some(ws.version.clone());- }- }- if line.starts_with("publish = false") {- publish = false;- }- }- let name = name.unwrap();- let version = version.unwrap();- assert!(- !publish || CRATES_TO_PUBLISH.contains(&&name[..]),- "a crate must either be listed in `CRATES_TO_PUBLISH` or have `publish = false` \- in its `Cargo.toml`"- );- Crate {- manifest: manifest.to_path_buf(),- name,- version,- publish,- }-}--fn bump_version(krate: &Crate, crates: &[Crate], patch: bool) {- println!("bumping `{}`...", krate.name);- let contents = fs::read_to_string(&krate.manifest).unwrap();- let next_version = |krate: &Crate| -> String {- if krate.publish {- bump(&krate.version, patch)- } else {- krate.version.clone()- }- };-- let mut new_manifest = String::new();- let mut is_deps = false;- for line in contents.lines() {- let mut rewritten = false;- if !is_deps && line.starts_with("version =") {- if krate.publish {- println!(" {} => {}", krate.version, next_version(krate));- new_manifest.push_str(&line.replace(&krate.version, &next_version(krate)));- rewritten = true;- }- }-- is_deps = if line.starts_with("[") {- line.contains("dependencies")- } else {- is_deps- };-- for other in crates {- // If `other` isn't a published crate then it's not going to get a- // bumped version so we don't need to update anything in the- // manifest.- if !other.publish {- continue;- }- if !is_deps- || (!line.starts_with(&format!("{} ", other.name))- && !(line.contains(&format!("package = '{}'", other.name))- || line.contains(&format!("package = \"{}\"", other.name))))- {- continue;- }- if !line.contains(&other.version) {- if !line.contains("version =") || !krate.publish {- continue;- }- panic!(- "{:?} has a dep on {} but doesn't list version {}",- krate.manifest, other.name, other.version- );- }- if krate.publish {- if PUBLIC_CRATES.contains(&other.name.as_str()) {- assert!(- !line.contains("\"="),- "{} should not have an exact version requirement on {}",- krate.name,- other.name- );- } else {- assert!(- line.contains("\"="),- "{} should have an exact version requirement on {}",- krate.name,- other.name- );- }- }- rewritten = true;- new_manifest.push_str(&line.replace(&other.version, &next_version(other)));- break;- }- if !rewritten {- new_manifest.push_str(line);- }- new_manifest.push_str("\n");- }- fs::write(&krate.manifest, new_manifest).unwrap();-}--fn update_capi_version() {- let version = read_crate(None, "./Cargo.toml".as_ref()).version;-- let mut iter = version.split('.').map(|s| s.parse::<u32>().unwrap());- let major = iter.next().expect("major version");- let minor = iter.next().expect("minor version");- let patch = iter.next().expect("patch version");-- let mut new_header = String::new();- let contents = fs::read_to_string(C_HEADER_PATH).unwrap();- for line in contents.lines() {- if line.starts_with("#define WASMTIME_VERSION \"") {- new_header.push_str(&format!("#define WASMTIME_VERSION \"{version}\""));- } else if line.starts_with("#define WASMTIME_VERSION_MAJOR") {- new_header.push_str(&format!("#define WASMTIME_VERSION_MAJOR {major}"));- } else if line.starts_with("#define WASMTIME_VERSION_MINOR") {- new_header.push_str(&format!("#define WASMTIME_VERSION_MINOR {minor}"));- } else if line.starts_with("#define WASMTIME_VERSION_PATCH") {- new_header.push_str(&format!("#define WASMTIME_VERSION_PATCH {patch}"));- } else {- new_header.push_str(line);- }- new_header.push_str("\n");- }-- fs::write(&C_HEADER_PATH, new_header).unwrap();-}--/// Performs a major version bump increment on the semver version `version`.-///-/// This function will perform a semver-major-version bump on the `version`-/// specified. This is used to calculate the next version of a crate in this-/// repository since we're currently making major version bumps for all our-/// releases. This may end up getting tweaked as we stabilize crates and start-/// doing more minor/patch releases, but for now this should do the trick.-fn bump(version: &str, patch_bump: bool) -> String {- let mut iter = version.split('.').map(|s| s.parse::<u32>().unwrap());- let major = iter.next().expect("major version");- let minor = iter.next().expect("minor version");- let patch = iter.next().expect("patch version");-- if patch_bump {- return format!("{}.{}.{}", major, minor, patch + 1);- }- if major != 0 {- format!("{}.0.0", major + 1)- } else if minor != 0 {- format!("0.{}.0", minor + 1)- } else {- format!("0.0.{}", patch + 1)- }-}--fn publish(krate: &Crate) -> bool {- if !krate.publish {- return true;- }-- // First make sure the crate isn't already published at this version. This- // script may be re-run and there's no need to re-attempt previous work.- let Some(output) = curl(&format!(- "https://crates.io/api/v1/crates/{}/versions",- krate.name- )) else {- return false;- };- if output.contains(&format!("\"num\":\"{}\"", krate.version)) {- println!(- "skip publish {} because {} is already published",- krate.name, krate.version,- );- return true;- }-- let status = cmd_status(- Command::new("cargo")- .arg("publish")- .current_dir(krate.manifest.parent().unwrap())- .arg("--no-verify"),- );- if !status.success() {- println!("FAIL: failed to publish `{}`: {}", krate.name, status);- return false;- }-- true-}--fn curl(url: &str) -> Option<String> {- let output = cmd_output(- Command::new("curl")- .arg("--user-agent")- .arg("bytecodealliance/wasmtime auto-publish script")- .arg(url),- );- if !output.status.success() {- println!("failed to curl: {}", output.status);- println!("stderr: {}", String::from_utf8_lossy(&output.stderr));- return None;- }- Some(String::from_utf8_lossy(&output.stdout).into())-}--// Verify the current tree is publish-able to crates.io. The intention here is-// that we'll run `cargo package` on everything which verifies the build as-if-// it were published to crates.io. This requires using an incrementally-built-// directory registry generated from `cargo vendor` because the versions-// referenced from `Cargo.toml` may not exist on crates.io.-fn verify(crates: &[Crate]) {- verify_capi();-- if Path::new(".cargo").exists() {- panic!(- "`.cargo` already exists on the file system, remove it and then run the script again"- );- }- if Path::new("vendor").exists() {- panic!(- "`vendor` already exists on the file system, remove it and then run the script again"- );- }-- let vendor = cmd_output(Command::new("cargo").arg("vendor").stderr(Stdio::inherit()));- assert!(vendor.status.success());-- fs::create_dir_all(".cargo").unwrap();- fs::write(".cargo/config.toml", vendor.stdout).unwrap();-- for krate in crates {- if !krate.publish {- continue;- }- verify_and_vendor(&krate);- }-- fn verify_and_vendor(krate: &Crate) {- verify_crates_io(krate);-- let mut cmd = Command::new("cargo");- cmd.arg("package")- .arg("--manifest-path")- .arg(&krate.manifest)- .env("CARGO_TARGET_DIR", "./target");- if krate.name.contains("wasi-nn") {- cmd.arg("--no-verify");- }- run_cmd(&mut cmd);- run_cmd(- Command::new("tar")- .arg("xf")- .arg(format!(- "../target/package/{}-{}.crate",- krate.name, krate.version- ))- .current_dir("./vendor"),- );- fs::write(- format!(- "./vendor/{}-{}/.cargo-checksum.json",- krate.name, krate.version- ),- "{\"files\":{}}",- )- .unwrap();- }-- fn verify_capi() {- let version = read_crate(None, "./Cargo.toml".as_ref()).version;-- let mut iter = version.split('.').map(|s| s.parse::<u32>().unwrap());- let major = iter.next().expect("major version");- let minor = iter.next().expect("minor version");- let patch = iter.next().expect("patch version");-- let mut count = 0;- let contents = fs::read_to_string(C_HEADER_PATH).unwrap();- for line in contents.lines() {- if line.starts_with(&format!("#define WASMTIME_VERSION \"{version}\"")) {- count += 1;- } else if line.starts_with(&format!("#define WASMTIME_VERSION_MAJOR {major}")) {- count += 1;- } else if line.starts_with(&format!("#define WASMTIME_VERSION_MINOR {minor}")) {- count += 1;- } else if line.starts_with(&format!("#define WASMTIME_VERSION_PATCH {patch}")) {- count += 1;- }- }-- assert!(- count == 4,- "invalid version macros in {}, should match \"{}\"",- C_HEADER_PATH,- version- );- }-- fn verify_crates_io(krate: &Crate) {- let name = &krate.name;- let Some(owners) = curl(&format!("https://crates.io/api/v1/crates/{name}/owners")) else {- panic!(- "-failed to get owners for {name}--If this crate does not exist on crates.io yet please visit-- https://docs.wasmtime.dev/contributing-coding-guidelines.html#adding-crates--and follow the instructions there-",- name = name,- );- };-- // This is the id of the `wasmtime-publish` user on crates.io- if !owners.contains("\"id\":73222,") {- panic!(- "-crate {name} is not owned by wasmtime-publish, please visit:-- https://docs.wasmtime.dev/contributing-coding-guidelines.html#adding-crates--and follow the instructions there-",- name = name,- );- }-- // TODO: waiting for trusted publishing to be proven to work before- // activating this.- if false && owners.split("\"id\"").count() != 2 {- panic!(- "-crate {name} is not exclusively owned by wasmtime-publish, please visit:-- https://docs.wasmtime.dev/contributing-coding-guidelines.html#adding-crates--and follow the instructions there-",- name = name,- );- }- }-}diff --git a/supply-chain/audits.toml b/supply-chain/audits.tomlindex f4f513c857..21766aafff 100644--- a/supply-chain/audits.toml+++ b/supply-chain/audits.toml@@ -7528,7 +7528,7 @@ end = "2026-10-10"criteria = "safe-to-deploy"user-id = 6743 # Ed Page (epage)start = "2021-09-13"-end = "2025-02-12"+end = "2027-07-20"[[trusted.toml_parser]]criteria = "safe-to-deploy"@@ -7536,6 +7536,12 @@ user-id = 6743 # Ed Page (epage)start = "2025-07-08"end = "2026-10-10"+[[trusted.toml_write]]+criteria = "safe-to-deploy"+user-id = 6743 # Ed Page (epage)+start = "2025-04-25"+end = "2027-07-20"+[[trusted.toml_writer]]criteria = "safe-to-deploy"user-id = 6743 # Ed Page (epage)diff --git a/supply-chain/config.toml b/supply-chain/config.tomlindex d51f32d6f7..530c914913 100644--- a/supply-chain/config.toml+++ b/supply-chain/config.toml@@ -290,10 +290,6 @@ criteria = "safe-to-deploy"version = "0.1.2"criteria = "safe-to-deploy"-[[exemptions.fallible-iterator]]-version = "0.2.0"-criteria = "safe-to-deploy"-[[exemptions.futures-task]]version = "0.3.27"criteria = "safe-to-deploy"@@ -336,10 +332,6 @@ criteria = "safe-to-deploy"version = "0.7.3"criteria = "safe-to-deploy"-[[exemptions.listenfd]]-version = "1.0.0"-criteria = "safe-to-deploy"-[[exemptions.logos]]version = "0.14.2"criteria = "safe-to-deploy"@@ -475,10 +467,6 @@ criteria = "safe-to-deploy"version = "2.14.0"criteria = "safe-to-deploy"-[[exemptions.target-lexicon]]-version = "0.12.16"-criteria = "safe-to-deploy"-[[exemptions.tempfile]]version = "3.3.0"criteria = "safe-to-deploy"diff --git a/supply-chain/imports.lock b/supply-chain/imports.lockindex 4dab166414..59f70123e1 100644--- a/supply-chain/imports.lock+++ b/supply-chain/imports.lock@@ -2,1119 +2,223 @@# cargo-vet imports lock[[unpublished.cranelift]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-assembler-x64]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-assembler-x64]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-assembler-x64]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-assembler-x64]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-assembler-x64]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-assembler-x64-meta]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-assembler-x64-meta]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-assembler-x64-meta]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-assembler-x64-meta]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-assembler-x64-meta]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-bforest]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-bforest]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-bforest]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-bforest]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-bforest]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-bitset]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-bitset]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-bitset]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-bitset]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-bitset]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-codegen]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-codegen]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-codegen]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-codegen]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-codegen]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-codegen-meta]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-codegen-meta]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-codegen-meta]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-codegen-meta]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-codegen-meta]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-codegen-shared]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-codegen-shared]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-codegen-shared]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-codegen-shared]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-codegen-shared]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-control]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-control]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-control]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-control]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-control]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-entity]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-entity]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-entity]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-entity]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-entity]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-frontend]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-frontend]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-frontend]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-frontend]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-frontend]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-interpreter]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-interpreter]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-interpreter]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-interpreter]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-interpreter]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-isle]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-isle]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-isle]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-isle]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-isle]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-jit]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-jit]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-jit]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-jit]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-jit]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-module]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-module]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-module]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-module]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-module]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-native]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-native]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-native]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-native]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-native]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-object]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-object]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-object]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-object]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-object]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-reader]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-reader]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-reader]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-reader]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-reader]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-serde]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-serde]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-serde]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-serde]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-serde]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"[[unpublished.cranelift-srcgen]]-version = "0.132.0"-audited_as = "0.130.1"--[[unpublished.cranelift-srcgen]]-version = "0.133.0"-audited_as = "0.131.1"--[[unpublished.cranelift-srcgen]]-version = "0.134.0"-audited_as = "0.132.0"--[[unpublished.cranelift-srcgen]]-version = "0.135.0"-audited_as = "0.133.1"--[[unpublished.cranelift-srcgen]]-version = "0.136.0"+version = "0.136.0-dev"audited_as = "0.134.3"-[[unpublished.pulley-interpreter]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.pulley-interpreter]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.pulley-interpreter]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.pulley-interpreter]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.pulley-interpreter]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.pulley-macros]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.pulley-macros]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.pulley-macros]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.pulley-macros]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.pulley-macros]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasi-common]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasi-common]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-cli]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-cli]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-cli]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-cli]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-cli]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-cli-flags]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-cli-flags]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-cli-flags]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-cli-flags]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-cli-flags]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-environ]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-environ]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-environ]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-environ]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-environ]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-c-api-macros]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-c-api-macros]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-c-api-macros]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-c-api-macros]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-c-api-macros]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-cache]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-cache]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-cache]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-cache]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-cache]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-component-macro]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-component-macro]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-component-macro]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-component-macro]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-component-macro]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-component-util]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-component-util]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-component-util]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-component-util]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-component-util]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-core]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-core]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-core]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-core]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-core]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-cranelift]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-cranelift]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-cranelift]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-cranelift]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-cranelift]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-debugger]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-debugger]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-debugger]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-debugger]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-debugger]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-explorer]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-explorer]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-explorer]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-explorer]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-explorer]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-fiber]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-fiber]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-fiber]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-fiber]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-fiber]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-gdbstub-component-artifact]]-version = "45.0.0"-audited_as = "44.0.0"--[[unpublished.wasmtime-internal-gdbstub-component-artifact]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-gdbstub-component-artifact]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-gdbstub-component-artifact]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-gdbstub-component-artifact]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-jit-debug]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-jit-debug]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-jit-debug]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-jit-debug]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-jit-debug]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-jit-icache-coherence]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-jit-icache-coherence]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-jit-icache-coherence]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-jit-icache-coherence]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-jit-icache-coherence]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-unwinder]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-unwinder]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-unwinder]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-unwinder]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-unwinder]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-versioned-export-macros]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-versioned-export-macros]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-versioned-export-macros]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-versioned-export-macros]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-versioned-export-macros]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-winch]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-winch]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-winch]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-winch]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-winch]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-wit-bindgen]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-wit-bindgen]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-wit-bindgen]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-wit-bindgen]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-wit-bindgen]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-internal-wmemcheck]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-internal-wmemcheck]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-internal-wmemcheck]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-internal-wmemcheck]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-internal-wmemcheck]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-wasi]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-wasi]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-wasi]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-wasi]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-wasi]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-wasi-config]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-wasi-config]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-wasi-config]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-wasi-config]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-wasi-config]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-wasi-http]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-wasi-http]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-wasi-http]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-wasi-http]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-wasi-http]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-wasi-io]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-wasi-io]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-wasi-io]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-wasi-io]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-wasi-io]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-wasi-keyvalue]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-wasi-keyvalue]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-wasi-keyvalue]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.wasmtime-wasi-keyvalue]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.wasmtime-wasi-keyvalue]]-version = "49.0.0"-audited_as = "47.0.3"--[[unpublished.wasmtime-wasi-nn]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.wasmtime-wasi-nn]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.wasmtime-wasi-nn]]-version = "47.0.0"-audited_as = "45.0.0"+[[unpublished.pulley-interpreter]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wasi-nn]]-version = "48.0.0"-audited_as = "46.0.1"+[[unpublished.pulley-macros]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wasi-nn]]-version = "49.0.0"+[[unpublished.wasmtime]]+version = "49.0.0-dev"audited_as = "47.0.3"-[[unpublished.wasmtime-wasi-threads]]-version = "45.0.0"-audited_as = "43.0.1"+[[unpublished.wasmtime-cli]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wasi-threads]]-version = "46.0.0"-audited_as = "44.0.1"+[[unpublished.wasmtime-cli-flags]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wasi-tls]]-version = "45.0.0"-audited_as = "43.0.1"+[[unpublished.wasmtime-environ]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wasi-tls]]-version = "46.0.0"-audited_as = "44.0.1"+[[unpublished.wasmtime-internal-c-api-macros]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wasi-tls]]-version = "47.0.0"-audited_as = "45.0.0"+[[unpublished.wasmtime-internal-cache]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wasi-tls]]-version = "48.0.0"-audited_as = "46.0.1"+[[unpublished.wasmtime-internal-component-macro]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wasi-tls]]-version = "49.0.0"+[[unpublished.wasmtime-internal-component-util]]+version = "49.0.0-dev"audited_as = "47.0.3"-[[unpublished.wasmtime-wast]]-version = "45.0.0"-audited_as = "43.0.1"+[[unpublished.wasmtime-internal-core]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wast]]-version = "46.0.0"-audited_as = "44.0.1"+[[unpublished.wasmtime-internal-cranelift]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wast]]-version = "47.0.0"-audited_as = "45.0.0"+[[unpublished.wasmtime-internal-debugger]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wast]]-version = "48.0.0"-audited_as = "46.0.1"+[[unpublished.wasmtime-internal-explorer]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wast]]-version = "49.0.0"+[[unpublished.wasmtime-internal-fiber]]+version = "49.0.0-dev"audited_as = "47.0.3"-[[unpublished.wasmtime-wizer]]-version = "45.0.0"-audited_as = "43.0.1"+[[unpublished.wasmtime-internal-gdbstub-component-artifact]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wizer]]-version = "46.0.0"-audited_as = "44.0.1"+[[unpublished.wasmtime-internal-jit-debug]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wizer]]-version = "47.0.0"-audited_as = "45.0.0"+[[unpublished.wasmtime-internal-jit-icache-coherence]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wizer]]-version = "48.0.0"-audited_as = "46.0.1"+[[unpublished.wasmtime-internal-unwinder]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wasmtime-wizer]]-version = "49.0.0"+[[unpublished.wasmtime-internal-versioned-export-macros]]+version = "49.0.0-dev"audited_as = "47.0.3"-[[unpublished.wiggle]]-version = "45.0.0"-audited_as = "43.0.1"+[[unpublished.wasmtime-internal-winch]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle]]-version = "46.0.0"-audited_as = "44.0.1"+[[unpublished.wasmtime-internal-wit-bindgen]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle]]-version = "47.0.0"-audited_as = "45.0.0"+[[unpublished.wasmtime-internal-wmemcheck]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle]]-version = "48.0.0"-audited_as = "46.0.1"+[[unpublished.wasmtime-wasi]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle]]-version = "49.0.0"+[[unpublished.wasmtime-wasi-config]]+version = "49.0.0-dev"audited_as = "47.0.3"-[[unpublished.wiggle-generate]]-version = "45.0.0"-audited_as = "43.0.1"+[[unpublished.wasmtime-wasi-http]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle-generate]]-version = "46.0.0"-audited_as = "44.0.1"+[[unpublished.wasmtime-wasi-io]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle-generate]]-version = "47.0.0"-audited_as = "45.0.0"+[[unpublished.wasmtime-wasi-keyvalue]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle-generate]]-version = "48.0.0"-audited_as = "46.0.1"+[[unpublished.wasmtime-wasi-nn]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle-generate]]-version = "49.0.0"+[[unpublished.wasmtime-wasi-tls]]+version = "49.0.0-dev"audited_as = "47.0.3"-[[unpublished.wiggle-macro]]-version = "45.0.0"-audited_as = "43.0.1"+[[unpublished.wasmtime-wast]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle-macro]]-version = "46.0.0"-audited_as = "44.0.1"+[[unpublished.wasmtime-wizer]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle-macro]]-version = "47.0.0"-audited_as = "45.0.0"+[[unpublished.wiggle]]+version = "49.0.0-dev"+audited_as = "47.0.3"-[[unpublished.wiggle-macro]]-version = "48.0.0"-audited_as = "46.0.1"+[[unpublished.wiggle-generate]]+version = "49.0.0-dev"+audited_as = "47.0.3"[[unpublished.wiggle-macro]]-version = "49.0.0"+version = "49.0.0-dev"audited_as = "47.0.3"[[unpublished.wiggle-test]]@@ -1122,23 +226,7 @@ version = "0.0.0"audited_as = "0.1.0"[[unpublished.winch-codegen]]-version = "45.0.0"-audited_as = "43.0.1"--[[unpublished.winch-codegen]]-version = "46.0.0"-audited_as = "44.0.1"--[[unpublished.winch-codegen]]-version = "47.0.0"-audited_as = "45.0.0"--[[unpublished.winch-codegen]]-version = "48.0.0"-audited_as = "46.0.1"--[[unpublished.winch-codegen]]-version = "49.0.0"+version = "49.0.0-dev"audited_as = "47.0.3"[[publisher.aho-corasick]]@@ -1668,13 +756,6 @@ when = "2026-01-24"user-id = 55123user-login = "rust-lang-owner"-[[publisher.linux-raw-sys]]-version = "0.4.14"-when = "2024-05-17"-user-id = 6825-user-login = "sunfishcode"-user-name = "Dan Gohman"-[[publisher.linux-raw-sys]]version = "0.12.1"when = "2025-12-23"@@ -1837,13 +918,6 @@ user-id = 189user-login = "BurntSushi"user-name = "Andrew Gallant"-[[publisher.rustix]]-version = "0.38.34"-when = "2024-04-22"-user-id = 6825-user-login = "sunfishcode"-user-name = "Dan Gohman"-[[publisher.rustix]]version = "1.1.4"when = "2026-02-22"@@ -1901,8 +975,8 @@ user-login = "dtolnay"user-name = "David Tolnay"[[publisher.serde_spanned]]-version = "1.0.3"-when = "2025-10-09"+version = "1.1.1"+when = "2026-03-31"user-id = 6743user-login = "epage"user-name = "Ed Page"@@ -1935,13 +1009,6 @@ user-id = 696user-login = "fitzgen"user-name = "Nick Fitzgerald"-[[publisher.syn]]-version = "1.0.92"-when = "2022-04-29"-user-id = 3618-user-login = "dtolnay"-user-name = "David Tolnay"-[[publisher.syn]]version = "2.0.106"when = "2025-08-16"@@ -1956,6 +1023,13 @@ user-id = 1user-login = "alexcrichton"user-name = "Alex Crichton"+[[publisher.target-lexicon]]+version = "0.12.16"+when = "2024-07-30"+user-id = 696+user-login = "fitzgen"+user-name = "Nick Fitzgerald"+[[publisher.target-lexicon]]version = "0.13.5"when = "2026-02-15"@@ -2020,8 +1094,8 @@ user-login = "Darksonn"user-name = "Alice Ryhl"[[publisher.toml]]-version = "0.9.8"-when = "2025-10-09"+version = "1.1.4+spec-1.1.0"+when = "2026-07-28"user-id = 6743user-login = "epage"user-name = "Ed Page"@@ -2033,16 +1107,30 @@ user-id = 6743user-login = "epage"user-name = "Ed Page"+[[publisher.toml_datetime]]+version = "1.1.1+spec-1.1.0"+when = "2026-03-31"+user-id = 6743+user-login = "epage"+user-name = "Ed Page"++[[publisher.toml_edit]]+version = "0.25.13+spec-1.1.0"+when = "2026-07-14"+user-id = 6743+user-login = "epage"+user-name = "Ed Page"+[[publisher.toml_parser]]-version = "1.0.4"-when = "2025-10-09"+version = "1.1.3+spec-1.1.0"+when = "2026-07-27"user-id = 6743user-login = "epage"user-name = "Ed Page"[[publisher.toml_writer]]-version = "1.0.4"-when = "2025-10-09"+version = "1.1.2+spec-1.1.0"+when = "2026-07-14"user-id = 6743user-login = "epage"user-name = "Ed Page"@@ -2054,13 +1142,6 @@ user-id = 3618user-login = "dtolnay"user-name = "David Tolnay"-[[publisher.unicode-segmentation]]-version = "1.11.0"-when = "2024-02-07"-user-id = 1139-user-login = "Manishearth"-user-name = "Manish Goregaokar"-[[publisher.unicode-width]]version = "0.1.9"when = "2021-09-16"@@ -2141,11 +1222,6 @@ version = "0.244.0"when = "2026-01-06"trusted-publisher = "github:bytecodealliance/wasm-tools"-[[publisher.wasm-encoder]]-version = "0.253.0"-when = "2026-07-07"-trusted-publisher = "github:bytecodealliance/wasm-tools"-[[publisher.wasm-encoder]]version = "0.254.0"when = "2026-07-20"@@ -2157,11 +1233,6 @@ when = "2025-07-28"user-id = 73222user-login = "wasmtime-publish"-[[publisher.wasm-metadata]]-version = "0.253.0"-when = "2026-07-07"-trusted-publisher = "github:bytecodealliance/wasm-tools"-[[publisher.wasm-metadata]]version = "0.254.0"when = "2026-07-20"@@ -2177,11 +1248,6 @@ version = "0.244.0"when = "2026-01-06"trusted-publisher = "github:bytecodealliance/wasm-tools"-[[publisher.wasmparser]]-version = "0.253.0"-when = "2026-07-07"-trusted-publisher = "github:bytecodealliance/wasm-tools"-[[publisher.wasmparser]]version = "0.254.0"when = "2026-07-20"@@ -2421,13 +1487,6 @@ user-id = 64539user-login = "kennykerr"user-name = "Kenny Kerr"-[[publisher.windows-sys]]-version = "0.60.2"-when = "2025-06-12"-user-id = 64539-user-login = "kennykerr"-user-name = "Kenny Kerr"-[[publisher.windows-sys]]version = "0.61.2"when = "2025-10-06"@@ -2442,13 +1501,6 @@ user-id = 64539user-login = "kennykerr"user-name = "Kenny Kerr"-[[publisher.windows-targets]]-version = "0.53.5"-when = "2025-10-06"-user-id = 64539-user-login = "kennykerr"-user-name = "Kenny Kerr"-[[publisher.windows_aarch64_gnullvm]]version = "0.52.6"when = "2024-07-03"@@ -2456,13 +1508,6 @@ user-id = 64539user-login = "kennykerr"user-name = "Kenny Kerr"-[[publisher.windows_aarch64_gnullvm]]-version = "0.53.1"-when = "2025-10-06"-user-id = 64539-user-login = "kennykerr"-user-name = "Kenny Kerr"-[[publisher.windows_aarch64_msvc]]version = "0.52.6"when = "2024-07-03"@@ -2470,13 +1515,6 @@ user-id = 64539user-login = "kennykerr"user-name = "Kenny Kerr"-[[publisher.windows_aarch64_msvc]]-version = "0.53.1"-when = "2025-10-06"-user-id = 64539-user-login = "kennykerr"-user-name = "Kenny Kerr"-[[publisher.windows_i686_gnu]]version = "0.52.6"when = "2024-07-03"@@ -2484,13 +1522,6 @@ user-id = 64539user-login = "kennykerr"user-name = "Kenny Kerr"-[[publisher.windows_i686_gnu]]-version = "0.53.1"-when = "2025-10-06"-user-id = 64539-user-login = "kennykerr"-user-name = "Kenny Kerr"-[[publisher.windows_i686_gnullvm]]version = "0.52.6"when = "2024-07-03"@@ -2498,13 +1529,6 @@ user-id = 64539user-login = "kennykerr"user-name = "Kenny Kerr"-[[publisher.windows_i686_gnullvm]]-version = "0.53.1"-when = "2025-10-06"-user-id = 64539-user-login = "kennykerr"-user-name = "Kenny Kerr"-[[publisher.windows_i686_msvc]]version = "0.52.6"when = "2024-07-03"@@ -2512,13 +1536,6 @@ user-id = 64539user-login = "kennykerr"user-name = "Kenny Kerr"-[[publisher.windows_i686_msvc]]-version = "0.53.1"-when = "2025-10-06"-user-id = 64539-user-login = "kennykerr"-user-name = "Kenny Kerr"-[[publisher.windows_x86_64_gnu]]version = "0.52.6"when = "2024-07-03"@@ -2526,13 +1543,6 @@ user-id = 64539user-login = "kennykerr"user-name = "Kenny Kerr"-[[publisher.windows_x86_64_gnu]]-version = "0.53.1"-when = "2025-10-06"-user-id = 64539-user-login = "kennykerr"-user-name = "Kenny Kerr"-[[publisher.windows_x86_64_gnullvm]]version = "0.52.6"when = "2024-07-03"@@ -2540,13 +1550,6 @@ user-id = 64539user-login = "kennykerr"user-name = "Kenny Kerr"-[[publisher.windows_x86_64_gnullvm]]-version = "0.53.1"-when = "2025-10-06"-user-id = 64539-user-login = "kennykerr"-user-name = "Kenny Kerr"-[[publisher.windows_x86_64_msvc]]version = "0.52.6"when = "2024-07-03"@@ -2554,13 +1557,6 @@ user-id = 64539user-login = "kennykerr"user-name = "Kenny Kerr"-[[publisher.windows_x86_64_msvc]]-version = "0.53.1"-when = "2025-10-06"-user-id = 64539-user-login = "kennykerr"-user-name = "Kenny Kerr"-[[publisher.winnow]]version = "0.7.13"when = "2025-08-22"@@ -2568,6 +1564,13 @@ user-id = 6743user-login = "epage"user-name = "Ed Page"+[[publisher.winnow]]+version = "1.0.4"+when = "2026-07-13"+user-id = 6743+user-login = "epage"+user-name = "Ed Page"+[[publisher.winx]]version = "0.36.4"when = "2024-12-04"@@ -2632,11 +1635,6 @@ version = "0.244.0"when = "2026-01-06"trusted-publisher = "github:bytecodealliance/wasm-tools"-[[publisher.wit-component]]-version = "0.253.0"-when = "2026-07-07"-trusted-publisher = "github:bytecodealliance/wasm-tools"-[[publisher.wit-component]]version = "0.254.0"when = "2026-07-20"@@ -2647,11 +1645,6 @@ version = "0.244.0"when = "2026-01-06"trusted-publisher = "github:bytecodealliance/wasm-tools"-[[publisher.wit-parser]]-version = "0.253.0"-when = "2026-07-07"-trusted-publisher = "github:bytecodealliance/wasm-tools"-[[publisher.wit-parser]]version = "0.254.0"when = "2026-07-20"@@ -2688,18 +1681,6 @@ criteria = "safe-to-deploy"version = "2.2.1"notes = "No unsafe usage or ambient capabilities"-[[audits.embark-studios.audits.strum]]-who = "Johan Andersson <[email protected]>"-criteria = "safe-to-deploy"-version = "0.24.1"-notes = "Tiny layer on top of the proc macro crate, found no unsafe or system usage"--[[audits.embark-studios.audits.strum_macros]]-who = "Johan Andersson <[email protected]>"-criteria = "safe-to-deploy"-version = "0.24.3"-notes = "Proc macro. No unsafe or added ambient capabilities"-[[audits.embark-studios.audits.utf8parse]]who = "Johan Andersson <[email protected]>"criteria = "safe-to-deploy"@@ -3143,15 +2124,6 @@ renew = falsenotes = "I've reviewed every source contribution that was neither authored nor reviewed by Mozilla."aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"-[[audits.mozilla.wildcard-audits.unicode-segmentation]]-who = "Manish Goregaokar <[email protected]>"-criteria = "safe-to-deploy"-user-id = 1139 # Manish Goregaokar (Manishearth)-start = "2019-05-15"-end = "2027-04-23"-notes = "All code written or reviewed by Manish"-aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"-[[audits.mozilla.wildcard-audits.unicode-width]]who = "Manish Goregaokar <[email protected]>"criteria = "safe-to-deploy"@@ -3185,25 +2157,6 @@ criteria = "safe-to-deploy"version = "0.2.18"aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"-[[audits.mozilla.audits.android_system_properties]]-who = "Nicolas Silva <[email protected]>"-criteria = "safe-to-deploy"-version = "0.1.2"-notes = "I wrote this crate, reviewed by jimb. It is mostly a Rust port of some C++ code we already ship."-aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"--[[audits.mozilla.audits.android_system_properties]]-who = "Mike Hommey <[email protected]>"-criteria = "safe-to-deploy"-delta = "0.1.2 -> 0.1.4"-aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"--[[audits.mozilla.audits.android_system_properties]]-who = "Mike Hommey <[email protected]>"-criteria = "safe-to-deploy"-delta = "0.1.4 -> 0.1.5"-aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"-[[audits.mozilla.audits.autocfg]]who = "Josh Stone <[email protected]>"criteria = "safe-to-deploy"@@ -3450,6 +2403,12 @@ version = "0.8.31"notes = "I, Henri Sivonen, wrote encoding_rs for Gecko and have reviewed contributions by others. There are two caveats to the certification: 1) The crate does things that are documented to be UB but that do not appear to actually be UB due to integer types differing from the general rule; https://github.com/hsivonen/encoding_rs/issues/79 . 2) It would be prudent to re-review the code that reinterprets buffers of integers as SIMD vectors; see https://github.com/hsivonen/encoding_rs/issues/87 ."aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"+[[audits.mozilla.audits.fallible-iterator]]+who = "Jan-Erik Rediger <[email protected]>"+criteria = "safe-to-deploy"+version = "0.2.0"+aggregated-from = "https://raw.githubusercontent.com/mozilla/glean/main/supply-chain/audits.toml"+[[audits.mozilla.audits.fastrand]]who = "Mike Hommey <[email protected]>"criteria = "safe-to-deploy"