forked from bytecodealliance/wasm-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove a copy being made of wasm modules (bytecodealliance#1877)
* Remove a copy being made of wasm modules This commit removes a copy performed when the input file is WebAssembly when parsing input files on the CLI. This happened due to the implementation of `Cow::to_owned` but isn't necessary since we have the original owned copy around to return that instead. * Review comments
- Loading branch information
1 parent
6bd500d
commit 9ac69f3
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters