Skip to content

Commit f48cd7d

Browse files
authored
Fix the CI and bump release version (#93)
1 parent 8e925da commit f48cd7d

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
rust_toolchain: [nightly, stable, 1.38.0]
20+
rust_toolchain: [nightly, stable, 1.63.0]
2121
os: [ubuntu-latest, windows-latest, macOS-latest]
2222
mode: ['--release', '-Zminimal-versions', '']
2323
manifest: ['psm/Cargo.toml', 'Cargo.toml']
2424
exclude:
2525
- rust_toolchain: stable
2626
mode: -Zminimal-versions
27-
- rust_toolchain: 1.38.0
27+
- rust_toolchain: 1.63.0
2828
mode: -Zminimal-versions
2929
timeout-minutes: 10
3030
steps:
@@ -136,10 +136,11 @@ jobs:
136136
- armv7-unknown-linux-gnueabihf
137137
- i686-unknown-linux-gnu
138138
- i686-unknown-linux-musl
139-
- mips-unknown-linux-gnu
140-
- mips64-unknown-linux-gnuabi64
141-
- mips64el-unknown-linux-gnuabi64
142-
- mipsel-unknown-linux-gnu
139+
# No libstd available :(
140+
# - mips-unknown-linux-gnu
141+
# - mips64-unknown-linux-gnuabi64
142+
# - mips64el-unknown-linux-gnuabi64
143+
# - mipsel-unknown-linux-gnu
143144
- powerpc-unknown-linux-gnu
144145
# https://github.com/rust-embedded/cross/pull/440
145146
# - powerpc64-unknown-linux-gnu
@@ -324,7 +325,7 @@ jobs:
324325
default: true
325326
target: wasm32-wasi
326327
- run: |
327-
curl -Lf https://github.com/bytecodealliance/wasmtime/releases/download/v0.19.0/wasmtime-v0.19.0-x86_64-linux.tar.xz | tar xJf - -C ${{ runner.tool_cache }}
328-
echo "${{ runner.tool_cache }}/wasmtime-v0.19.0-x86_64-linux" >> $GITHUB_PATH
328+
curl -Lf https://github.com/bytecodealliance/wasmtime/releases/download/v24.0.0/wasmtime-v24.0.0-x86_64-linux.tar.xz | tar xJf - -C ${{ runner.tool_cache }}
329+
echo "${{ runner.tool_cache }}/wasmtime-v24.0.0-x86_64-linux" >> $GITHUB_PATH
329330
echo "CARGO_TARGET_WASM32_WASI_RUNNER=wasmtime run --" >> $GITHUB_ENV
330331
- run: cargo test --target wasm32-wasi --all -- --nocapture

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stacker"
3-
version = "0.1.15"
3+
version = "0.1.16"
44
authors = ["Alex Crichton <[email protected]>", "Simonas Kazlauskas <[email protected]>"]
55
build = "build.rs"
66
license = "MIT OR Apache-2.0"

psm/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ fn find_assembly(
77
env: &str,
88
masm: bool,
99
) -> Option<(&'static str, bool)> {
10+
println!("cargo::rustc-check-cfg=cfg(switchable_stack,asm)");
1011
match (arch, endian, os, env) {
1112
// The implementations for stack switching exist, but, officially, doing so without Fibers
1213
// is not supported in Windows. For x86_64 the implementation actually works locally,

0 commit comments

Comments
 (0)