Skip to content

internal: Augment panic context when resolving path #10095

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

Merged
merged 1 commit into from
Aug 31, 2021
Merged

internal: Augment panic context when resolving path #10095

merged 1 commit into from
Aug 31, 2021

Conversation

jonas-schievink
Copy link
Contributor

Should help with debugging #10084 and similar issues.

Might have a perf impact since the string is created on every function call.

@matklad
Copy link
Member

matklad commented Aug 31, 2021

I probably wouldn't worry about perf. If that's an issue, we need to add some buffer re-use to panic context API

@jonas-schievink
Copy link
Contributor Author

bors r+

bors bot added a commit that referenced this pull request Aug 31, 2021
10095: internal: Augment panic context when resolving path r=jonas-schievink a=jonas-schievink

Should help with debugging #10084 and similar issues.

Might have a perf impact since the string is created on every function call.

Co-authored-by: Jonas Schievink <[email protected]>
@jonas-schievink
Copy link
Contributor Author

bors retry

@bors
Copy link
Contributor

bors bot commented Aug 31, 2021

@bors bors bot merged commit aa1cdc0 into rust-lang:master Aug 31, 2021
@jonas-schievink jonas-schievink deleted the resolve-path-panic-context branch August 31, 2021 13:37
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