From 2426f2b29dbc7bce434f75cb8bc31b0b2ae00031 Mon Sep 17 00:00:00 2001 From: Martijn Stevenson Date: Thu, 6 Jun 2024 20:37:54 +0000 Subject: [PATCH] fix: Attempted repair of reactor builds (see #234 CI) Signed-off-by: Martijn Stevenson --- .github/workflows/rust.yml | 4 ++-- build.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d0f45fa7..49d5e0bd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,11 +18,11 @@ on: pull_request: branches: - - master + - main push: branches: - - master + - main schedule: - cron: '0 0 * * *' diff --git a/build.rs b/build.rs index 39a1dec1..fad89630 100644 --- a/build.rs +++ b/build.rs @@ -15,6 +15,7 @@ fn main() { println!("cargo:rerun-if-changed=build.rs"); println!("cargo:rerun-if-env-changed=RUSTFLAGS"); + println!("cargo:rustc-check-cfg=cfg(wasi_exec_model_reactor)"); if let Some(target_os) = std::env::var_os("CARGO_CFG_TARGET_OS") { if target_os != "wasi" {