Skip to content

perf: use panic=abort in release builds - #34280

Merged
nathanwhit merged 2 commits into
denoland:mainfrom
nathanwhit:panic-abort-release
May 21, 2026
Merged

nathanwhit merged 2 commits into
denoland:mainfrom
nathanwhit:panic-abort-release

Conversation

@nathanwhit

Copy link
Copy Markdown
Member

We already have our own panic hook and strip the binaries, this shaves off another roughly 10MB from the release binaries. I don't think we have any cases where we rely on destructors being run, and we don't catch unwinds anywhere, so I believe this is safe.

@nathanwhit
nathanwhit merged commit 1ebc47a into denoland:main May 21, 2026
268 of 270 checks passed
littledivy pushed a commit to crowlKats/deno that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants