Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
typedef unsigned long __jmp_buf[8];
1 change: 1 addition & 0 deletions src/hyperlight_host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ thiserror = "2.0.12"
tempfile = { version = "3.20", optional = true }
anyhow = "1.0"
metrics = "0.24.2"
serde_json = "1.0"

[target.'cfg(windows)'.dependencies]
windows = { version = "0.61", features = [
Expand Down
4 changes: 4 additions & 0 deletions src/hyperlight_host/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ pub enum HyperlightError {
#[cfg(kvm)]
KVMError(#[from] kvm_ioctls::Error),

/// Conversion of str to Json failed
#[error("Conversion of str data to json failed")]
JsonConversionFailure(#[from] serde_json::Error),

/// An attempt to get a lock from a Mutex failed.
#[error("Unable to lock resource")]
LockAttemptFailed(String),
Expand Down