Skip to content

Commit

Permalink
Fix only-runtime build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Dec 20, 2024
1 parent cecebed commit 9976627
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,14 @@ jobs:
- target: aarch64-pc-windows-msvc
os: windows-latest
test: cargo check
# While we're here testing a windows target also test a feature'd build
# on Windows. Note that this isn't covered by `micro_checks` above since
# that's for unix platforms, not Windows, so include a small check here
# which isn't the full `micro_checks` matrix but hopefully enough bang
# for our buck.
- target: i686-pc-windows-msvc
os: windows-latest
test: cargo check
test: cargo check && cargo build -p wasmtime --no-default-features --features runtime
# This is used for general compatibility with `#![no_std]` targets and a
# variety of crates are tested here.
- target: x86_64-unknown-none
Expand Down
1 change: 1 addition & 0 deletions crates/wasmtime/src/runtime/vm/sys/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
use std::cell::Cell;

#[cfg(feature = "signals-based-traps")]
pub mod mmap;
pub mod traphandlers;
pub mod vm;
Expand Down

0 comments on commit 9976627

Please sign in to comment.