Skip to content

Commit 79142ee

Browse files
committed
Add check in CI to make sure cargo feature 'crashdump' and 'print_debug" compiles
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent c743308 commit 79142ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/dep_rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ jobs:
7474
# with only one driver enabled (driver mshv/kvm feature is ignored on windows) + seccomp + inprocess
7575
just test-rust ${{ matrix.config }} inprocess,seccomp,${{ matrix.hypervisor == 'mshv' && 'mshv' || 'kvm' }}
7676
77+
# make sure certain cargo features compile
78+
cargo check -p hyperlight-host --features crashdump
79+
cargo check -p hyperlight-host --features print_debug
80+
7781
# without any driver (shouldn't compile)
7882
just test-rust-feature-compilation-fail ${{ matrix.config }}
7983

0 commit comments

Comments
 (0)