Skip to content

Respect error return trace#19140

Closed
davidgmbb wants to merge 1 commit intoziglang:masterfrom
davidgmbb:respect-error-return-trace
Closed

Respect error return trace#19140
davidgmbb wants to merge 1 commit intoziglang:masterfrom
davidgmbb:respect-error-return-trace

Conversation

@davidgmbb
Copy link
Contributor

Without this patch, the stack trace code would still be pulled to the binary, increasing the binary size by a huge amount and thus increasing compilation time. Now the user's choice is respected and no stack trace code is being pulled when the user choses not to have error traces

Copy link
Member

@andrewrk andrewrk left a comment

Choose a reason for hiding this comment

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

std.os.unexpected_error_tracing has nothing to do with whether error return tracing is enabled.

Instead I suggest to make this configurable via std.Options.

@davidgmbb davidgmbb force-pushed the respect-error-return-trace branch from d28baf0 to 8ea51bf Compare March 2, 2024 13:49
Without this patch, the stack trace code would still be pulled to the
binary, increasing the binary size by a huge amount and thus increasing
compilation time. Now the user's choice is respected and no stack trace
code is being pulled when the user choses not to have unexpected error
traces
@davidgmbb davidgmbb force-pushed the respect-error-return-trace branch from 8ea51bf to f222056 Compare March 2, 2024 13:51
@andrewrk
Copy link
Member

andrewrk commented May 9, 2024

I'm sorry, I didn't review this in time, and now it has bitrotted. Furthermore, so many pull requests have stacked up that I can't keep up and I am therefore declaring Pull Request Bankruptcy and closing old PRs that now have conflicts with master branch.

If you want to reroll, you are by all means welcome to revisit this changeset with respect to the current state of master branch, and there's a decent chance your patch will be reviewed the second time around.

Either way, I'm closing this now, otherwise the PR queue will continue to grow indefinitely.

@andrewrk andrewrk closed this May 9, 2024
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.

3 participants