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 13, 2024
1 parent f47844a commit 219b31c
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 @@ -206,6 +206,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 219b31c

Please sign in to comment.