Skip to content

Commit 652f353

Browse files
committed
Fix typos
Signed-off-by: Simon Davies <[email protected]>
1 parent 9b1851b commit 652f353

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hyperlight_host/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fn main() -> Result<()> {
2424
println!("cargo:rerun-if-changed=build.rs");
2525

2626
// Windows requires the hyperlight_surrogate.exe binary to be next to the executable running
27-
// hyperlight. We are using rust-ebmed to include the binary in the hyperlight-host library
27+
// hyperlight. We are using rust-embed to include the binary in the hyperlight-host library
2828
// and then extracting it at runtime why the surrogate process manager starts and needed pass
2929
// the location of the binary to the rust build.
3030
#[cfg(target_os = "windows")]

src/hyperlight_host/src/hypervisor/surrogate_process_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ impl SurrogateProcessManager {
151151

152152
// Allocate the memory by creating a view over the memory mapped file
153153

154-
// Use MapViewOfFile2 to map memoy into the surrogate process, the MapViewOfFile2 API is implemented in as an inline function in a windows header file
154+
// Use MapViewOfFile2 to map memory into the surrogate process, the MapViewOfFile2 API is implemented in as an inline function in a windows header file
155155
// (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
156156
// MapViewOfFile2 which does not exist in the rust crate (see https://github.com/microsoft/windows-rs/issues/2595)
157157
let allocated_address = unsafe {

0 commit comments

Comments
 (0)