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

Bump recursion limit to 20 #2812

Merged
merged 1 commit into from
Jun 30, 2021
Merged

Conversation

jonhoo
Copy link
Contributor

@jonhoo jonhoo commented Jun 30, 2021

Infinite recursion will conveniently hit any limit, so will still be
detected. But non-infinite cases can hit >5 without too much trouble
when custom build scripts invoke cargo, or when custom toolchains
themselves call into cargo (or both at the same time), so let's raise
the bar slightly.

See also https://discord.com/channels/442252698964721669/463480252723888159/859585370689896460

Infinite recursion will conveniently hit any limit, so will still be
detected. But non-infinite cases can hit >5 without too much trouble
when custom build scripts invoke cargo, or when custom toolchains
themselves call into cargo (or both at the same time), so let's raise
the bar slightly.

See also https://discord.com/channels/442252698964721669/463480252723888159/859585370689896460
@rbtcollins rbtcollins merged commit c30ac62 into rust-lang:master Jun 30, 2021
@jonhoo jonhoo deleted the how-infinite branch June 30, 2021 20:35
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