diff --git a/Cargo.lock b/Cargo.lock index 6546003b9..97e1700cf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -98,9 +98,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.94" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7" +checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" [[package]] name = "arbitrary" diff --git a/Justfile b/Justfile index 31904a3c6..604113610 100644 --- a/Justfile +++ b/Justfile @@ -74,7 +74,7 @@ clean-rust: # TESTING # Some tests cannot run with other tests, they are marked as ignored so that cargo test works -# there may be tests that we really want to ignore so we cant just use --ignored and we have to +# there may be tests that we really want to ignore so we can't just use --ignored and we have to # Specify the test name of the ignored tests that we want to run test-rust target=default-target features="": (test-rust-int "rust" target features) (test-rust-int "c" target features) (test-seccomp target) # unit tests diff --git a/proposals/NNNN-hip-template/README.md b/proposals/NNNN-hip-template/README.md index fb8d91b2a..26d666a29 100644 --- a/proposals/NNNN-hip-template/README.md +++ b/proposals/NNNN-hip-template/README.md @@ -27,7 +27,7 @@ This section is incredibly important for producing high-quality, user-focused documentation such as release notes or a development roadmap. It should be possible to collect this information before implementation begins, in order to -avoid requiring implementors to split their attention between writing release +avoid requiring implementers to split their attention between writing release notes and implementing the feature itself. HIP editors should help to ensure that the tone and content of the `Summary` section is useful for a wide audience. diff --git a/src/hyperlight_common/Cargo.toml b/src/hyperlight_common/Cargo.toml index b0ff2c145..0c5cffc41 100644 --- a/src/hyperlight_common/Cargo.toml +++ b/src/hyperlight_common/Cargo.toml @@ -16,7 +16,7 @@ workspace = true [dependencies] flatbuffers = { version = "24.3.25", default-features = false } -anyhow = { version = "1.0.94", default-features = false } +anyhow = { version = "1.0.95", default-features = false } log = "0.4.20" tracing = { version = "0.1.41", optional = true } strum = {version = "0.26", default-features = false, features = ["derive"]} diff --git a/src/hyperlight_guest/Cargo.toml b/src/hyperlight_guest/Cargo.toml index 710bd76d4..b43f7d73e 100644 --- a/src/hyperlight_guest/Cargo.toml +++ b/src/hyperlight_guest/Cargo.toml @@ -19,7 +19,7 @@ printf = [] # compile printf alloca = [] # compile alloca wrapper [dependencies] -anyhow = { version = "1.0.94", default-features = false } +anyhow = { version = "1.0.95", default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } buddy_system_allocator = "0.11.0" hyperlight-common = { workspace = true } diff --git a/src/hyperlight_host/Cargo.toml b/src/hyperlight_host/Cargo.toml index 5115bdf0a..fc18566ad 100644 --- a/src/hyperlight_host/Cargo.toml +++ b/src/hyperlight_host/Cargo.toml @@ -109,7 +109,7 @@ windows = { version = "0.59", features = [ proc-maps = "0.4.0" [build-dependencies] -anyhow = { version = "1.0.94" } +anyhow = { version = "1.0.95" } cfg_aliases = "0.2.1" built = { version = "0.7.0", features = ["chrono", "git2"] } diff --git a/src/hyperlight_host/src/error.rs b/src/hyperlight_host/src/error.rs index 3c0a84d52..f6bed4f90 100644 --- a/src/hyperlight_host/src/error.rs +++ b/src/hyperlight_host/src/error.rs @@ -55,7 +55,7 @@ pub enum HyperlightError { BoundsCheckFailed(u64, usize), /// Checked Add Overflow - #[error("Couldnt add offset to base address. Offset: {0}, Base Address: {1}")] + #[error("Couldn't add offset to base address. Offset: {0}, Base Address: {1}")] CheckedAddOverflow(u64, u64), /// Cross beam channel receive error diff --git a/src/hyperlight_host/src/func/guest_dispatch.rs b/src/hyperlight_host/src/func/guest_dispatch.rs index a1762699d..7b6e3b536 100644 --- a/src/hyperlight_host/src/func/guest_dispatch.rs +++ b/src/hyperlight_host/src/func/guest_dispatch.rs @@ -384,7 +384,7 @@ mod tests { fn terminate_vcpu_after_1000ms() -> Result<()> { // This test relies upon a Hypervisor being present so for now - // we will skip it if there isnt one. + // we will skip it if there isn't one. if !is_hypervisor_present() { println!("Skipping terminate_vcpu_after_1000ms because no hypervisor is present"); return Ok(()); @@ -433,7 +433,7 @@ mod tests { #[test] fn test_terminate_vcpu_calling_host_spinning_cpu() { // This test relies upon a Hypervisor being present so for now - // we will skip it if there isnt one. + // we will skip it if there isn't one. if !is_hypervisor_present() { println!("Skipping test_call_guest_function_by_name because no hypervisor is present"); return; diff --git a/src/hyperlight_host/src/hypervisor/windows_hypervisor_platform.rs b/src/hyperlight_host/src/hypervisor/windows_hypervisor_platform.rs index 578687569..18eda5f23 100644 --- a/src/hyperlight_host/src/hypervisor/windows_hypervisor_platform.rs +++ b/src/hyperlight_host/src/hypervisor/windows_hypervisor_platform.rs @@ -99,7 +99,7 @@ impl VMPartition { let whvmapgparange2_func = unsafe { match try_load_whv_map_gpa_range2() { Ok(func) => func, - Err(e) => return Err(new_error!("Cant find API: {}", e)), + Err(e) => return Err(new_error!("Can't find API: {}", e)), } }; diff --git a/src/hyperlight_host/src/mem/pe/pe_info.rs b/src/hyperlight_host/src/mem/pe/pe_info.rs index 97a99bfaa..ae8ea3ed9 100644 --- a/src/hyperlight_host/src/mem/pe/pe_info.rs +++ b/src/hyperlight_host/src/mem/pe/pe_info.rs @@ -360,7 +360,7 @@ mod tests { load_address: 5368709120, num_relocations: (900..1200).collect(), // range of possible # of relocations - // (hardware dependant) + // (hardware dependent) } } else { PEFileTest { diff --git a/src/hyperlight_host/src/sandbox/run_options.rs b/src/hyperlight_host/src/sandbox/run_options.rs index 29a7c5ddb..6c5f6904b 100644 --- a/src/hyperlight_host/src/sandbox/run_options.rs +++ b/src/hyperlight_host/src/sandbox/run_options.rs @@ -17,7 +17,7 @@ limitations under the License. use tracing::{instrument, Span}; /// Configuration options for setting up a new `UninitializedSandbox` and -/// subsequent inititialized sandboxes, including `MultiUseSandbox`. +/// subsequent initialized sandboxes, including `MultiUseSandbox`. /// /// A `SandboxRunOptions` instance must be created with either in-process /// or in-hypervisor execution mode, and then can optionally be augmented diff --git a/src/hyperlight_testing/Cargo.toml b/src/hyperlight_testing/Cargo.toml index 37fcaf697..a0f8eed44 100644 --- a/src/hyperlight_testing/Cargo.toml +++ b/src/hyperlight_testing/Cargo.toml @@ -3,7 +3,7 @@ name = "hyperlight-testing" edition = "2021" [dependencies] -anyhow = "1.0.94" +anyhow = "1.0.95" log = "0.4" once_cell = "1.19" tracing = { version = "0.1.41", features = ["log"] }