This repository has been archived by the owner on Dec 20, 2021. It is now read-only.
generated from rust-vmm/crate-template
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust does not support mutually exclusive features. Buildkite enables all features. These two factors combined causes pipeline failures. Turn the feature gates in code a bit. Whenever "kvm" is specify, surface KVM's definitions. Make available MSHV if and only if "mshv" is specified. Add a custom test for building on MSHV. Signed-off-by: Wei Liu <liuwe@microsoft.com>
- Loading branch information
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"tests": [ | ||
{ | ||
"test_name": "build-mshv", | ||
"command": "cargo build --release --no-default-features --features mshv", | ||
"platform": ["x86_64"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters