Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Increase recursion limit - #115

Closed
chrysn wants to merge 1 commit into
bodil:masterfrom
chrysn-pull-requests:increase-recursion-depth
Closed

Increase recursion limit#115
chrysn wants to merge 1 commit into
bodil:masterfrom
chrysn-pull-requests:increase-recursion-depth

Conversation

@chrysn

@chrysn chrysn commented Apr 22, 2020

Copy link
Copy Markdown
Contributor

Changes1 to the Rust standard library are affecting2 the nesting
size of types to the point where typed-html can not be built on nightly.

This resolves the issue by increasing the acceptable recursion depth for
the crate.

Closes: #112


Whether this is a cautionary does-no-harm change or an actual fix for an issue with newer version depends on how the underlying issue2 is resolved on Rust side. Possibly it's considered acceptable breakage (given overrides to the recursion limits are easy to fix, inherently depend on Rust compiler internals, and that the default is good enough for most cases), and then this is the mitigation to be applied in this crate.

Changes[1] to the Rust standard library are affecting[2] the nesting
size of types to the point where typed-html can not be built on nightly.

This resolves the issue by increasing the acceptable recursion depth for
the crate.

[1]: rust-lang/rust#70896
[2]: rust-lang/rust#71359

Closes: bodil#112
@chrysn

chrysn commented Apr 22, 2020

Copy link
Copy Markdown
Contributor Author

The CI failures so far seem all unrelated to the changes themselves.

@bodil

bodil commented Apr 24, 2020

Copy link
Copy Markdown
Owner

Closing in favour of #117.

@bodil bodil closed this Apr 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fails to compile with current nightly

2 participants