Skip to content

Unwind with specific type when encountering an unexpected cycle #856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented May 9, 2025

Closes #704

Copy link

netlify bot commented May 9, 2025

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit 0690fcc
🔍 Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/681db3ae95ac500008a76bb4

Copy link

codspeed-hq bot commented May 9, 2025

CodSpeed Performance Report

Merging #856 will not alter performance

Comparing Veykril:veykril/push-svwrmptylysy (0690fcc) with master (13a2bd7)

Summary

✅ 12 untouched benchmarks

panic::resume_unwind(Box::new(Self(crate::Backtrace::capture())));
}

/// Runs `f`, and catches any salsa cancellation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Comment needs updating (and the code as well) because it doesn't catch cancellation

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.

Panic with predictable value if there is no initial fn in cycle
3 participants