xencall: convert to using thiserror

This commit is contained in:
Alex Zenla
2024-01-30 18:09:26 -08:00
parent 2eb287bf07
commit d3740bcf7b
8 changed files with 62 additions and 107 deletions

View File

@ -1,7 +1,8 @@
use xencall::error::Result;
use xencall::sys::CreateDomain;
use xencall::{XenCall, XenCallError};
use xencall::XenCall;
fn main() -> Result<(), XenCallError> {
fn main() -> Result<()> {
env_logger::init();
let call = XenCall::open()?;