Skip to content

refactor(cli): use rolldown's disable_panic_hook feature for panic hook#1330

Merged
fengmk2 merged 2 commits intomainfrom
use-rolldown-disable_panic_hook
Apr 9, 2026
Merged

refactor(cli): use rolldown's disable_panic_hook feature for panic hook#1330
fengmk2 merged 2 commits intomainfrom
use-rolldown-disable_panic_hook

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Apr 7, 2026

Instead of the fragile double take_hook() workaround that removed
rolldown's panic hook at runtime, use rolldown's new disable_panic_hook
compile-time feature to prevent it from being installed in the first place.
Also moves the panic hook setup into #[module_init] for cleaner
initialization.

Closes #1285

…hook

Instead of the fragile double `take_hook()` workaround that removed
rolldown's panic hook at runtime, use rolldown's new `disable_panic_hook`
compile-time feature to prevent it from being installed in the first place.
Also moves the panic hook setup into `#[module_init]` for cleaner
initialization.

Closes #1285
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 7, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit e95028b
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69d79359190a260008e53393

Copy link
Copy Markdown
Member Author

fengmk2 commented Apr 7, 2026


How to use the Graphite Merge Queue

Add the label auto-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fengmk2

This comment was marked as resolved.

@fengmk2
Copy link
Copy Markdown
Member Author

fengmk2 commented Apr 9, 2026

#1352

@fengmk2 fengmk2 marked this pull request as ready for review April 9, 2026 11:57
@fengmk2 fengmk2 self-assigned this Apr 9, 2026
@fengmk2 fengmk2 merged commit 31e90b9 into main Apr 9, 2026
37 checks passed
@fengmk2 fengmk2 deleted the use-rolldown-disable_panic_hook branch April 9, 2026 13:36
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.

Any panics in viteplus has the panic message generated by Rolldown

2 participants