Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Use --export-table from the latest LLD [2] (#325)
Browse files Browse the repository at this point in the history
* It turned out that "table" was renamed.

To `__indirect_function_table`.

* Rebuild binaries.
  • Loading branch information
pepyakin authored and arkpar committed Jul 15, 2018
1 parent a9fe56c commit cae3c20
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 1 deletion.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion substrate/executor/src/wasm_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ impl WasmExecutor {
.clone();
let table: Option<TableRef> = intermediate_instance
.not_started_instance()
.export_by_name("table")
.export_by_name("__indirect_function_table")
.and_then(|e| e.as_table().cloned());
let mut fec = FunctionExecutor::new(memory.clone(), self.heap_pages, table, ext)?;

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit cae3c20

Please sign in to comment.