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

Force indexmap std support #1440

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Force indexmap std support #1440

merged 1 commit into from
Apr 3, 2023

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Apr 3, 2023

indexmap 1.9.3 (latest release) and older auto-detect the use of std by testing whether the current toolchain is able to compile a probe file containing extern crate std;. If it fails, IndexMap does not default the third generic parameter, causing builds of syn-codegen to fail.

In indexmap master, this is fixed by defaulting the std feature.

@dtolnay dtolnay merged commit fe5e162 into master Apr 3, 2023
@dtolnay dtolnay deleted the indexmap branch April 3, 2023 05:36
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.

1 participant