Skip to content

Worker.js? #3373

Answered by danbev
tekram asked this question in Q&A
Aug 13, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

By main does this mean the single file generated bin\libstream.js

Yes, this should be the case. For example, I'm currently using Emscripten version:

$ emcc --version
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 4.0.12 (6f625bd62ee64f4f8cd11476774741b961e4a2d5)
Copyright (C) 2025 the Emscripten authors (see AUTHORS.txt)
This is free and open source software under the MIT license.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And in the build directory that is created for an Emscripten build of whisper.cpp:

$ ls build-em/bin/
bench.wasm  command.wasm  libbench.js  libcommand.js  libmain.js  libstream.js  stream.wasm  whis…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tekram
Comment options

Answer selected by tekram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants