SR
Size: a a a
SR
НС
MP
M
M
MP
M
DB
YJ
f
#[cfg(target_arch = "wasm32")]
#[link(wasm_import_module = "host")]
extern "C" {
// Writes a byte string of size bytes that starts from ptr to a logger
#[link_name = "log_utf8_string"]
fn log_utf8_string_impl(level: i32, target: i64, msg_ptr: i32, msg_size: i32);
}
(type $t26 (func (param i32 i64 i32 i32)))
(import "host" "log_utf8_string" (func $host.log_utf8_string (type $t26)))
TypeError: wasm function signature contains illegal type
で
で
#[cfg(target_arch = "wasm32")]
#[link(wasm_import_module = "host")]
extern "C" {
// Writes a byte string of size bytes that starts from ptr to a logger
#[link_name = "log_utf8_string"]
fn log_utf8_string_impl(level: i32, target: i64, msg_ptr: i32, msg_size: i32);
}
(type $t26 (func (param i32 i64 i32 i32)))
(import "host" "log_utf8_string" (func $host.log_utf8_string (type $t26)))
TypeError: wasm function signature contains illegal type
AF
#[cfg(target_arch = "wasm32")]
#[link(wasm_import_module = "host")]
extern "C" {
// Writes a byte string of size bytes that starts from ptr to a logger
#[link_name = "log_utf8_string"]
fn log_utf8_string_impl(level: i32, target: i64, msg_ptr: i32, msg_size: i32);
}
(type $t26 (func (param i32 i64 i32 i32)))
(import "host" "log_utf8_string" (func $host.log_utf8_string (type $t26)))
TypeError: wasm function signature contains illegal type
f
type LogImport = {
log_utf8_string: (level: any, target: any, offset: any, size: any) => void
}
f
AF
type LogImport = {
log_utf8_string: (level: any, target: any, offset: any, size: any) => void
}
f
AF
AF
AF