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

Increase recursion limit #115

Closed

Conversation

chrysn
Copy link
Contributor

@chrysn chrysn commented Apr 22, 2020

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
Copy link
Contributor Author

chrysn commented Apr 22, 2020

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

@bodil
Copy link
Owner

bodil commented Apr 24, 2020

Closing in favour of #117.

@bodil bodil closed this Apr 24, 2020
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.

Fails to compile with current nightly
2 participants