Skip to content

Commit

Permalink
Merge pull request #265 from AntelopeIO/export_wasm_memory
Browse files Browse the repository at this point in the history
export wasm memory
  • Loading branch information
spoonincode authored Jan 12, 2024
2 parents 6cda379 + 3b07180 commit b9e8265
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/include/compiler_options.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ static void GetLdDefaults(std::vector<std::string>& ldopts) {
else
ldopts.insert(ldopts.end(), { "-e", "apply" });
ldopts.insert(ldopts.end(), { "--only-export", "apply:function" });
ldopts.insert(ldopts.end(), { "--only-export", "*:memory" });
}
ldopts.emplace_back("-lc++");
ldopts.emplace_back("-lc");
Expand Down

0 comments on commit b9e8265

Please sign in to comment.