We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b4d873 commit b1f23e8Copy full SHA for b1f23e8
src/tests/rust_guests/callbackguest/src/main.rs
@@ -161,7 +161,7 @@ fn call_host_spin(_: &FunctionCall) -> Result<Vec<u8>> {
161
Ok(get_flatbuffer_result(()))
162
}
163
164
-#[no_mangle]
+#[unsafe(no_mangle)]
165
pub extern "C" fn hyperlight_main() {
166
let print_output_def = GuestFunctionDefinition::new(
167
"PrintOutput".to_string(),
@@ -240,7 +240,7 @@ pub extern "C" fn hyperlight_main() {
240
register_function(call_host_spin_def);
241
242
243
244
pub fn guest_dispatch_function(function_call: FunctionCall) -> Result<Vec<u8>> {
245
Err(HyperlightGuestError::new(
246
ErrorCode::GuestFunctionNotFound,
0 commit comments