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
2 changes: 1 addition & 1 deletion .github/workflows/ValidatePullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/hyperlight_host/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading