From f42864e54abc7758c36e181af809541a6551e8f3 Mon Sep 17 00:00:00 2001 From: Simonas Kazlauskas Date: Wed, 21 Aug 2024 23:20:25 +0300 Subject: [PATCH] Fix the CI? --- .github/workflows/test.yml | 4 ++-- Cargo.toml | 2 +- psm/build.rs | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 25f9401..3c78dfc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,14 +17,14 @@ jobs: strategy: fail-fast: false matrix: - rust_toolchain: [nightly, stable, 1.38.0] + rust_toolchain: [nightly, stable, 1.56.0] os: [ubuntu-latest, windows-latest, macOS-latest] mode: ['--release', '-Zminimal-versions', ''] manifest: ['psm/Cargo.toml', 'Cargo.toml'] exclude: - rust_toolchain: stable mode: -Zminimal-versions - - rust_toolchain: 1.38.0 + - rust_toolchain: 1.56.0 mode: -Zminimal-versions timeout-minutes: 10 steps: diff --git a/Cargo.toml b/Cargo.toml index 5c33c19..f072a7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stacker" -version = "0.1.15" +version = "0.1.16" authors = ["Alex Crichton ", "Simonas Kazlauskas "] build = "build.rs" license = "MIT OR Apache-2.0" diff --git a/psm/build.rs b/psm/build.rs index 9d40212..7ffb45d 100644 --- a/psm/build.rs +++ b/psm/build.rs @@ -7,6 +7,7 @@ fn find_assembly( env: &str, masm: bool, ) -> Option<(&'static str, bool)> { + println!("cargo::rustc-check-cfg=cfg(switchable_stack,asm)"); match (arch, endian, os, env) { // The implementations for stack switching exist, but, officially, doing so without Fibers // is not supported in Windows. For x86_64 the implementation actually works locally,