Skip to content

Commit a9a1e5d

Browse files
committed
Static + no printing
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent afd79df commit a9a1e5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hyperlight_host/src/hypervisor/regs/special_regs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ impl From<&CommonSpecialRegisters> for kvm_sregs {
150150
#[cfg(target_os = "windows")]
151151
pub(crate) const WHP_SREGS_NAMES_LEN: usize = 17;
152152
#[cfg(target_os = "windows")]
153-
pub(crate) const WHP_SREGS_NAMES: [WHV_REGISTER_NAME; WHP_SREGS_NAMES_LEN] = [
153+
pub(crate) static WHP_SREGS_NAMES: [WHV_REGISTER_NAME; WHP_SREGS_NAMES_LEN] = [
154154
WHvX64RegisterCs,
155155
WHvX64RegisterDs,
156156
WHvX64RegisterEs,

src/hyperlight_host/src/hypervisor/whp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ impl Vm for WhpVm {
177177

178178
// println!("partition: {:?}", self.partition);
179179
// println!("whp_sregs_names: {:?}", WHP_SREGS_NAMES);
180-
println!("ptr : {:?}", WHP_SREGS_NAMES.as_ptr());
180+
// println!("ptr : {:?}", WHP_SREGS_NAMES.as_ptr());
181181
// println!("first value: {:?}", unsafe {
182182
// WHP_SREGS_NAMES.as_ptr().read()
183183
// });

0 commit comments

Comments
 (0)