diff --git a/.github/workflows/ValidatePullRequest.yml b/.github/workflows/ValidatePullRequest.yml index 65b387cac..e4265686f 100644 --- a/.github/workflows/ValidatePullRequest.yml +++ b/.github/workflows/ValidatePullRequest.yml @@ -74,7 +74,7 @@ jobs: steps: - uses: actions/checkout@v5 - name: Spell Check Repo - uses: crate-ci/typos@v1.38.1 + uses: crate-ci/typos@v1.39.0 license-headers: name: check license headers diff --git a/src/hyperlight_host/build.rs b/src/hyperlight_host/build.rs index 414f784b4..f506b0cde 100644 --- a/src/hyperlight_host/build.rs +++ b/src/hyperlight_host/build.rs @@ -24,7 +24,7 @@ fn main() -> Result<()> { println!("cargo:rerun-if-changed=build.rs"); // Windows requires the hyperlight_surrogate.exe binary to be next to the executable running - // hyperlight. We are using rust-ebmed to include the binary in the hyperlight-host library + // hyperlight. We are using rust-embed to include the binary in the hyperlight-host library // and then extracting it at runtime why the surrogate process manager starts and needed pass // the location of the binary to the rust build. #[cfg(target_os = "windows")] diff --git a/src/hyperlight_host/src/hypervisor/surrogate_process_manager.rs b/src/hyperlight_host/src/hypervisor/surrogate_process_manager.rs index f805e94ad..c123eca1e 100644 --- a/src/hyperlight_host/src/hypervisor/surrogate_process_manager.rs +++ b/src/hyperlight_host/src/hypervisor/surrogate_process_manager.rs @@ -151,7 +151,7 @@ impl SurrogateProcessManager { // Allocate the memory by creating a view over the memory mapped file - // Use MapViewOfFile2 to map memoy into the surrogate process, the MapViewOfFile2 API is implemented in as an inline function in a windows header file + // Use MapViewOfFile2 to map memory into the surrogate process, the MapViewOfFile2 API is implemented in as an inline function in a windows header file // (see https://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-mapviewoffile2#remarks) so we use the same API it uses in the header file here instead of // MapViewOfFile2 which does not exist in the rust crate (see https://github.com/microsoft/windows-rs/issues/2595) let allocated_address = unsafe {