Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions worker-build/src/emscripten.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ pub const LINK_ARGS: &[&str] = &[
// emcc strips the producers section by default; keep the language and
// processed-by entries the toolchain records in it.
"-sEMIT_PRODUCERS_SECTION=1",
// Leave the glue unminified, so the source map of the bundled Worker
// points at its real lines instead of one minified line.
"--minify=0",
];

pub const EMCC_CFLAGS: &[&str] = &["-fwasm-exceptions", "-sWASM_LEGACY_EXCEPTIONS=0"];
Expand Down
Loading