wasm_
gen
0.1.4
Structs
Element
Func
FuncCode
FuncExport
FuncType
Table
WasmCodeGen
Enums
ExportType
Imm
ImportType
TableElemType
Constants
BLOCK
BR
BR_IF
CALL
CALL_INDIRECT
CODE_SECTION
CUSTOM_SECTION
DATA_SECTION
DROP
ELEMENT_SECTION
ELSE
END
EXPORT_SECTION
F32
F32_CONST
F32_DIV
F64
F64_ADD
F64_CONST
F64_CONVERT_I32_S
F64_DIV
F64_GE
F64_LE
F64_MUL
F64_SUB
FUNCTION_SECTION
GLOBAL_GET
GLOBAL_SECTION
GLOBAL_SET
HEADER_MAGIC
HEADER_VERSION
I32
I32_ADD
I32_AND
I32_CONST
I32_DIV_S
I32_EQ
I32_EQZ
I32_GE_S
I32_GT_S
I32_GT_U
I32_LE_S
I32_LE_U
I32_LOAD
I32_LOAD8_U
I32_LT_S
I32_LT_U
I32_MUL
I32_NE
I32_OR
I32_REM_S
I32_SHL
I32_SHR_U
I32_STORE
I32_STORE8
I32_SUB
I32_TRUNC_F32_S
I32_TRUNC_F64_S
I64
I64_CONST
IF
IMPORT_SECTION
LOCAL_GET
LOCAL_SET
LOCAL_TEE
LOOP
MEMORY_SECTION
NONE
RETURN
START_SECTION
TABLE_SECTION
TYPE_SECTION
UNREACHABLE
Functions
write_custom_section
wasm_gen
Function
write_custom_section
Copy item path
Settings
Help
Summary
Source
pub fn write_custom_section(bytes: &mut
Vec
<
u8
>, name: &
str
, content: &[
u8
])