Skip to content

Commit 32acf6d

Browse files
committed
Lock nightly version
1 parent 0909a59 commit 32acf6d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/wasm-examples.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
- name: Checkout
2828
uses: actions/checkout@v4
2929
- name: Install dependencies
30-
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
30+
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev build-essential
3131
- name: Install latest nightly
3232
uses: actions-rs/toolchain@v1
3333
with:
34-
toolchain: nightly
34+
toolchain: nightly-2024-07-30
3535
override: true
36-
default: nightly
36+
default: nightly-2024-07-30
3737
components: rustfmt, clippy, rust-src
3838
target: wasm32-unknown-unknown
3939
- name: make wasm-examples

build-wasm-examples.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ EXAMPLES=(
1212

1313
for EXAMPLE in "${EXAMPLES[@]}"; do
1414

15-
RUSTFLAGS="-Zlocation-detail=none" cargo +nightly build --profile=wasm-release --no-default-features --example="$EXAMPLE" --target=wasm32-unknown-unknown -Z build-std-features=panic_immediate_abort -Z build-std=std,panic_abort -Z build-std-features="optimize_for_size"
15+
RUSTFLAGS="-Zlocation-detail=none" cargo build --profile=wasm-release --no-default-features --example="$EXAMPLE" --target=wasm32-unknown-unknown -Z build-std-features=panic_immediate_abort -Z build-std=std,panic_abort -Z build-std-features="optimize_for_size"
1616

1717
time wasm-bindgen --out-name "$EXAMPLE" --no-typescript --out-dir web-src/wasm/examples --target web "target/wasm32-unknown-unknown/wasm-release/examples/$EXAMPLE.wasm"
1818

rust-toolchain.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "nightly"
2+
channel = "nightly-2024-07-30"

0 commit comments

Comments
 (0)