Skip to content

Fix compilation under rc feature#1359

Merged
dtolnay merged 1 commit intoserde-rs:masterfrom
Pratyush:master
Aug 21, 2018
Merged

Fix compilation under rc feature#1359
dtolnay merged 1 commit intoserde-rs:masterfrom
Pratyush:master

Conversation

@Pratyush
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

dtolnay commented Aug 21, 2018

I published 1.0.72 with this fix.

@Pratyush
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants