Skip to content
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

Fix miscompilation by realizing that struct literal construction potentially requires cleanup #246

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

robojumper
Copy link
Contributor

Fixes #200. I shortened the test case for brevity.

@udoprog
Copy link
Collaborator

udoprog commented Jan 15, 2021

Brilliant! Thank you very much!

@udoprog udoprog merged commit 1f2109f into rune-rs:main Jan 15, 2021
@robojumper robojumper deleted the 200-struct-literal-scope branch January 15, 2021 13:42
@udoprog udoprog added bug Something isn't working changelog Issue has been added to the changelog labels Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working changelog Issue has been added to the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using ? can lead to stack corruption in non-linear code.
2 participants