Skip to content

Commit a4fe858

Browse files
committed
use from bytes
1 parent 0677aff commit a4fe858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/loader/loader_defs/src/shim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ pub struct PersistedStateHeader {
270270

271271
impl PersistedStateHeader {
272272
/// "OHCLPHDR" in ASCII.
273-
pub const MAGIC: u64 = 0x4F48434C50484452;
273+
pub const MAGIC: u64 = u64::from_le_bytes(*b"OHCLPHDR");
274274
}
275275

276276
/// A local newtype wrapper that represents a [`igvm_defs::MemoryMapEntryType`].

0 commit comments

Comments
 (0)