Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #134 from sjrd/separate-ids-from-names
Browse files Browse the repository at this point in the history
Separate IDs of Wasm things from their names.
  • Loading branch information
sjrd authored May 21, 2024
2 parents cb49b3a + 6344348 commit fb3bcb2
Show file tree
Hide file tree
Showing 20 changed files with 1,797 additions and 1,495 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ final class WebAssemblyLinkerBackend(

def maybeWriteWatFile(): Future[Unit] = {
if (linkerConfig.prettyPrint) {
val textOutput = new TextWriter().write(wasmModule)
val textOutput = new TextWriter(wasmModule).write()
val textOutputBytes = textOutput.getBytes(StandardCharsets.UTF_8)
outputImpl.writeFull(watFileName, ByteBuffer.wrap(textOutputBytes))
} else {
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit fb3bcb2

Please sign in to comment.