Skip to content

std compiler error fixes #24219

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 11 commits into
base: master
Choose a base branch
from
Open

Conversation

PauloCampana
Copy link
Contributor

@PauloCampana PauloCampana commented Jun 18, 2025

Closes #20505
progress #21094
+ some misc fixes not tracked by other issues

StackIterator struct depends on the field `last_error: ?UnwindError`
UnwindError depends on the error union return type of next_unwind function
the return type is retrieved using `@typeInfo(@typeof(next_unwind))` thus it depends on the type info of the function such as its arguments: StackIterator, the struct then depends on itself

The fix used here changes next_unwind arguments to receive only the necessary fields instead of the whole StackIterator struct
used to be an union or either Pdb or Dwarf, now it's 2 optional fields for each
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.

Multiple compiler errors in std
1 participant