Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
igvm*: specify dependencies' target to avoid feature unification
When a dependency is used by multiple packages, Cargo will use the union of all features enabled on that dependency when building it. See https://doc.rust-lang.org/cargo/reference/features.html#feature-unification for more details. These two crates are tools, so let's specify dependencies only for `target_os = "linux"`. This way these dependencies (which can use `std` for example) are not unified with those of SVSM, producing build errors as reported in #345 Signed-off-by: Stefano Garzarella <[email protected]>
- Loading branch information