chore(xen): split platform support into separate crate (#195)

This commit is contained in:
alex authored and GitHub committed 2024-06-21 08:10:45 +00:00
1 parent 23c7302c04
commit 6f39f115b7
23 files changed
+136 -45

No files matched your search

+2 -2
View File
@@ -4,10 +4,10 @@ use xenclient::error::Result;
use xenclient::{DomainConfig, XenClient};
#[cfg(target_arch = "x86_64")]
type RuntimePlatform = xenclient::x86pv::X86PvPlatform;
type RuntimePlatform = xenplatform::x86pv::X86PvPlatform;
#[cfg(not(target_arch = "x86_64"))]
type RuntimePlatform = xenclient::unsupported::UnsupportedPlatform;
type RuntimePlatform = xenplatform::unsupported::UnsupportedPlatform;
#[tokio::main]
async fn main() -> Result<()> {