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

Fix compilation under rc feature #1359

Merged
merged 1 commit into from Aug 21, 2018
Merged

Fix compilation under rc feature #1359

merged 1 commit into from Aug 21, 2018

Conversation

Pratyush
Copy link
Contributor

Currently compilation fails when enabling both the alloc and rc features because of an update to liballoc. A previous PR (#1335) to fix this didn't catch that Arc now lives under alloc::sync. This is a quick fix =)

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit befc7ed into serde-rs:master Aug 21, 2018
@dtolnay
Copy link
Member

dtolnay commented Aug 21, 2018

I published 1.0.72 with this fix.

@Pratyush
Copy link
Contributor Author

Great, thanks! I was wondering why this slipped past CI, and it seems like travis.sh doesn't check "alloc + rc" anywhere. To fix this, would I just add a line to that effect here:

channel build --no-default-features --features alloc
?

@dtolnay
Copy link
Member

dtolnay commented Aug 21, 2018

Yes that would be a good idea. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants