Skip to content

Commit 2426f2b

Browse files
committed
fix: Attempted repair of reactor builds (see #234 CI)
Signed-off-by: Martijn Stevenson <[email protected]>
1 parent 04ed8ec commit 2426f2b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ on:
1818

1919
pull_request:
2020
branches:
21-
- master
21+
- main
2222

2323
push:
2424
branches:
25-
- master
25+
- main
2626

2727
schedule:
2828
- cron: '0 0 * * *'

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
fn main() {
1616
println!("cargo:rerun-if-changed=build.rs");
1717
println!("cargo:rerun-if-env-changed=RUSTFLAGS");
18+
println!("cargo:rustc-check-cfg=cfg(wasi_exec_model_reactor)");
1819

1920
if let Some(target_os) = std::env::var_os("CARGO_CFG_TARGET_OS") {
2021
if target_os != "wasi" {

0 commit comments

Comments
 (0)