Closed
Description
What happened?
There seems to be a regression related to #408
If I create a new project and add a reference to hyperlight_host, it does not build.
it seems to be because mshv-bindings and mshv-ioctls dependencies bring in vmm-sys-util version 0.14.0. By force-downgraded that dependency to 0.13.0, build works.
What did you expect to happen?
I expected it to compile, but instead get error:
error[E0277]: ?
couldn't convert the error to HyperlightError
However, if I modify Cargo.lock and change vmm-sys-util dependency from 0.14.0 to 0.13.0 for mshv-bindings and mshv-ioctls, build now works
Steps to reproduce the behavior
- cargo init test
- cd test
- cargo add hyperlight_host
- cargo build
Hyperlight Version
0.5.0
OS version
vscode [ /workspaces/debugtest ]$ cat /etc/os-release
NAME="Microsoft Azure Linux"
VERSION="3.0.20250521"
ID=azurelinux
VERSION_ID="3.0"
PRETTY_NAME="Microsoft Azure Linux 3.0"
ANSI_COLOR="1;34"
HOME_URL="https://aka.ms/azurelinux"
BUG_REPORT_URL="https://aka.ms/azurelinux"
SUPPORT_URL="https://aka.ms/azurelinux"
vscode [ /workspaces/debugtest ]$ uname -a
Linux 75b2257d5bbb 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Additional Information
No response