Skip to content

codegen: tests: Put each individual field test in a function. #2219

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 4 commits into from
Jun 6, 2022

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Jun 6, 2022

So that rustc doesn't take too much stack space without optimizations.

Fixes #2218

@emilio emilio force-pushed the field-tests-stack-overflow branch from 7fe8e55 to 0085c05 Compare June 6, 2022 11:14
@emilio emilio force-pushed the field-tests-stack-overflow branch from 0085c05 to 04a1629 Compare June 6, 2022 11:22
@emilio emilio merged commit 9ca5f85 into master Jun 6, 2022
@emilio emilio deleted the field-tests-stack-overflow branch June 6, 2022 11:22
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.

Struct with too many fields causes stack overflow in tests
1 participant