Skip to content

Commit 5657088

Browse files
committed
address PR feedback
Signed-off-by: Jorge Prendes <[email protected]>
1 parent 19e1057 commit 5657088

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn main() -> hyperlight_host::Result<()> {
6161
// the host can call it
6262
let result: i32 = multi_use_sandbox.call_guest_function_by_name(
6363
"PrintOutput",
64-
(message),
64+
message,
6565
);
6666

6767
assert!(result.is_ok());

src/hyperlight_host/src/sandbox/initialized_multi_use.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ impl MultiUseSandbox {
166166
Output::from_value(ret?)
167167
}
168168

169-
/// This function is kept here for fuzz testing
170-
#[doc(hidden)]
169+
/// This function is kept here for fuzz testing the parameter and return types
170+
#[cfg(feature = "fuzzing")]
171171
#[instrument(err(Debug), skip(self, args), parent = Span::current())]
172172
pub fn call_type_erased_guest_function_by_name(
173173
&mut self,

0 commit comments

Comments
 (0)