wasm-pack icon indicating copy to clipboard operation
wasm-pack copied to clipboard

[Question] Can I export function table with custom name?

Open rsta79 opened this issue 2 years ago • 0 comments

;; Compiling Profile
;; target: wasm32-unknown-unknown
;; rustcflags: -C --export-table
;; target/wasm32-unknown-unknown/debug/table_test.wasm ->  table_test.wat

(table $__indirect_function_table (export "__indirect_function_table") 2 2 funcref)

compiler export function table as name __indirect_function_table by default, can I custom the export function table name?

rsta79 avatar Apr 21 '22 21:04 rsta79