Skip to content

Commit 179eff8

Browse files
authored
Change of Error Code for Exception enum TryFrom<u8> impl (#869)
Signed-off-by: Shailesh Vashishth <shavashishth@gmail.com>
1 parent 3ad7096 commit 179eff8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/hyperlight_common/src/outb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ impl TryFrom<u8> for Exception {
7777
19 => SIMDFloatingPointException,
7878
20 => VirtualizationException,
7979
30 => SecurityException,
80-
0x7F => NoException,
80+
0xFF => NoException,
8181
_ => return Err(anyhow!("Unknown exception code: {:#x}", value)),
8282
};
8383

src/tests/rust_guests/callbackguest/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tests/rust_guests/simpleguest/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)