Skip to content

Commit 578c8b8

Browse files
committed
Merge remote-tracking branch 'upstream/main' into rr-dev
2 parents 796c1ed + edeee6e commit 578c8b8

File tree

1,506 files changed

+92673
-33738
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,506 files changed

+92673
-33738
lines changed

.github/actions/github-release/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ perform github releases but they all tend to have their set of drawbacks.
77
Additionally nothing handles deleting releases which we need for our rolling
88
`dev` release.
99

10-
To handle all this this action rolls-its-own implementation using the
10+
To handle all this action rolls-its-own implementation using the
1111
actions/toolkit repository and packages published there. These run in a Docker
1212
container and take various inputs to orchestrate the release from the build.
1313

.github/actions/github-release/main.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ async function runOnce() {
9999
repo,
100100
tag_name: name,
101101
prerelease: name === 'dev',
102+
draft: name !== 'dev',
102103
};
103104
if (name !== 'dev') {
104105
for (let x of releaseNotes.split(/^---+$/m)) {
@@ -140,6 +141,15 @@ async function runOnce() {
140141
url: release.data.upload_url,
141142
});
142143
}
144+
145+
if (name !== 'dev') {
146+
octokit.rest.repos.updateRelease({
147+
owner,
148+
repo,
149+
release_id: release.data.id,
150+
draft: false,
151+
});
152+
}
143153
}
144154

145155
async function run() {
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'Install prerequisites for plugins example'
2+
description: 'Install prerequisites for plugins example'
3+
4+
runs:
5+
using: composite
6+
steps:
7+
- name: Install WASI SDK (Linux)
8+
run: wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-27/wasi-sdk-27.0-x86_64-linux.tar.gz -P ${{ runner.temp }} && tar xf ${{ runner.temp }}/wasi-sdk-27.0-x86_64-linux.tar.gz -C ${{ runner.temp }} && echo WASI_SDK_PATH=${{ runner.temp }}/wasi-sdk-27.0-x86_64-linux >> $GITHUB_ENV
9+
if: runner.os == 'Linux'
10+
shell: bash
11+
- name: Install wit-bindgen (Linux)
12+
run: cargo install [email protected]
13+
if: runner.os == 'Linux'
14+
shell: bash
15+
- name: Install jco (Linux)
16+
run: npm install --global @bytecodealliance/[email protected] && npm install --global @bytecodealliance/[email protected]
17+
if: runner.os == 'Linux'
18+
shell: bash
19+

.github/actions/install-rust/action.yml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ runs:
1717
- name: Install Rust
1818
shell: bash
1919
id: select
20+
env:
21+
# This is an attempt to reduce flakiness and see what happens. If this
22+
# lands it worked. Feel free to modify if this becomes flaky again.
23+
RUSTUP_USE_CURL: 1
2024
run: |
2125
# Determine MSRV as N in `1.N.0` by looking at the `rust-version`
2226
# located in the root `Cargo.toml`.
@@ -28,16 +32,41 @@ runs:
2832
elif [ "${{ inputs.toolchain }}" = "msrv" ]; then
2933
echo "version=1.$msrv.0" >> "$GITHUB_OUTPUT"
3034
elif [ "${{ inputs.toolchain }}" = "wasmtime-ci-pinned-nightly" ]; then
31-
echo "version=nightly-2025-07-08" >> "$GITHUB_OUTPUT"
35+
echo "version=nightly-2025-11-01" >> "$GITHUB_OUTPUT"
3236
else
3337
echo "version=${{ inputs.toolchain }}" >> "$GITHUB_OUTPUT"
3438
fi
3539
40+
41+
# GitHub Actions default runners have `rustup` instaleld, but IBM-provided
42+
# s390x runners do not. If we're using the IBM runner then install rustup.
43+
- name: Install rustup
44+
shell: bash
45+
if: runner.arch == 'S390X'
46+
run: |
47+
export RUSTUP_HOME=${{ runner.tool_cache }}/rustup
48+
export CARGO_HOME=${{ runner.tool_cache }}/cargo
49+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
50+
sh -s -- \
51+
-y \
52+
--default-toolchain ${{ steps.select.outputs.version }} \
53+
--profile minimal \
54+
--no-modify-path
55+
echo "RUSTUP_HOME=$RUSTUP_HOME" >> $GITHUB_ENV
56+
echo "CARGO_HOME=$CARGO_HOME" >> $GITHUB_ENV
57+
echo "$CARGO_HOME/bin" >> $GITHUB_PATH
58+
59+
3660
- name: Install Rust
3761
shell: bash
3862
run: |
3963
rustup set profile minimal
40-
rustup update "${{ steps.select.outputs.version }}" --no-self-update
64+
for attempt in 1 2 3 4 5; do
65+
[ "$attempt" = "5" ] && exit 1
66+
rustup update "${{ steps.select.outputs.version }}" --no-self-update \
67+
&& break
68+
sleep 5
69+
done
4170
rustup default "${{ steps.select.outputs.version }}"
4271
4372
# Save disk space by avoiding incremental compilation. Also turn down

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,7 @@
8989
"winch":
9090
- "winch/**"
9191
- "crates/winch/**"
92+
93+
"wizer":
94+
- "crates/wizer/**"
95+
- "src/commands/wizer.rs"

.github/subscribe-to-label.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"cfallin": ["isle"],
3-
"fitzgen": ["fuzzing", "isle", "pulley", "wasmtime:ref-types"],
3+
"fitzgen": ["fuzzing", "isle", "pulley", "wasm-proposal:gc", "wasmtime:ref-types", "wizer"],
44
"saulecabrera": ["winch"]
55
}

0 commit comments

Comments
 (0)