Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/wasmtime/crates/lind-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ pub fn add_to_linker<
"lind_debug_str",
move |caller: Caller<'_, T>, ptr: i32| -> i32 {
let mem_base = get_memory_base(&caller);
if let Ok(msg) = get_cstr(mem_base + ptr as u64) {
if let Ok(msg) = get_cstr(mem_base + (ptr as u32) as u64) {
eprintln!("[LIND DEBUG STR]: {}", msg);
}
ptr // Return the pointer to the WASM stack
Expand Down