Skip to content

Commit a8a24b0

Browse files
committed
Update HyperlightError to support mshv3
Signed-off-by: Simon Davies <[email protected]>
1 parent 76e3c21 commit a8a24b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/hyperlight_host/src/error.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
#[cfg(mshv2)]
18+
extern crate mshv_ioctls2 as mshv_ioctls;
19+
20+
#[cfg(mshv3)]
21+
extern crate mshv_ioctls3 as mshv_ioctls;
22+
1723
use std::array::TryFromSliceError;
1824
use std::cell::{BorrowError, BorrowMutError};
1925
use std::convert::Infallible;

0 commit comments

Comments
 (0)