Skip to content

Commit

Permalink
add debug log for runWasmOpt
Browse files Browse the repository at this point in the history
  • Loading branch information
lopert committed Dec 12, 2024
1 parent bc90b44 commit bbe0629
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/app/src/cli/services/function/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ export async function runWasmOpt(modulePath: string) {
modulePath,
]

outputDebug(`Wasm binary: ${wasmOptBinary().name}`)
outputDebug('Optimizing this wasm binary using wasm-opt.')
await exec(command, args, {cwd: wasmOptDir})
}

Expand Down

0 comments on commit bbe0629

Please sign in to comment.